	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_get_hw_crypto_keytype ## -- Begin function ath9k_cmn_get_hw_crypto_keytype
	.p2align	4, 0x90
_ath9k_cmn_get_hw_crypto_keytype:       ## @ath9k_cmn_get_hw_crypto_keytype
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_IEEE80211_SKB_CB
	movq	(%rax), %rcx
	movq	_ATH9K_KEY_TYPE_CLEAR@GOTPCREL(%rip), %rax
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.1:
	movl	(%rcx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_3
## %bb.2:
	movslq	%ecx, %rax
	leaq	l_switch.table.ath9k_cmn_get_hw_crypto_keytype(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH9K_KEY_TYPE_WEP,4,2         ## @ATH9K_KEY_TYPE_WEP
	.comm	_ATH9K_KEY_TYPE_TKIP,4,2        ## @ATH9K_KEY_TYPE_TKIP
	.comm	_ATH9K_KEY_TYPE_AES,4,2         ## @ATH9K_KEY_TYPE_AES
	.comm	_ATH9K_KEY_TYPE_CLEAR,4,2       ## @ATH9K_KEY_TYPE_CLEAR
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.ath9k_cmn_get_hw_crypto_keytype
l_switch.table.ath9k_cmn_get_hw_crypto_keytype:
	.quad	_ATH9K_KEY_TYPE_WEP
	.quad	_ATH9K_KEY_TYPE_WEP
	.quad	_ATH9K_KEY_TYPE_TKIP
	.quad	_ATH9K_KEY_TYPE_AES

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath9k_cmn_get_hw_crypto_keytype ; -- Begin function ath9k_cmn_get_hw_crypto_keytype
	.p2align	2
_ath9k_cmn_get_hw_crypto_keytype:       ; @ath9k_cmn_get_hw_crypto_keytype
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_IEEE80211_SKB_CB
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.2:
Lloh0:
	adrp	x9, l_switch.table.ath9k_cmn_get_hw_crypto_keytype@PAGE
Lloh1:
	add	x9, x9, l_switch.table.ath9k_cmn_get_hw_crypto_keytype@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _ATH9K_KEY_TYPE_CLEAR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATH9K_KEY_TYPE_CLEAR@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH9K_KEY_TYPE_WEP,4,2         ; @ATH9K_KEY_TYPE_WEP
	.comm	_ATH9K_KEY_TYPE_TKIP,4,2        ; @ATH9K_KEY_TYPE_TKIP
	.comm	_ATH9K_KEY_TYPE_AES,4,2         ; @ATH9K_KEY_TYPE_AES
	.comm	_ATH9K_KEY_TYPE_CLEAR,4,2       ; @ATH9K_KEY_TYPE_CLEAR
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.ath9k_cmn_get_hw_crypto_keytype
l_switch.table.ath9k_cmn_get_hw_crypto_keytype:
	.quad	_ATH9K_KEY_TYPE_WEP
	.quad	_ATH9K_KEY_TYPE_WEP
	.quad	_ATH9K_KEY_TYPE_TKIP
	.quad	_ATH9K_KEY_TYPE_AES

.subsections_via_symbols
