	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function an_readkeyinfo
_an_readkeyinfo:                        ## @an_readkeyinfo
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$8, -40(%rbp)
	movq	_AN_RID_ACTUALCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_an_getval
	movl	-40(%rbp), %r15d
	movq	_AN_HOME_NETWORK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_bzero
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_AN_RID_WEP_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	$16, -40(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_an_getval
	movl	-40(%rbp), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_46
## %bb.1:
	movl	-36(%rbp), %edx
	cmpl	$13, %edx
	je	LBB0_7
## %bb.2:
	cmpl	$5, %edx
	je	LBB0_6
## %bb.3:
	testl	%edx, %edx
	jne	LBB0_8
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_9:
	movq	_AN_RID_WEP_PERM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	$16, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_an_getval
	movl	-40(%rbp), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_46
## %bb.10:
	movl	-36(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_16
## %bb.11:
	cmpl	$5, %edx
	je	LBB0_15
## %bb.12:
	cmpl	$13, %edx
	jne	LBB0_17
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_14
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_14
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
LBB0_14:
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.4(%rip), %rdi
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_18:
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	$16, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_an_getval
	movl	-40(%rbp), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_46
## %bb.19:
	movl	-36(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_25
## %bb.20:
	cmpl	$5, %edx
	je	LBB0_24
## %bb.21:
	cmpl	$13, %edx
	jne	LBB0_26
## %bb.22:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_23
LBB0_25:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_23
LBB0_24:
	leaq	L_.str.2(%rip), %rdi
LBB0_23:
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_27
LBB0_26:
	leaq	L_.str.4(%rip), %rdi
	movl	$2, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_27:
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	$16, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_an_getval
	movl	-40(%rbp), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_46
## %bb.28:
	movl	-36(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_34
## %bb.29:
	cmpl	$5, %edx
	je	LBB0_33
## %bb.30:
	cmpl	$13, %edx
	jne	LBB0_35
## %bb.31:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_32
LBB0_34:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_32
LBB0_33:
	leaq	L_.str.2(%rip), %rdi
LBB0_32:
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_36
LBB0_35:
	leaq	L_.str.4(%rip), %rdi
	movl	$3, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_36:
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	$16, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_an_getval
	movl	-40(%rbp), %esi
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	je	LBB0_46
## %bb.37:
	movl	-36(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_43
## %bb.38:
	cmpl	$5, %edx
	je	LBB0_42
## %bb.39:
	cmpl	$13, %edx
	jne	LBB0_44
## %bb.40:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_41
LBB0_43:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_41
LBB0_42:
	leaq	L_.str.2(%rip), %rdi
LBB0_41:
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_45
LBB0_44:
	leaq	L_.str.4(%rip), %rdi
	movl	$4, %esi
	xorl	%eax, %eax
	callq	_printf
LBB0_45:
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
LBB0_46:
	xorl	%ebx, %ebx
	testl	%r15d, %r12d
	setne	%bl
	shll	$2, %ebx
	movl	$16, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_an_getval
	movq	-32(%rbp), %rax
	addl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AN_RID_ACTUALCFG,4,2           ## @AN_RID_ACTUALCFG
	.comm	_AN_HOME_NETWORK,4,2            ## @AN_HOME_NETWORK
	.comm	_AN_RID_WEP_TEMP,4,2            ## @AN_RID_WEP_TEMP
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"\tKey %u is unset\n"

L_.str.2:                               ## @.str.2
	.asciz	"\tKey %u is set  40 bits\n"

L_.str.3:                               ## @.str.3
	.asciz	"\tKey %u is set 128 bits\n"

L_.str.4:                               ## @.str.4
	.asciz	"\tWEP Key %d has an unknown size %u\n"

	.comm	_AN_RID_WEP_PERM,4,2            ## @AN_RID_WEP_PERM
L_.str.5:                               ## @.str.5
	.asciz	"\tThe active transmit key is %d\n"

L_str:                                  ## @str
	.asciz	"WEP Key status:"

	.no_dead_strip	_an_readkeyinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function an_readkeyinfo
_an_readkeyinfo:                        ; @an_readkeyinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	mov	w8, #8
Lloh0:
	adrp	x9, _AN_RID_ACTUALCFG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AN_RID_ACTUALCFG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	add	x1, sp, #24
	bl	_an_getval
	ldr	w20, [sp, #24]
Lloh3:
	adrp	x8, _AN_HOME_NETWORK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AN_HOME_NETWORK@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	add	x0, sp, #24
	mov	w1, #8
	bl	_bzero
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh8:
	adrp	x8, _AN_RID_WEP_TEMP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AN_RID_WEP_TEMP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mov	w22, #16
	stp	w22, w8, [sp, #24]
	add	x1, sp, #24
	mov	x0, x19
	bl	_an_getval
	ldr	w8, [sp, #24]
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_41
; %bb.1:
	ldr	w9, [sp, #28]
	cmp	w9, #13
	b.eq	LBB0_5
; %bb.2:
	cmp	w9, #5
	b.eq	LBB0_6
; %bb.3:
	cbnz	w9, LBB0_7
; %bb.4:
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh13:
	adrp	x0, l_.str.3@PAGE
Lloh14:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
	stp	xzr, x9, [sp]
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_8:
	bl	_printf
Lloh19:
	adrp	x23, _AN_RID_WEP_PERM@GOTPAGE
Lloh20:
	ldr	x23, [x23, _AN_RID_WEP_PERM@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	w9, #16
	stp	w9, w8, [sp, #24]
	add	x1, sp, #24
	mov	x0, x19
	bl	_an_getval
	ldr	w8, [sp, #24]
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_41
; %bb.9:
	ldr	w9, [sp, #28]
	cbz	w9, LBB0_13
; %bb.10:
	cmp	w9, #5
	b.eq	LBB0_14
; %bb.11:
	cmp	w9, #13
	b.ne	LBB0_15
; %bb.12:
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_13:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_14:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_15:
	mov	w8, #1
	stp	x8, x9, [sp]
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_16:
	bl	_printf
	ldr	w8, [x23]
	mov	w9, #16
	stp	w9, w8, [sp, #24]
	add	x1, sp, #24
	mov	x0, x19
	bl	_an_getval
	ldr	w8, [sp, #24]
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_41
; %bb.17:
	ldr	w9, [sp, #28]
	cbz	w9, LBB0_21
; %bb.18:
	cmp	w9, #5
	b.eq	LBB0_22
; %bb.19:
	cmp	w9, #13
	b.ne	LBB0_23
; %bb.20:
	str	x8, [sp]
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_24
LBB0_21:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_24
LBB0_22:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh33:
	adrp	x0, l_.str.2@PAGE
Lloh34:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_24
LBB0_23:
	mov	w8, #2
	stp	x8, x9, [sp]
Lloh35:
	adrp	x0, l_.str.4@PAGE
Lloh36:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_24:
	bl	_printf
	ldr	w8, [x23]
	mov	w9, #16
	stp	w9, w8, [sp, #24]
	add	x1, sp, #24
	mov	x0, x19
	bl	_an_getval
	ldr	w8, [sp, #24]
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_41
; %bb.25:
	ldr	w9, [sp, #28]
	cbz	w9, LBB0_29
; %bb.26:
	cmp	w9, #5
	b.eq	LBB0_30
; %bb.27:
	cmp	w9, #13
	b.ne	LBB0_31
; %bb.28:
	str	x8, [sp]
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_32
LBB0_29:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_32
LBB0_30:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh41:
	adrp	x0, l_.str.2@PAGE
Lloh42:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_32
LBB0_31:
	mov	w8, #3
	stp	x8, x9, [sp]
Lloh43:
	adrp	x0, l_.str.4@PAGE
Lloh44:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_32:
	bl	_printf
	ldr	w8, [x23]
	mov	w9, #16
	stp	w9, w8, [sp, #24]
	add	x1, sp, #24
	mov	x0, x19
	bl	_an_getval
	ldr	w8, [sp, #24]
	mov	w9, #65535
	cmp	w8, w9
	b.eq	LBB0_41
; %bb.33:
	ldr	w9, [sp, #28]
	cbz	w9, LBB0_37
; %bb.34:
	cmp	w9, #5
	b.eq	LBB0_38
; %bb.35:
	cmp	w9, #13
	b.ne	LBB0_39
; %bb.36:
	str	x8, [sp]
Lloh45:
	adrp	x0, l_.str.3@PAGE
Lloh46:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_40
LBB0_37:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh47:
	adrp	x0, l_.str.1@PAGE
Lloh48:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_40
LBB0_38:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh49:
	adrp	x0, l_.str.2@PAGE
Lloh50:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_40
LBB0_39:
	mov	w8, #4
	stp	x8, x9, [sp]
Lloh51:
	adrp	x0, l_.str.4@PAGE
Lloh52:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_40:
	bl	_printf
	ldr	w8, [x23]
	str	w8, [sp, #28]
LBB0_41:
	tst	w21, w20
	cset	w20, ne
	str	w22, [sp, #24]
	add	x1, sp, #24
	mov	x0, x19
	bl	_an_getval
	ldr	x8, [sp, #32]
	ldr	w8, [x8]
	add	w8, w8, w20, lsl #2
	str	x8, [sp]
Lloh53:
	adrp	x0, l_.str.5@PAGE
Lloh54:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_AN_RID_ACTUALCFG,4,2           ; @AN_RID_ACTUALCFG
	.comm	_AN_HOME_NETWORK,4,2            ; @AN_HOME_NETWORK
	.comm	_AN_RID_WEP_TEMP,4,2            ; @AN_RID_WEP_TEMP
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"\tKey %u is unset\n"

l_.str.2:                               ; @.str.2
	.asciz	"\tKey %u is set  40 bits\n"

l_.str.3:                               ; @.str.3
	.asciz	"\tKey %u is set 128 bits\n"

l_.str.4:                               ; @.str.4
	.asciz	"\tWEP Key %d has an unknown size %u\n"

	.comm	_AN_RID_WEP_PERM,4,2            ; @AN_RID_WEP_PERM
l_.str.5:                               ; @.str.5
	.asciz	"\tThe active transmit key is %d\n"

l_str:                                  ; @str
	.asciz	"WEP Key status:"

	.no_dead_strip	_an_readkeyinfo
.subsections_via_symbols
