	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath_hal_dumpkeycache
_ath_hal_dumpkeycache:                  ## @ath_hal_dumpkeycache
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rax), %esi
	callq	_SREV
	movq	%rax, %rbx
	movl	$4, %edi
	movl	$8, %esi
	callq	_SREV
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.1:
	movq	_ah@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AR_STA_ID1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OS_REG_READ
	movq	_AR_STA_ID1_CRPT_MIC_ENABLE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_2:
	movq	_IEEE80211_ADDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_NBBY@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	movl	$128, %eax
	xorl	%edx, %edx
	idivl	(%rcx)
	movl	%eax, %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	shll	$2, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_memset
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_15
## %bb.3:
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movzbl	%al, %ecx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movzbl	%ah, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movzbl	%al, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movzbl	%ah, %eax
	movq	%rax, %r15
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movzbl	%cl, %r9d
	movzbl	%ch, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%ecx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	shrl	$24, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	movzbl	%cl, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movzbl	%ch, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	%ecx, %eax
	shrl	$16, %eax
	movzbl	%al, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	shrl	$24, %ecx
	movq	%rcx, %r13
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movzbl	%bl, %r10d
	movzbl	%bh, %eax
	movq	%rax, %r14
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %r11d
	shrl	$24, %ebx
	subq	$8, %rsp
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str.9(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	pushq	%rbx
	pushq	%r11
	pushq	%r14
	pushq	%r10
	pushq	%r15
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	%r13
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_fprintf
	addq	$128, %rsp
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	cmpl	%r12d, -56(%rbp)                ## 4-byte Folded Reload
	je	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ah@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_MAC1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
	movl	%eax, %ebx
	movq	_AR_KEYTABLE_VALID@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_ah@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_MAC0
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
                                        ## kill: def $eax killed $eax def $rax
	shldl	$1, %eax, %ebx
	leal	(%rax,%rax), %ecx
	movzbl	%bl, %edx
	movl	%edx, 16(%r15)
	sarl	$8, %ebx
	movl	%ebx, 20(%r15)
	movzbl	%cl, %edx
	movl	%edx, (%r15)
	sarl	$8, %ecx
	movl	%ecx, 4(%r15)
	movl	%eax, %ecx
	shrl	$15, %ecx
	movswl	%cx, %ecx
	movl	%ecx, 8(%r15)
	shrl	$23, %eax
	movsbl	%al, %eax
	movl	%eax, 12(%r15)
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_TYPE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
	movl	%eax, %r14d
	andl	$7, %r14d
	movq	_AR_KEYTABLE_TYPE_TKIP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	leal	64(%r12), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_setbit
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_ah@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_KEY0
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_KEY1
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_KEY2
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_KEY3
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	(%r13), %ebx
	movl	%r12d, %edi
	callq	_AR_KEYTABLE_KEY4
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_OS_REG_READ
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_fputc
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_ether_sprintf
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	callq	_isset
	leaq	L_.str.10(%rip), %r8
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %eax
	leaq	_reltable.ath_hal_dumpkeycache(%rip), %rcx
	movslq	(%rcx,%rax,4), %r8
	addq	%rcx, %r8
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_isclr
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_6
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.ath_hal_dumpkeycache
_reltable.ath_hal_dumpkeycache:
	.long	L_.str-_reltable.ath_hal_dumpkeycache
	.long	L_.str.1-_reltable.ath_hal_dumpkeycache
	.long	L_.str.2-_reltable.ath_hal_dumpkeycache
	.long	L_.str.3-_reltable.ath_hal_dumpkeycache
	.long	L_.str.4-_reltable.ath_hal_dumpkeycache
	.long	L_.str.5-_reltable.ath_hal_dumpkeycache
	.long	L_.str.6-_reltable.ath_hal_dumpkeycache
	.long	L_.str.7-_reltable.ath_hal_dumpkeycache

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WEP-40"

L_.str.1:                               ## @.str.1
	.asciz	"WEP-104"

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

L_.str.3:                               ## @.str.3
	.asciz	"WEP-128"

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

L_.str.5:                               ## @.str.5
	.asciz	"AES-OCB"

L_.str.6:                               ## @.str.6
	.asciz	"AES-CCM"

L_.str.7:                               ## @.str.7
	.asciz	"CLR"

	.comm	_state,8,2                      ## @state
	.comm	_ah,4,2                         ## @ah
	.comm	_AR_STA_ID1,4,2                 ## @AR_STA_ID1
	.comm	_AR_STA_ID1_CRPT_MIC_ENABLE,4,2 ## @AR_STA_ID1_CRPT_MIC_ENABLE
	.comm	_IEEE80211_ADDR_LEN,4,2         ## @IEEE80211_ADDR_LEN
	.comm	_NBBY,4,2                       ## @NBBY
	.comm	_AR_KEYTABLE_VALID,4,2          ## @AR_KEYTABLE_VALID
	.comm	_AR_KEYTABLE_TYPE_TKIP,4,2      ## @AR_KEYTABLE_TYPE_TKIP
L_.str.9:                               ## @.str.9
	.asciz	"KEY[%03u] MAC %s %-7s %02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x\n"

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

	.no_dead_strip	_ath_hal_dumpkeycache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ath_hal_dumpkeycache
lCPI0_0:
	.space	4
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.long	4294967272                      ; 0xffffffe8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ath_hal_dumpkeycache:                  ; @ath_hal_dumpkeycache
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	stur	w1, [x29, #-116]                ; 4-byte Folded Spill
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _state@GOTPAGE
Lloh4:
	ldr	x8, [x8, _state@GOTPAGEOFF]
	ldp	w0, w1, [x8]
	bl	_SREV
	mov	x19, x0
	mov	w0, #4
	mov	w1, #8
	bl	_SREV
Lloh5:
	adrp	x21, _ah@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ah@GOTPAGEOFF]
	cmp	x19, x0
	b.ge	LBB0_2
; %bb.1:
	stur	wzr, [x29, #-120]               ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:
	ldr	w0, [x21]
Lloh7:
	adrp	x8, _AR_STA_ID1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AR_STA_ID1@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_OS_REG_READ
Lloh10:
	adrp	x8, _AR_STA_ID1_CRPT_MIC_ENABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AR_STA_ID1_CRPT_MIC_ENABLE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	and	w8, w8, w0
	stur	w8, [x29, #-120]                ; 4-byte Folded Spill
LBB0_3:
Lloh13:
	adrp	x8, _IEEE80211_ADDR_LEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IEEE80211_ADDR_LEN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh16:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh17:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x8, x9, x8
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	mov	sp, x8
Lloh18:
	adrp	x8, _NBBY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NBBY@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	w9, #128
	sdiv	w8, w9, w8
	lsl	x9, x8, #2
	add	x10, x9, #15
	and	x12, x10, #0x7fffffff0
Lloh21:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh22:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x0, x9, x12
	mov	sp, x0
	lsl	w2, w8, #2
	stur	x0, [x29, #-104]                ; 8-byte Folded Spill
	mov	w1, #0
	bl	_memset
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.4:
	mov	w23, #0
	mov	w20, #1
Lloh23:
	adrp	x8, lCPI0_0@PAGE
Lloh24:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x29, #-144]                ; 16-byte Folded Spill
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ubfx	w9, w25, #8, #8
	and	w10, w25, #0xff
	ubfx	w11, w25, #16, #8
	lsr	w12, w25, #24
	and	w13, w26, #0xff
	ubfx	w14, w26, #8, #8
	and	w15, w27, #0xff
	ubfx	w16, w27, #8, #8
	ubfx	w17, w27, #16, #8
	lsr	w0, w27, #24
	and	w1, w28, #0xff
	ubfx	w2, w28, #8, #8
	and	w3, w24, #0xff
	ubfx	w4, w24, #8, #8
	ubfx	w5, w24, #16, #8
	lsr	w6, w24, #24
	stp	x23, x19, [sp, #-160]!
	stp	x5, x6, [sp, #136]
	stp	x3, x4, [sp, #120]
	stp	x1, x2, [sp, #104]
	stp	x17, x0, [sp, #88]
	stp	x15, x16, [sp, #72]
	stp	x13, x14, [sp, #56]
	stp	x11, x12, [sp, #40]
	stp	x10, x9, [sp, #24]
	str	x8, [sp, #16]
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
	add	sp, sp, #160
	mov	w20, #0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w23, w23, #1
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cmp	w8, w23
	b.eq	LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w19, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_MAC1
	mov	x1, x0
	mov	x0, x19
	bl	_OS_REG_READ
	mov	x19, x0
Lloh27:
	adrp	x8, _AR_KEYTABLE_VALID@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AR_KEYTABLE_VALID@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_14
LBB0_8:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w24, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_MAC0
	mov	x1, x0
	mov	x0, x24
	bl	_OS_REG_READ
	extr	w8, w19, w0, #31
	lsl	w9, w0, #1
	and	w10, w8, #0xff
	asr	w8, w8, #8
	ldur	x11, [x29, #-96]                ; 8-byte Folded Reload
	stp	w10, w8, [x11, #16]
	dup.4s	v0, w9
	fmov	s1, w9
	movi.4s	v2, #254
	and.16b	v1, v1, v2
	ldur	q2, [x29, #-144]                ; 16-byte Folded Reload
	sshl.4s	v0, v0, v2
	mov.s	v0[0], v1[0]
	str	q0, [x11]
	ldr	w19, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_TYPE
	mov	x1, x0
	mov	x0, x19
	bl	_OS_REG_READ
	and	w22, w0, #0x7
Lloh30:
	adrp	x8, _AR_KEYTABLE_TYPE_TKIP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AR_KEYTABLE_TYPE_TKIP@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w22, w8
	ldur	w8, [x29, #-120]                ; 4-byte Folded Reload
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w1, w23, #64
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	bl	_setbit
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w19, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_KEY0
	mov	x1, x0
	mov	x0, x19
	bl	_OS_REG_READ
	mov	x24, x21
	mov	x25, x0
	ldr	w19, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_KEY1
	mov	x1, x0
	mov	x0, x19
	bl	_OS_REG_READ
	mov	x26, x0
	ldr	w19, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_KEY2
	mov	x1, x0
	mov	x0, x19
	bl	_OS_REG_READ
	mov	x27, x0
	ldr	w19, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_KEY3
	mov	x1, x0
	mov	x0, x19
	bl	_OS_REG_READ
	mov	x28, x0
	ldr	w19, [x21]
	mov	x0, x23
	bl	_AR_KEYTABLE_KEY4
	mov	x1, x0
	mov	x0, x19
	bl	_OS_REG_READ
	mov	x24, x0
	cbz	w20, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #10
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	bl	_fputc
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x0, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_ether_sprintf
	mov	x19, x0
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x23
	bl	_isset
Lloh33:
	adrp	x8, l_.str.10@PAGE
Lloh34:
	add	x8, x8, l_.str.10@PAGEOFF
	cbnz	x0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh35:
	adrp	x8, _ath_hal_dumpkeycache.keytypenames@PAGE
Lloh36:
	add	x8, x8, _ath_hal_dumpkeycache.keytypenames@PAGEOFF
	ldr	x8, [x8, w22, uxtw #3]
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x23
	bl	_isclr
	cbnz	x0, LBB0_6
	b	LBB0_8
LBB0_15:
	ldur	x8, [x29, #-88]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @ath_hal_dumpkeycache.keytypenames
_ath_hal_dumpkeycache.keytypenames:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WEP-40"

l_.str.1:                               ; @.str.1
	.asciz	"WEP-104"

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

l_.str.3:                               ; @.str.3
	.asciz	"WEP-128"

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

l_.str.5:                               ; @.str.5
	.asciz	"AES-OCB"

l_.str.6:                               ; @.str.6
	.asciz	"AES-CCM"

l_.str.7:                               ; @.str.7
	.asciz	"CLR"

	.comm	_state,8,2                      ; @state
	.comm	_ah,4,2                         ; @ah
	.comm	_AR_STA_ID1,4,2                 ; @AR_STA_ID1
	.comm	_AR_STA_ID1_CRPT_MIC_ENABLE,4,2 ; @AR_STA_ID1_CRPT_MIC_ENABLE
	.comm	_IEEE80211_ADDR_LEN,4,2         ; @IEEE80211_ADDR_LEN
	.comm	_NBBY,4,2                       ; @NBBY
	.comm	_AR_KEYTABLE_VALID,4,2          ; @AR_KEYTABLE_VALID
	.comm	_AR_KEYTABLE_TYPE_TKIP,4,2      ; @AR_KEYTABLE_TYPE_TKIP
l_.str.9:                               ; @.str.9
	.asciz	"KEY[%03u] MAC %s %-7s %02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x\n"

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

	.no_dead_strip	_ath_hal_dumpkeycache
.subsections_via_symbols
