	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function proc_config_on_close
_proc_config_on_close:                  ## @proc_config_on_close
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rbx
	callq	_PDE_DATA
	cmpl	$0, 8(%rbx)
	je	LBB0_104
## %bb.1:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_readConfigRid
	movq	_FLAG_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r12), %r15
	movq	%r15, %rsi
	callq	_set_bit
	movq	(%rbx), %rbx
	cmpb	$0, (%rbx)
	je	LBB0_103
## %bb.2:
	leaq	-44(%rbp), %r14
	leaq	L_.str.8(%rip), %r13
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_102:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$1, %al
	sbbq	$-1, %rbx
	cmpb	$0, (%rbx)
	je	LBB0_103
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_49 Depth 2
                                        ##     Child Loop BB0_99 Depth 2
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$7, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.39:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$11, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_40
## %bb.46:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	$11, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_47
## %bb.51:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$9, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_52
## %bb.54:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	$11, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_55
## %bb.57:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.10(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_58
## %bb.63:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.11(%rip), %rsi
	movl	$16, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_64
## %bb.65:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.12(%rip), %rsi
	movl	$17, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_66
## %bb.67:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.13(%rip), %rsi
	movl	$14, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_68
## %bb.69:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.14(%rip), %rsi
	movl	$16, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_70
## %bb.71:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.15(%rip), %rsi
	movl	$16, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_72
## %bb.73:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.16(%rip), %rsi
	movl	$13, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_74
## %bb.75:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.17(%rip), %rsi
	movl	$13, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_76
## %bb.77:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.18(%rip), %rsi
	movl	$15, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_78
## %bb.79:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.19(%rip), %rsi
	movl	$12, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_80
## %bb.89:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.21(%rip), %rsi
	movl	$10, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_90
## %bb.98:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str.23(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_airo_print_warn
	jmp	LBB0_99
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$6, %rbx
	movq	%r12, %rdi
	callq	_sniffing_mode
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_FLAG_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_RXMODE_FULL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 16(%r12)
	movq	_FLAG_802_11@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	_MODE_CFG_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	136(%r12), %eax
	movl	%eax, 136(%r12)
	movq	_SCANMODE_ACTIVE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 128(%r12)
	cmpb	$97, (%rbx)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MODE_STA_IBSS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 136(%r12)
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$7, %rbx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	movq	_FLAG_RADIO_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rsi
	callq	_clear_bit
	jmp	LBB0_99
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_MODE_STA_ESS@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 136(%r12)
	movb	(%rbx), %al
	cmpb	$108, %al
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$121, %al
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$114, %al
	jne	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_RXMODE_DISABLE_802_3_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RXMODE_RFMON@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movb	10(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, (%rcx)
	movb	11(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 1(%rcx)
	movb	12(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 2(%rcx)
	movb	13(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 3(%rcx)
	movb	14(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 4(%rcx)
	movb	15(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 5(%rcx)
	movb	16(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 6(%rcx)
	movb	17(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.29:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 7(%rcx)
	movb	18(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.30:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 8(%rcx)
	movb	19(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.31:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 9(%rcx)
	movb	20(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 10(%rcx)
	movb	21(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 11(%rcx)
	movb	22(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 12(%rcx)
	movb	23(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 13(%rcx)
	movb	24(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 14(%rcx)
	movb	25(%rbx), %al
	cmpb	$10, %al
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r12), %rcx
	movb	%al, 15(%rcx)
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$10, %rbx
	jmp	LBB0_15
LBB0_40:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$11, %rbx
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_41
## %bb.43:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_44
## %bb.45:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_POWERSAVE_CAM@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_47:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$11, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_get_dec_u16
	cmpl	$-1, %eax
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cltq
	movq	112(%r12), %rcx
	movq	%rax, (%rcx,%r13)
	movslq	-44(%rbp), %rax
	addq	%rax, %rbx
	incq	%rbx
	movl	$0, -44(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_get_dec_u16
	addq	$8, %r13
	cmpl	$-1, %eax
	jne	LBB0_49
LBB0_50:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_FLAG_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_set_bit
	leaq	L_.str.8(%rip), %r13
	jmp	LBB0_99
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_RXMODE_LANMON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r12)
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_RXMODE_DISABLE_802_3_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RXMODE_RFMON_ANYBSS@GOTPCREL(%rip), %rcx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	orl	(%rcx), %eax
	orl	%eax, 16(%r12)
	movq	_SCANMODE_PASSIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 128(%r12)
	movq	_FLAG_802_11@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	jmp	LBB0_15
LBB0_52:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$9, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_get_dec_u16
	cmpl	$-1, %eax
	je	LBB0_99
## %bb.53:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 104(%r12)
	jmp	LBB0_15
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_POWERSAVE_PSPCAM@GOTPCREL(%rip), %rax
	jmp	LBB0_42
LBB0_55:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$11, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_get_dec_u16
	cmpl	$-1, %eax
	je	LBB0_99
## %bb.56:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 96(%r12)
	jmp	LBB0_15
LBB0_44:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_POWERSAVE_PSP@GOTPCREL(%rip), %rax
LBB0_42:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movl	%eax, 120(%r12)
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_FLAG_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rsi
	callq	_set_bit
	.p2align	4, 0x90
LBB0_99:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_102
## %bb.100:                             ##   in Loop: Header=BB0_99 Depth=2
	cmpb	$10, %al
	je	LBB0_102
## %bb.101:                             ##   in Loop: Header=BB0_99 Depth=2
	incq	%rbx
	jmp	LBB0_99
LBB0_58:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	5(%rbx), %cl
	movq	_AUTH_OPEN@GOTPCREL(%rip), %rax
	cmpb	$101, %cl
	jne	LBB0_60
## %bb.59:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_AUTH_ENCRYPT@GOTPCREL(%rip), %rax
LBB0_60:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$115, %cl
	jne	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_AUTH_SHAREDKEY@GOTPCREL(%rip), %rax
LBB0_62:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$5, %rbx
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_set_auth_type
	jmp	LBB0_15
LBB0_64:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_get_dec_u16
	cmpl	$255, %eax
	movl	$255, %ecx
	cmovgel	%ecx, %eax
	testl	%eax, %eax
	movl	$0, %ecx
	cmovlel	%ecx, %eax
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 88(%r12)
	jmp	LBB0_15
LBB0_66:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$17, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_get_dec_u16
	cmpl	$255, %eax
	movl	$255, %ecx
	cmovgel	%ecx, %eax
	testl	%eax, %eax
	movl	$0, %ecx
	cmovlel	%ecx, %eax
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 80(%r12)
	jmp	LBB0_15
LBB0_68:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$14, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_get_dec_u16
	movq	_AIRO_DEF_MTU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%edi, %eax
	cmovll	%eax, %edi
	testl	%eax, %eax
	movl	$0, %eax
	cmovsl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 72(%r12)
	jmp	LBB0_15
LBB0_70:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	callq	_get_dec_u16
	testl	%eax, %eax
	movl	$0, %ecx
	cmovlel	%ecx, %eax
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 64(%r12)
	jmp	LBB0_15
LBB0_72:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$16, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$5, %edx
	callq	_get_dec_u16
	testl	%eax, %eax
	movl	$0, %ecx
	cmovlel	%ecx, %eax
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 56(%r12)
	jmp	LBB0_15
LBB0_74:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	13(%rbx), %al
	xorl	%ecx, %ecx
	cmpb	$114, %al
	sete	%cl
	xorl	$3, %ecx
	cmpb	$108, %al
	movl	$1, %eax
	cmovel	%eax, %ecx
	movl	%ecx, 32(%r12)
	jmp	LBB0_15
LBB0_76:                                ##   in Loop: Header=BB0_3 Depth=1
	movb	13(%rbx), %al
	xorl	%ecx, %ecx
	cmpb	$114, %al
	sete	%cl
	xorl	$3, %ecx
	cmpb	$108, %al
	movl	$1, %eax
	cmovel	%eax, %ecx
	movl	%ecx, 36(%r12)
	jmp	LBB0_15
LBB0_78:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -44(%rbp)
	addq	$15, %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_get_dec_u16
	movq	_AIRO_DEF_MTU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%edi, %eax
	cmovll	%eax, %edi
	andl	$65534, %edi                    ## imm = 0xFFFE
	cmpl	$256, %eax                      ## imm = 0x100
	movl	$256, %eax                      ## imm = 0x100
	cmovll	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 48(%r12)
	jmp	LBB0_15
LBB0_80:                                ##   in Loop: Header=BB0_3 Depth=1
	movsbl	12(%rbx), %eax
	addq	$12, %rbx
	cmpl	$99, %eax
	je	LBB0_85
## %bb.81:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$109, %eax
	je	LBB0_86
## %bb.82:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$100, %eax
	jne	LBB0_87
## %bb.83:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_MOD_DEFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_84
LBB0_90:                                ##   in Loop: Header=BB0_3 Depth=1
	movsbl	10(%rbx), %eax
	addq	$10, %rbx
	cmpl	$115, %eax
	je	LBB0_96
## %bb.91:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$108, %eax
	je	LBB0_95
## %bb.92:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$97, %eax
	jne	LBB0_97
## %bb.93:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_PREAMBLE_AUTO@GOTPCREL(%rip), %rax
	jmp	LBB0_94
LBB0_85:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_MOD_CCK@GOTPCREL(%rip), %rax
	jmp	LBB0_84
LBB0_86:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_MOD_MOK@GOTPCREL(%rip), %rax
LBB0_84:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movl	%eax, 44(%r12)
	jmp	LBB0_15
LBB0_87:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str.20(%rip), %rsi
	jmp	LBB0_88
LBB0_96:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PREAMBLE_SHORT@GOTPCREL(%rip), %rax
	jmp	LBB0_94
LBB0_95:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PREAMBLE_LONG@GOTPCREL(%rip), %rax
LBB0_94:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	jmp	LBB0_15
LBB0_97:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movl	(%rax), %edi
	leaq	L_.str.22(%rip), %rsi
LBB0_88:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_airo_print_warn
	jmp	LBB0_99
LBB0_103:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_airo_config_commit
LBB0_104:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_COMMIT,4,2                ## @FLAG_COMMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Mode: "

	.comm	_FLAG_RESET,4,2                 ## @FLAG_RESET
	.comm	_RXMODE_FULL_MASK,4,2           ## @RXMODE_FULL_MASK
	.comm	_FLAG_802_11,4,2                ## @FLAG_802_11
	.comm	_MODE_CFG_MASK,4,2              ## @MODE_CFG_MASK
	.comm	_SCANMODE_ACTIVE,8,3            ## @SCANMODE_ACTIVE
	.comm	_MODE_STA_IBSS,4,2              ## @MODE_STA_IBSS
	.comm	_MODE_STA_ESS,4,2               ## @MODE_STA_ESS
	.comm	_RXMODE_RFMON,4,2               ## @RXMODE_RFMON
	.comm	_RXMODE_DISABLE_802_3_HEADER,4,2 ## @RXMODE_DISABLE_802_3_HEADER
	.comm	_SCANMODE_PASSIVE,8,3           ## @SCANMODE_PASSIVE
	.comm	_RXMODE_RFMON_ANYBSS,4,2        ## @RXMODE_RFMON_ANYBSS
	.comm	_RXMODE_LANMON,4,2              ## @RXMODE_LANMON
L_.str.1:                               ## @.str.1
	.asciz	"Radio: "

L_.str.2:                               ## @.str.2
	.asciz	"off"

	.comm	_FLAG_RADIO_OFF,4,2             ## @FLAG_RADIO_OFF
L_.str.3:                               ## @.str.3
	.asciz	"NodeName: "

L_.str.4:                               ## @.str.4
	.asciz	"PowerMode: "

L_.str.5:                               ## @.str.5
	.asciz	"PSPCAM"

	.comm	_POWERSAVE_PSPCAM,4,2           ## @POWERSAVE_PSPCAM
L_.str.6:                               ## @.str.6
	.asciz	"PSP"

	.comm	_POWERSAVE_PSP,4,2              ## @POWERSAVE_PSP
	.comm	_POWERSAVE_CAM,4,2              ## @POWERSAVE_CAM
L_.str.7:                               ## @.str.7
	.asciz	"DataRates: "

L_.str.8:                               ## @.str.8
	.asciz	"Channel: "

L_.str.9:                               ## @.str.9
	.asciz	"XmitPower: "

L_.str.10:                              ## @.str.10
	.asciz	"WEP: "

	.comm	_AUTH_SHAREDKEY,4,2             ## @AUTH_SHAREDKEY
	.comm	_AUTH_ENCRYPT,4,2               ## @AUTH_ENCRYPT
	.comm	_AUTH_OPEN,4,2                  ## @AUTH_OPEN
L_.str.11:                              ## @.str.11
	.asciz	"LongRetryLimit: "

L_.str.12:                              ## @.str.12
	.asciz	"ShortRetryLimit: "

L_.str.13:                              ## @.str.13
	.asciz	"RTSThreshold: "

	.comm	_AIRO_DEF_MTU,4,2               ## @AIRO_DEF_MTU
L_.str.14:                              ## @.str.14
	.asciz	"TXMSDULifetime: "

L_.str.15:                              ## @.str.15
	.asciz	"RXMSDULifetime: "

L_.str.16:                              ## @.str.16
	.asciz	"TXDiversity: "

L_.str.17:                              ## @.str.17
	.asciz	"RXDiversity: "

L_.str.18:                              ## @.str.18
	.asciz	"FragThreshold: "

L_.str.19:                              ## @.str.19
	.asciz	"Modulation: "

	.comm	_MOD_DEFAULT,4,2                ## @MOD_DEFAULT
	.comm	_MOD_CCK,4,2                    ## @MOD_CCK
	.comm	_MOD_MOK,4,2                    ## @MOD_MOK
L_.str.20:                              ## @.str.20
	.asciz	"Unknown modulation"

L_.str.21:                              ## @.str.21
	.asciz	"Preamble: "

	.comm	_PREAMBLE_AUTO,4,2              ## @PREAMBLE_AUTO
	.comm	_PREAMBLE_LONG,4,2              ## @PREAMBLE_LONG
	.comm	_PREAMBLE_SHORT,4,2             ## @PREAMBLE_SHORT
L_.str.22:                              ## @.str.22
	.asciz	"Unknown preamble"

L_.str.23:                              ## @.str.23
	.asciz	"Couldn't figure out %s"

	.no_dead_strip	_proc_config_on_close
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function proc_config_on_close
_proc_config_on_close:                  ; @proc_config_on_close
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x19, [x1]
	bl	_PDE_DATA
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_98
; %bb.1:
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #1
	bl	_readConfigRid
Lloh0:
	adrp	x28, _FLAG_COMMIT@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FLAG_COMMIT@GOTPAGEOFF]
	ldr	w0, [x28]
	add	x21, x20, #8
	mov	x1, x21
	bl	_set_bit
	ldr	x23, [x19]
	ldrb	w8, [x23]
	cbz	w8, LBB0_97
; %bb.2:
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
Lloh4:
	adrp	x27, _FLAG_802_11@GOTPAGE
Lloh5:
	ldr	x27, [x27, _FLAG_802_11@GOTPAGEOFF]
Lloh6:
	adrp	x24, l_.str.1@PAGE
Lloh7:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh8:
	adrp	x25, _SCANMODE_ACTIVE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _SCANMODE_ACTIVE@GOTPAGEOFF]
Lloh10:
	adrp	x26, l_.str.3@PAGE
Lloh11:
	add	x26, x26, l_.str.3@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_56 Depth 2
                                        ;     Child Loop BB0_70 Depth 2
	mov	x0, x23
	mov	x1, x22
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_23
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x24
	mov	w2, #7
	bl	_strncmp
	cbz	w0, LBB0_27
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x26
	mov	w2, #10
	bl	_strncmp
	cbz	w0, LBB0_33
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #11
	bl	_strncmp
	cbz	w0, LBB0_51
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #11
	bl	_strncmp
	cbz	w0, LBB0_54
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #9
	bl	_strncmp
	cbz	w0, LBB0_60
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh18:
	adrp	x1, l_.str.9@PAGE
Lloh19:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w2, #11
	bl	_strncmp
	cbz	w0, LBB0_63
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh20:
	adrp	x1, l_.str.10@PAGE
Lloh21:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_72
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh22:
	adrp	x1, l_.str.11@PAGE
Lloh23:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w2, #16
	bl	_strncmp
	cbz	w0, LBB0_73
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh24:
	adrp	x1, l_.str.12@PAGE
Lloh25:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w2, #17
	bl	_strncmp
	cbz	w0, LBB0_74
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh26:
	adrp	x1, l_.str.13@PAGE
Lloh27:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w2, #14
	bl	_strncmp
	cbz	w0, LBB0_75
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh28:
	adrp	x1, l_.str.14@PAGE
Lloh29:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	w2, #16
	bl	_strncmp
	cbz	w0, LBB0_76
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh30:
	adrp	x1, l_.str.15@PAGE
Lloh31:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	w2, #16
	bl	_strncmp
	cbz	w0, LBB0_77
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh32:
	adrp	x1, l_.str.16@PAGE
Lloh33:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	w2, #13
	bl	_strncmp
	cbz	w0, LBB0_78
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh34:
	adrp	x1, l_.str.17@PAGE
Lloh35:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	w2, #13
	bl	_strncmp
	cbz	w0, LBB0_79
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh36:
	adrp	x1, l_.str.18@PAGE
Lloh37:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	w2, #15
	bl	_strncmp
	cbz	w0, LBB0_80
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh38:
	adrp	x1, l_.str.19@PAGE
Lloh39:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	w2, #12
	bl	_strncmp
	cbz	w0, LBB0_81
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh40:
	adrp	x1, l_.str.21@PAGE
Lloh41:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	w2, #10
	bl	_strncmp
	cbz	w0, LBB0_85
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8]
	str	x23, [sp]
Lloh42:
	adrp	x1, l_.str.23@PAGE
Lloh43:
	add	x1, x1, l_.str.23@PAGEOFF
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_airo_print_warn
	b	LBB0_70
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_sniffing_mode
	cbz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh44:
	adrp	x8, _FLAG_RESET@GOTPAGE
Lloh45:
	ldr	x8, [x8, _FLAG_RESET@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh47:
	adrp	x8, _RXMODE_FULL_MASK@GOTPAGE
Lloh48:
	ldr	x8, [x8, _RXMODE_FULL_MASK@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	bic	w8, w9, w8
	str	w8, [x20, #16]
	ldr	w0, [x27]
	mov	x1, x21
	bl	_clear_bit
Lloh50:
	adrp	x8, _MODE_CFG_MASK@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MODE_CFG_MASK@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	ldr	w9, [x20, #136]
	bic	w8, w9, w8
	str	w8, [x20, #136]
	ldr	x9, [x25]
	str	x9, [x20, #128]
	ldrb	w9, [x23, #6]!
	cmp	w9, #97
	b.ne	LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh53:
	adrp	x9, _MODE_STA_IBSS@GOTPAGE
Lloh54:
	ldr	x9, [x9, _MODE_STA_IBSS@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #136]
	b	LBB0_67
LBB0_27:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #7
	mov	x0, x23
Lloh56:
	adrp	x1, l_.str.2@PAGE
Lloh57:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	mov	x8, x0
Lloh58:
	adrp	x9, _FLAG_RADIO_OFF@GOTPAGE
Lloh59:
	ldr	x9, [x9, _FLAG_RADIO_OFF@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x9]
	cbz	w8, LBB0_68
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x21
	bl	_clear_bit
	b	LBB0_70
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh61:
	adrp	x9, _MODE_STA_ESS@GOTPAGE
Lloh62:
	ldr	x9, [x9, _MODE_STA_ESS@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #136]
	ldrb	w8, [x23]
	cmp	w8, #108
	b.eq	LBB0_57
; %bb.30:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #121
	b.eq	LBB0_58
; %bb.31:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #114
	b.ne	LBB0_67
; %bb.32:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh64:
	adrp	x8, _RXMODE_RFMON@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RXMODE_RFMON@GOTPAGEOFF]
	b	LBB0_59
LBB0_33:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20, #24]
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x19, x23
	ldrb	w8, [x19, #10]!
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.34:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9]
	ldrb	w8, [x23, #11]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.35:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #1]
	ldrb	w8, [x23, #12]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.36:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #2]
	ldrb	w8, [x23, #13]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.37:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #3]
	ldrb	w8, [x23, #14]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.38:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #4]
	ldrb	w8, [x23, #15]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.39:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #5]
	ldrb	w8, [x23, #16]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.40:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #6]
	ldrb	w8, [x23, #17]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.41:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #7]
	ldrb	w8, [x23, #18]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.42:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #8]
	ldrb	w8, [x23, #19]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.43:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #9]
	ldrb	w8, [x23, #20]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.44:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #10]
	ldrb	w8, [x23, #21]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.45:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #11]
	ldrb	w8, [x23, #22]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #12]
	ldrb	w8, [x23, #23]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.47:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #13]
	ldrb	w8, [x23, #24]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #14]
	ldrb	w8, [x23, #25]
	cmp	w8, #10
	b.eq	LBB0_50
; %bb.49:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x20, #24]
	strb	w8, [x9, #15]
LBB0_50:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28]
	mov	x1, x21
	bl	_set_bit
	mov	x23, x19
	b	LBB0_70
LBB0_51:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #11
	mov	x0, x23
Lloh66:
	adrp	x1, l_.str.5@PAGE
Lloh67:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_62
; %bb.52:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
Lloh68:
	adrp	x1, l_.str.6@PAGE
Lloh69:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_65
; %bb.53:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh70:
	adrp	x8, _POWERSAVE_CAM@GOTPAGE
Lloh71:
	ldr	x8, [x8, _POWERSAVE_CAM@GOTPAGEOFF]
	b	LBB0_66
LBB0_54:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #11
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #3
	bl	_get_dec_u16
                                        ; kill: def $w0 killed $w0 def $x0
	cmn	w0, #1
	b.eq	LBB0_67
; %bb.55:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x19, #0
LBB0_56:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtw	x8, w0
	ldr	x9, [x20, #112]
	str	x8, [x9, x19]
	ldrsw	x8, [sp, #28]
	add	x8, x8, x23
	add	x23, x8, #1
	str	wzr, [sp, #28]
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #3
	bl	_get_dec_u16
                                        ; kill: def $w0 killed $w0 def $x0
	add	x19, x19, #8
	cmn	w0, #1
	b.ne	LBB0_56
	b	LBB0_67
LBB0_57:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh72:
	adrp	x8, _RXMODE_LANMON@GOTPAGE
Lloh73:
	ldr	x8, [x8, _RXMODE_LANMON@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	orr	w8, w9, w8
	str	w8, [x20, #16]
	b	LBB0_67
LBB0_58:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh75:
	adrp	x8, _RXMODE_RFMON_ANYBSS@GOTPAGE
Lloh76:
	ldr	x8, [x8, _RXMODE_RFMON_ANYBSS@GOTPAGEOFF]
LBB0_59:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
Lloh77:
	adrp	x9, _RXMODE_DISABLE_802_3_HEADER@GOTPAGE
Lloh78:
	ldr	x9, [x9, _RXMODE_DISABLE_802_3_HEADER@GOTPAGEOFF]
Lloh79:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20, #16]
	orr	w8, w8, w9
	str	w8, [x20, #16]
Lloh80:
	adrp	x8, _SCANMODE_PASSIVE@GOTPAGE
Lloh81:
	ldr	x8, [x8, _SCANMODE_PASSIVE@GOTPAGEOFF]
Lloh82:
	ldr	x8, [x8]
	str	x8, [x20, #128]
	ldr	w0, [x27]
	mov	x1, x21
	bl	_set_bit
	b	LBB0_67
LBB0_60:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #9
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #3
	bl	_get_dec_u16
	cmn	w0, #1
	b.eq	LBB0_70
; %bb.61:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_cpu_to_le16
	str	x0, [x20, #104]
	b	LBB0_67
LBB0_62:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh83:
	adrp	x8, _POWERSAVE_PSPCAM@GOTPAGE
Lloh84:
	ldr	x8, [x8, _POWERSAVE_PSPCAM@GOTPAGEOFF]
	b	LBB0_66
LBB0_63:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #11
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #3
	bl	_get_dec_u16
	cmn	w0, #1
	b.eq	LBB0_70
; %bb.64:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_cpu_to_le16
	str	x0, [x20, #96]
	b	LBB0_67
LBB0_65:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh85:
	adrp	x8, _POWERSAVE_PSP@GOTPAGE
Lloh86:
	ldr	x8, [x8, _POWERSAVE_PSP@GOTPAGEOFF]
LBB0_66:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	str	w8, [x20, #120]
LBB0_67:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28]
LBB0_68:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x21
	bl	_set_bit
	b	LBB0_70
LBB0_69:                                ;   in Loop: Header=BB0_70 Depth=2
	add	x23, x23, #1
LBB0_70:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x23]
	cmp	w8, #0
	ccmp	w8, #10, #4, ne
	b.ne	LBB0_69
; %bb.71:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #0
	cinc	x23, x23, ne
	ldrb	w8, [x23]
	cbnz	w8, LBB0_3
	b	LBB0_97
LBB0_72:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23, #5]!
	cmp	w8, #101
Lloh87:
	adrp	x9, _AUTH_ENCRYPT@GOTPAGE
Lloh88:
	ldr	x9, [x9, _AUTH_ENCRYPT@GOTPAGEOFF]
Lloh89:
	adrp	x10, _AUTH_OPEN@GOTPAGE
Lloh90:
	ldr	x10, [x10, _AUTH_OPEN@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	cmp	w8, #115
Lloh91:
	adrp	x8, _AUTH_SHAREDKEY@GOTPAGE
Lloh92:
	ldr	x8, [x8, _AUTH_SHAREDKEY@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
	mov	x0, x20
	bl	_set_auth_type
	b	LBB0_67
LBB0_73:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #16
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #3
	bl	_get_dec_u16
	cmp	w0, #255
	mov	w8, #255
	csel	w8, w0, w8, lt
	cmp	w8, #0
	csel	w0, w8, wzr, gt
	bl	_cpu_to_le16
	str	x0, [x20, #88]
	b	LBB0_67
LBB0_74:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #17
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #3
	bl	_get_dec_u16
	cmp	w0, #255
	mov	w8, #255
	csel	w8, w0, w8, lt
	cmp	w8, #0
	csel	w0, w8, wzr, gt
	bl	_cpu_to_le16
	str	x0, [x20, #80]
	b	LBB0_67
LBB0_75:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #14
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #4
	bl	_get_dec_u16
Lloh93:
	adrp	x8, _AIRO_DEF_MTU@GOTPAGE
Lloh94:
	ldr	x8, [x8, _AIRO_DEF_MTU@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w8, w0, w8, lt
	cmp	w0, #0
	csel	w0, wzr, w8, lt
	bl	_cpu_to_le16
	str	x0, [x20, #72]
	b	LBB0_67
LBB0_76:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #16
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #5
	bl	_get_dec_u16
	cmp	w0, #0
	csel	w0, w0, wzr, gt
	bl	_cpu_to_le16
	str	x0, [x20, #64]
	b	LBB0_67
LBB0_77:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #16
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #5
	bl	_get_dec_u16
	cmp	w0, #0
	csel	w0, w0, wzr, gt
	bl	_cpu_to_le16
	str	x0, [x20, #56]
	b	LBB0_67
LBB0_78:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23, #13]
	cmp	w8, #114
	mov	w9, #2
	cinc	w9, w9, ne
	cmp	w8, #108
	csinc	w8, w9, wzr, ne
	str	w8, [x20, #32]
	b	LBB0_67
LBB0_79:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w8, [x23, #13]
	cmp	w8, #114
	mov	w9, #2
	cinc	w9, w9, ne
	cmp	w8, #108
	csinc	w8, w9, wzr, ne
	str	w8, [x20, #36]
	b	LBB0_67
LBB0_80:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [sp, #28]
	add	x23, x23, #15
	add	x1, sp, #28
	mov	x0, x23
	mov	w2, #4
	bl	_get_dec_u16
Lloh96:
	adrp	x8, _AIRO_DEF_MTU@GOTPAGE
Lloh97:
	ldr	x8, [x8, _AIRO_DEF_MTU@GOTPAGEOFF]
Lloh98:
	ldr	w8, [x8]
	cmp	w0, w8
	csel	w8, w0, w8, lt
	and	w8, w8, #0xfffe
	cmp	w0, #256
	mov	w9, #256
	csel	w0, w9, w8, lt
	bl	_cpu_to_le16
	str	x0, [x20, #48]
	b	LBB0_67
LBB0_81:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsb	w8, [x23, #12]!
	cmp	w8, #99
	b.eq	LBB0_89
; %bb.82:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #109
	b.eq	LBB0_90
; %bb.83:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #100
	b.ne	LBB0_92
; %bb.84:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh99:
	adrp	x8, _MOD_DEFAULT@GOTPAGE
Lloh100:
	ldr	x8, [x8, _MOD_DEFAULT@GOTPAGEOFF]
	b	LBB0_91
LBB0_85:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsb	w8, [x23, #10]!
	cmp	w8, #115
	b.eq	LBB0_93
; %bb.86:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #108
	b.eq	LBB0_94
; %bb.87:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #97
	b.ne	LBB0_96
; %bb.88:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh101:
	adrp	x8, _PREAMBLE_AUTO@GOTPAGE
Lloh102:
	ldr	x8, [x8, _PREAMBLE_AUTO@GOTPAGEOFF]
	b	LBB0_95
LBB0_89:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh103:
	adrp	x8, _MOD_CCK@GOTPAGE
Lloh104:
	ldr	x8, [x8, _MOD_CCK@GOTPAGEOFF]
	b	LBB0_91
LBB0_90:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh105:
	adrp	x8, _MOD_MOK@GOTPAGE
Lloh106:
	ldr	x8, [x8, _MOD_MOK@GOTPAGEOFF]
LBB0_91:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	str	w8, [x20, #44]
	b	LBB0_67
LBB0_92:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh107:
	adrp	x1, l_.str.20@PAGE
Lloh108:
	add	x1, x1, l_.str.20@PAGEOFF
	b	LBB0_22
LBB0_93:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh109:
	adrp	x8, _PREAMBLE_SHORT@GOTPAGE
Lloh110:
	ldr	x8, [x8, _PREAMBLE_SHORT@GOTPAGEOFF]
	b	LBB0_95
LBB0_94:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh111:
	adrp	x8, _PREAMBLE_LONG@GOTPAGE
Lloh112:
	ldr	x8, [x8, _PREAMBLE_LONG@GOTPAGEOFF]
LBB0_95:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8]
	str	w8, [x20, #40]
	b	LBB0_67
LBB0_96:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh113:
	adrp	x1, l_.str.22@PAGE
Lloh114:
	add	x1, x1, l_.str.22@PAGEOFF
	b	LBB0_22
LBB0_97:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_airo_config_commit
LBB0_98:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpAdd	Lloh113, Lloh114
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_COMMIT,4,2                ; @FLAG_COMMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Mode: "

	.comm	_FLAG_RESET,4,2                 ; @FLAG_RESET
	.comm	_RXMODE_FULL_MASK,4,2           ; @RXMODE_FULL_MASK
	.comm	_FLAG_802_11,4,2                ; @FLAG_802_11
	.comm	_MODE_CFG_MASK,4,2              ; @MODE_CFG_MASK
	.comm	_SCANMODE_ACTIVE,8,3            ; @SCANMODE_ACTIVE
	.comm	_MODE_STA_IBSS,4,2              ; @MODE_STA_IBSS
	.comm	_MODE_STA_ESS,4,2               ; @MODE_STA_ESS
	.comm	_RXMODE_RFMON,4,2               ; @RXMODE_RFMON
	.comm	_RXMODE_DISABLE_802_3_HEADER,4,2 ; @RXMODE_DISABLE_802_3_HEADER
	.comm	_SCANMODE_PASSIVE,8,3           ; @SCANMODE_PASSIVE
	.comm	_RXMODE_RFMON_ANYBSS,4,2        ; @RXMODE_RFMON_ANYBSS
	.comm	_RXMODE_LANMON,4,2              ; @RXMODE_LANMON
l_.str.1:                               ; @.str.1
	.asciz	"Radio: "

l_.str.2:                               ; @.str.2
	.asciz	"off"

	.comm	_FLAG_RADIO_OFF,4,2             ; @FLAG_RADIO_OFF
l_.str.3:                               ; @.str.3
	.asciz	"NodeName: "

l_.str.4:                               ; @.str.4
	.asciz	"PowerMode: "

l_.str.5:                               ; @.str.5
	.asciz	"PSPCAM"

	.comm	_POWERSAVE_PSPCAM,4,2           ; @POWERSAVE_PSPCAM
l_.str.6:                               ; @.str.6
	.asciz	"PSP"

	.comm	_POWERSAVE_PSP,4,2              ; @POWERSAVE_PSP
	.comm	_POWERSAVE_CAM,4,2              ; @POWERSAVE_CAM
l_.str.7:                               ; @.str.7
	.asciz	"DataRates: "

l_.str.8:                               ; @.str.8
	.asciz	"Channel: "

l_.str.9:                               ; @.str.9
	.asciz	"XmitPower: "

l_.str.10:                              ; @.str.10
	.asciz	"WEP: "

	.comm	_AUTH_SHAREDKEY,4,2             ; @AUTH_SHAREDKEY
	.comm	_AUTH_ENCRYPT,4,2               ; @AUTH_ENCRYPT
	.comm	_AUTH_OPEN,4,2                  ; @AUTH_OPEN
l_.str.11:                              ; @.str.11
	.asciz	"LongRetryLimit: "

l_.str.12:                              ; @.str.12
	.asciz	"ShortRetryLimit: "

l_.str.13:                              ; @.str.13
	.asciz	"RTSThreshold: "

	.comm	_AIRO_DEF_MTU,4,2               ; @AIRO_DEF_MTU
l_.str.14:                              ; @.str.14
	.asciz	"TXMSDULifetime: "

l_.str.15:                              ; @.str.15
	.asciz	"RXMSDULifetime: "

l_.str.16:                              ; @.str.16
	.asciz	"TXDiversity: "

l_.str.17:                              ; @.str.17
	.asciz	"RXDiversity: "

l_.str.18:                              ; @.str.18
	.asciz	"FragThreshold: "

l_.str.19:                              ; @.str.19
	.asciz	"Modulation: "

	.comm	_MOD_DEFAULT,4,2                ; @MOD_DEFAULT
	.comm	_MOD_CCK,4,2                    ; @MOD_CCK
	.comm	_MOD_MOK,4,2                    ; @MOD_MOK
l_.str.20:                              ; @.str.20
	.asciz	"Unknown modulation"

l_.str.21:                              ; @.str.21
	.asciz	"Preamble: "

	.comm	_PREAMBLE_AUTO,4,2              ; @PREAMBLE_AUTO
	.comm	_PREAMBLE_LONG,4,2              ; @PREAMBLE_LONG
	.comm	_PREAMBLE_SHORT,4,2             ; @PREAMBLE_SHORT
l_.str.22:                              ; @.str.22
	.asciz	"Unknown preamble"

l_.str.23:                              ; @.str.23
	.asciz	"Couldn't figure out %s"

	.no_dead_strip	_proc_config_on_close
.subsections_via_symbols
