Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp430163lqb; Tue, 16 Apr 2024 23:48:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4Dqv7q/k+LROc7uW/O3g0R/fekpmbNdF9LVB/Adh44yPUN5FJv0BV45lyTAG75MvAwlr6eoDZEcsGdMakeLoiq7sZ8aYxsB3XES2+5g== X-Google-Smtp-Source: AGHT+IEJShi9E6bfRLLLdTFw4jGmOWAG5MxGuB6XGJlzQtRGeLPFDqkC0FmxQNlDEnl8F5iy2NoO X-Received: by 2002:a0c:e586:0:b0:69d:b424:92e6 with SMTP id t6-20020a0ce586000000b0069db42492e6mr6677206qvm.14.1713336519362; Tue, 16 Apr 2024 23:48:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713336519; cv=pass; d=google.com; s=arc-20160816; b=MzAK9aDZyf/T3a2+UXnvwn/+SgaJT6D/ZSma7t9O+Dsh38IKQKiXkEgsEJhh8ad8w7 gLUPLk01AfXGYhE7L6URtxtLm3APDGw9Ne1GMPszUsm1Z1GMVVyGEDPyJU3pjEhEfFBt F4vqFpq1hKSnCITBS796lez2hhKc51L/gcYQ+tZcKtaoieZE6hPfRgEorBlZNggl+68P OLXByNlmVxFxeA//pp0O8S7lXXUKyBh9+yjI+4zQN3cLKbnNcm8RLlytXz4pNIE9Gl0U sY7FsBgUU+TAzbVYqsBaw24Gy0wtxdjNcwYTPby+oa+F7k/hypF26cv0e1U/CU7OLMbx PNvQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=3jMyrtLuoOpDpEvi0WCfKu9ES50E4vtSxqJKwO35WA8=; fh=MYHMex9RtJ9rl7wWABazG5I8YbLVem7wb5c7A89ye8g=; b=kHl8oRneBmVnvRZgC0MYYUDrzzAKhbv6SsKEbsxabW2TEBsVY3jgNI2DTCgLddW0RV 8Kh3pjHEdGnGE1xOnTiu/qs9PLv67GbqEE5IfbpQfNGUnTWW3xpU9Jj5oZZjfsCRuzF9 8bvDtrnPEl4i1bKREKlZCGUZ+EHiNgU/NBfgM7b+mkCnqNxNt5MTZPKZDMBHdq/EPMPZ 6pDEbyPattpms5W+DutgGvXb7KiUt8ZVFv7lv621urF/CGq6Y5a2Dz9v59+SeCTFcXvP 8XskC88azn+XQsK9Csw/j8hNjf5tSJiuQCuz+My50WvUC32DxjWja0eBMAthvKbhk4pv n9sg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6416-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 7-20020a05621420c700b0069eb97cafb0si3922487qve.88.2024.04.16.23.48.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 23:48:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-wireless+bounces-6416-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6416-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id EDC1F1C20A18 for ; Wed, 17 Apr 2024 06:48:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF4912AF0A; Wed, 17 Apr 2024 06:48:36 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 99B7EB653 for ; Wed, 17 Apr 2024 06:48:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713336516; cv=none; b=g9irkHvKALSAkreppZFB/3pMVQOOPKKHAtDs8uB0/fHo1LHOrAEj9Im0npKpprUpC9EH25EVaWb8qyayA2bPJ0GIc2sqQMreoAWL3Xpsh7hfksrZDSKtI9cXfWsbc647h6s/h/zgXcfb1Op5U0N9mmqqDXUpwL+35dOfLq9rs8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713336516; c=relaxed/simple; bh=3jMyrtLuoOpDpEvi0WCfKu9ES50E4vtSxqJKwO35WA8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=VOnFQDAjeBsBAGzSY4OrJKOwUjlQteKCY7qdHG9SP/W9r7qcsmk/At9GE01Ax0KWLuzDhc17nIj/1J8FD9S/b5o12DL5Hc9JPditdcvTBlDV8qwxKZyTdiSOLrADH96v/UeJCMEQ/fk+zTx9TSKlTYMtzPbG6a+sTNming1ZKXs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 43H6m6lV53096366, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 43H6m6lV53096366 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Apr 2024 14:48:06 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 17 Apr 2024 14:48:07 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 17 Apr 2024 14:48:06 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::1a1:9ae3:e313:52e7]) by RTEXMBS04.realtek.com.tw ([fe80::1a1:9ae3:e313:52e7%5]) with mapi id 15.01.2507.035; Wed, 17 Apr 2024 14:48:06 +0800 From: Ping-Ke Shih To: Bitterblue Smith , "linux-wireless@vger.kernel.org" CC: Larry Finger , Stefan Lippers-Hollmann , Christian Hewitt Subject: RE: [PATCH v5 5/6] wifi: rtlwifi: Clean up rtl8192d-common a bit Thread-Topic: [PATCH v5 5/6] wifi: rtlwifi: Clean up rtl8192d-common a bit Thread-Index: AQHaj3OR2Cu1t3yVw02tbAbaTVD7B7FrxRgQ Date: Wed, 17 Apr 2024 06:48:06 +0000 Message-ID: <72bd1a7172154d4e9a79678e5151cdf3@realtek.com> References: <561cc9e4-3ddc-40cd-a076-2c14c44eea87@gmail.com> <4e47c56c-4b7f-4ae6-84b9-05f0cac97dac@gmail.com> In-Reply-To: <4e47c56c-4b7f-4ae6-84b9-05f0cac97dac@gmail.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback Qml0dGVyYmx1ZSBTbWl0aCA8cnRsODgyMWNlcmZlMkBnbWFpbC5jb20+IHdyb3RlOg0KDQo+IElt cHJvdmUgcmVhZGFiaWxpdHk6DQo+ICAqIGFkZCBlbXB0eSBsaW5lcw0KPiAgKiB1c2UgYWJzX2Rp ZmYgaW4gcnRsOTJkX2RtX3R4cG93ZXJfdHJhY2tpbmdfY2FsbGJhY2tfdGhlcm1hbG1ldGVyDQo+ ICAqIHJvbGwgdXAgcmVwZWF0ZWQgc3RhdGVtZW50cyBpbnRvIGEgZm9yIGxvb3AgaW4NCj4gICAg cnRsOTJkX2RtX3R4cG93ZXJfdHJhY2tpbmdfY2FsbGJhY2tfdGhlcm1hbG1ldGVyDQo+ICAqIHNo b3J0ZW4gbGluZXMgYnkgcmVwbGFjaW5nIG1hbnkgaW5zdGFuY2VzIG9mICJydGxwcml2LT5kbSIg d2l0aCAiZG0iDQo+ICAgIHBvaW50ZXIgaW4gcnRsOTJkX2RtX3R4cG93ZXJfdHJhY2tpbmdfY2Fs bGJhY2tfdGhlcm1hbG1ldGVyDQo+ICAqIHNvcnQgc29tZSBkZWNsYXJhdGlvbnMgYnkgbGVuZ3Ro DQo+ICAqIHJlZmFjdG9yIF9ydGw5MmRfZ2V0X3R4cG93ZXJfd3JpdGV2YWxfYnlfcmVndWxhdG9y eSBhIGxpdHRsZQ0KPiANCj4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gICAg ICAgZmFsc2VhbG1fY250LT5jbnRfc2Jfc2VhcmNoX2ZhaWwgKw0KPiAtICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIGZhbHNlYWxtX2NudC0+Y250X3Bhcml0eV9mYWlsICsNCj4gLSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICBmYWxzZWFsbV9jbnQtPmNudF9yYXRlX2lsbGVnYWwg Kw0KPiAtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZhbHNlYWxtX2NudC0+Y250X2Ny YzhfZmFpbCArDQo+IC0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmFsc2VhbG1fY250 LT5jbnRfbWNzX2ZhaWwgKw0KPiArICAgICAgIGZhbHNlYWxtX2NudC0+Y250X2FsbCA9IGZhbHNl YWxtX2NudC0+Y250X29mZG1fZmFpbCArDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgZmFsc2VhbG1fY250LT5jbnRfY2NrX2ZhaWw7DQoNCk5vdCBzdXJlIHdoeSB5b3UgZGlkIHRo aXMgY2hhbmdlLg0KDQpbLi4uXQ0KDQo+IEBAIC0yMjgsMzUgKzIzOCwyNSBAQCBzdGF0aWMgdm9p ZCBfcnRsOTJkX2ZpbGxfaDJjX2NvbW1hbmQoc3RydWN0IGllZWU4MDIxMV9odyAqaHcsDQo+ICAg ICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KPiAgICAgICAgICAgICAgICAgfQ0KPiAgICAg ICAgIH0NCj4gKw0KPiAgICAgICAgIHdoaWxlICghYndyaXRlX3N1Y2Nlc3MpIHsNCj4gICAgICAg ICAgICAgICAgIHdhaXRfd3JpdGVoMmNfbGltbWl0LS07DQo+ICAgICAgICAgICAgICAgICBpZiAo d2FpdF93cml0ZWgyY19saW1taXQgPT0gMCkgew0KPiAgICAgICAgICAgICAgICAgICAgICAgICBw cl9lcnIoIldyaXRlIEgyQyBmYWlsIGJlY2F1c2Ugbm8gdHJpZ2dlciBmb3IgRlcgSU5UIVxuIik7 DQo+ICAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KPiAgICAgICAgICAgICAgICAgfQ0K PiArDQo+ICAgICAgICAgICAgICAgICBib3hudW0gPSBydGxoYWwtPmxhc3RfaG1lYm94bnVtOw0K PiAgICAgICAgICAgICAgICAgc3dpdGNoIChib3hudW0pIHsNCj4gLSAgICAgICAgICAgICAgIGNh c2UgMDoNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgYm94X3JlZyA9IFJFR19ITUVCT1hfMDsN Cj4gLSAgICAgICAgICAgICAgICAgICAgICAgYm94X2V4dHJlZyA9IFJFR19ITUVCT1hfRVhUXzA7 DQo+IC0gICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KPiAtICAgICAgICAgICAgICAgY2Fz ZSAxOg0KPiAtICAgICAgICAgICAgICAgICAgICAgICBib3hfcmVnID0gUkVHX0hNRUJPWF8xOw0K PiAtICAgICAgICAgICAgICAgICAgICAgICBib3hfZXh0cmVnID0gUkVHX0hNRUJPWF9FWFRfMTsN Cj4gLSAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+IC0gICAgICAgICAgICAgICBjYXNl IDI6DQo+IC0gICAgICAgICAgICAgICAgICAgICAgIGJveF9yZWcgPSBSRUdfSE1FQk9YXzI7DQo+ IC0gICAgICAgICAgICAgICAgICAgICAgIGJveF9leHRyZWcgPSBSRUdfSE1FQk9YX0VYVF8yOw0K PiAtICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCj4gLSAgICAgICAgICAgICAgIGNhc2Ug MzoNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgYm94X3JlZyA9IFJFR19ITUVCT1hfMzsNCj4g LSAgICAgICAgICAgICAgICAgICAgICAgYm94X2V4dHJlZyA9IFJFR19ITUVCT1hfRVhUXzM7DQo+ ICsgICAgICAgICAgICAgICBjYXNlIDAgLi4uIDM6DQo+ICsgICAgICAgICAgICAgICAgICAgICAg IGJveF9yZWcgPSBSRUdfSE1FQk9YXzAgKyBib3hudW0gKiA0Ow0KPiArICAgICAgICAgICAgICAg ICAgICAgICBib3hfZXh0cmVnID0gUkVHX0hNRUJPWF9FWFRfMCArIGJveG51bSAqIDI7DQoNClNo b3VsZCBiZSAiKiA0IiBhcyB3ZWxsPw0KDQpib3hfZXh0cmVnID0gUkVHX0hNRUJPWF9FWFRfMCAr IGJveG51bSAqIDQ7DQoNCj4gICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ICAgICAg ICAgICAgICAgICBkZWZhdWx0Og0KPiAtICAgICAgICAgICAgICAgICAgICAgICBwcl9lcnIoInN3 aXRjaCBjYXNlICUjeCBub3QgcHJvY2Vzc2VkXG4iLA0KPiAtICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgYm94bnVtKTsNCj4gKyAgICAgICAgICAgICAgICAgICAgICAgcHJfZXJyKCJzd2l0 Y2ggY2FzZSAlI3ggbm90IHByb2Nlc3NlZFxuIiwgYm94bnVtKTsNCj4gICAgICAgICAgICAgICAg ICAgICAgICAgYnJlYWs7DQo+ICAgICAgICAgICAgICAgICB9DQo+ICsNCj4gICAgICAgICAgICAg ICAgIGlzZndfcmVhZCA9IF9ydGw5MmRfY2hlY2tfZndfcmVhZF9sYXN0X2gyYyhodywgYm94bnVt KTsNCj4gICAgICAgICAgICAgICAgIHdoaWxlICghaXNmd19yZWFkKSB7DQo+ICAgICAgICAgICAg ICAgICAgICAgICAgIHdhaXRfaDJjX2xpbW1pdC0tOw0KPiBAQCAtMjY2LDc4ICsyNjYsNjMgQEAg c3RhdGljIHZvaWQgX3J0bDkyZF9maWxsX2gyY19jb21tYW5kKHN0cnVjdCBpZWVlODAyMTFfaHcg Kmh3LA0KPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYm94bnVtKTsN Cj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCj4gICAgICAgICAgICAg ICAgICAgICAgICAgfQ0KPiArDQo+ICAgICAgICAgICAgICAgICAgICAgICAgIHVkZWxheSgxMCk7 DQo+ICsNCj4gICAgICAgICAgICAgICAgICAgICAgICAgaXNmd19yZWFkID0gX3J0bDkyZF9jaGVj a19md19yZWFkX2xhc3RfaDJjKGh3LCBib3hudW0pOw0KPiAgICAgICAgICAgICAgICAgICAgICAg ICB1MWJfdG1wID0gcnRsX3JlYWRfYnl0ZShydGxwcml2LCAweDFCRik7DQo+ICAgICAgICAgICAg ICAgICAgICAgICAgIHJ0bF9kYmcocnRscHJpdiwgQ09NUF9DTUQsIERCR19MT1VELA0KPiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICJXYWl0aW5nIGZvciBGVyByZWFkIGNsZWFyIEhN RUJveCglZCkhISEgMHgxQkYgPSAlMnhcbiIsDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgYm94bnVtLCB1MWJfdG1wKTsNCj4gICAgICAgICAgICAgICAgIH0NCj4gKw0KPiAgICAg ICAgICAgICAgICAgaWYgKCFpc2Z3X3JlYWQpIHsNCj4gICAgICAgICAgICAgICAgICAgICAgICAg cnRsX2RiZyhydGxwcml2LCBDT01QX0NNRCwgREJHX0xPVUQsDQo+ICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIldyaXRlIEgyQyByZWdpc3RlciBCT1hbJWRdIGZhaWwhISEhISBGdyBk byBub3QgcmVhZC5cbiIsDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYm94bnVt KTsNCj4gICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ICAgICAgICAgICAgICAgICB9 DQo+ICsNCj4gICAgICAgICAgICAgICAgIG1lbXNldChib3hjb250ZW50LCAwLCBzaXplb2YoYm94 Y29udGVudCkpOw0KPiAgICAgICAgICAgICAgICAgbWVtc2V0KGJveGV4dGNvbnRlbnQsIDAsIHNp emVvZihib3hleHRjb250ZW50KSk7DQo+ICAgICAgICAgICAgICAgICBib3hjb250ZW50WzBdID0g ZWxlbWVudF9pZDsNCj4gKw0KPiAgICAgICAgICAgICAgICAgcnRsX2RiZyhydGxwcml2LCBDT01Q X0NNRCwgREJHX0xPVUQsDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICJXcml0ZSBlbGVtZW50 X2lkIGJveF9yZWcoJTR4KSA9ICUyeFxuIiwNCj4gICAgICAgICAgICAgICAgICAgICAgICAgYm94 X3JlZywgZWxlbWVudF9pZCk7DQo+ICsNCj4gICAgICAgICAgICAgICAgIHN3aXRjaCAoY21kX2xl bikgew0KPiAtICAgICAgICAgICAgICAgY2FzZSAxOg0KPiAtICAgICAgICAgICAgICAgICAgICAg ICBib3hjb250ZW50WzBdICY9IH4oQklUKDcpKTsNCj4gLSAgICAgICAgICAgICAgICAgICAgICAg bWVtY3B5KGJveGNvbnRlbnQgKyAxLCBjbWRidWZmZXIgKyBidWZfaW5kZXgsIDEpOw0KPiAtICAg ICAgICAgICAgICAgICAgICAgICBmb3IgKGlkeCA9IDA7IGlkeCA8IDQ7IGlkeCsrKQ0KPiAtICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJ0bF93cml0ZV9ieXRlKHJ0bHByaXYsIGJveF9y ZWcgKyBpZHgsDQo+IC0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgYm94Y29udGVudFtpZHhdKTsNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQo+ IC0gICAgICAgICAgICAgICBjYXNlIDI6DQo+IC0gICAgICAgICAgICAgICAgICAgICAgIGJveGNv bnRlbnRbMF0gJj0gfihCSVQoNykpOw0KPiAtICAgICAgICAgICAgICAgICAgICAgICBtZW1jcHko Ym94Y29udGVudCArIDEsIGNtZGJ1ZmZlciArIGJ1Zl9pbmRleCwgMik7DQo+IC0gICAgICAgICAg ICAgICAgICAgICAgIGZvciAoaWR4ID0gMDsgaWR4IDwgNDsgaWR4KyspDQo+IC0gICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgcnRsX3dyaXRlX2J5dGUocnRscHJpdiwgYm94X3JlZyArIGlk eCwNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3hj b250ZW50W2lkeF0pOw0KPiAtICAgICAgICAgICAgICAgICAgICAgICBicmVhazsNCj4gLSAgICAg ICAgICAgICAgIGNhc2UgMzoNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgYm94Y29udGVudFsw XSAmPSB+KEJJVCg3KSk7DQo+IC0gICAgICAgICAgICAgICAgICAgICAgIG1lbWNweShib3hjb250 ZW50ICsgMSwgY21kYnVmZmVyICsgYnVmX2luZGV4LCAzKTsNCj4gLSAgICAgICAgICAgICAgICAg ICAgICAgZm9yIChpZHggPSAwOyBpZHggPCA0OyBpZHgrKykNCj4gLSAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBydGxfd3JpdGVfYnl0ZShydGxwcml2LCBib3hfcmVnICsgaWR4LA0KPiAt ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJveGNvbnRlbnRb aWR4XSk7DQo+IC0gICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KPiAtICAgICAgICAgICAg ICAgY2FzZSA0Og0KPiAtICAgICAgICAgICAgICAgICAgICAgICBib3hjb250ZW50WzBdIHw9IChC SVQoNykpOw0KPiAtICAgICAgICAgICAgICAgICAgICAgICBtZW1jcHkoYm94ZXh0Y29udGVudCwg Y21kYnVmZmVyICsgYnVmX2luZGV4LCAyKTsNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgbWVt Y3B5KGJveGNvbnRlbnQgKyAxLCBjbWRidWZmZXIgKyBidWZfaW5kZXggKyAyLCAyKTsNCj4gLSAg ICAgICAgICAgICAgICAgICAgICAgZm9yIChpZHggPSAwOyBpZHggPCAyOyBpZHgrKykNCj4gLSAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBydGxfd3JpdGVfYnl0ZShydGxwcml2LCBib3hf ZXh0cmVnICsgaWR4LA0KPiAtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIGJveGV4dGNvbnRlbnRbaWR4XSk7DQo+ICsgICAgICAgICAgICAgICBjYXNlIDEgLi4u IDM6DQo+ICsgICAgICAgICAgICAgICAgICAgICAgIGJveGNvbnRlbnRbMF0gJj0gfkJJVCg3KTsN Cj4gKyAgICAgICAgICAgICAgICAgICAgICAgbWVtY3B5KGJveGNvbnRlbnQgKyAxLCBjbWRidWZm ZXIsIGNtZF9sZW4pOw0KPiArDQo+ICAgICAgICAgICAgICAgICAgICAgICAgIGZvciAoaWR4ID0g MDsgaWR4IDwgNDsgaWR4KyspDQo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcnRs X3dyaXRlX2J5dGUocnRscHJpdiwgYm94X3JlZyArIGlkeCwNCj4gICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBib3hjb250ZW50W2lkeF0pOw0KPiAgICAgICAg ICAgICAgICAgICAgICAgICBicmVhazsNCj4gLSAgICAgICAgICAgICAgIGNhc2UgNToNCj4gLSAg ICAgICAgICAgICAgICAgICAgICAgYm94Y29udGVudFswXSB8PSAoQklUKDcpKTsNCj4gLSAgICAg ICAgICAgICAgICAgICAgICAgbWVtY3B5KGJveGV4dGNvbnRlbnQsIGNtZGJ1ZmZlciArIGJ1Zl9p bmRleCwgMik7DQo+IC0gICAgICAgICAgICAgICAgICAgICAgIG1lbWNweShib3hjb250ZW50ICsg MSwgY21kYnVmZmVyICsgYnVmX2luZGV4ICsgMiwgMyk7DQo+ICsgICAgICAgICAgICAgICBjYXNl IDQgLi4uIDU6DQo+ICsgICAgICAgICAgICAgICAgICAgICAgIGJveGNvbnRlbnRbMF0gfD0gQklU KDcpOw0KPiArICAgICAgICAgICAgICAgICAgICAgICBtZW1jcHkoYm94ZXh0Y29udGVudCwgY21k YnVmZmVyLCAyKTsNCj4gKyAgICAgICAg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