	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x02_mac_get_key_info
_mt76x02_mac_get_key_info:              ## @mt76x02_mac_get_key_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_MT_CIPHER_NONE@GOTPCREL(%rip), %r15
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %edx
	cmpl	$32, %edx
	jg	LBB0_4
## %bb.2:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_4
## %bb.3:
	cltq
	leaq	l_switch.table.mt76x02_mac_get_key_info(%rip), %rcx
	movq	(%rcx,%rax,8), %r15
LBB0_4:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_CIPHER_NONE,4,2             ## @MT_CIPHER_NONE
	.comm	_MT_CIPHER_WEP40,4,2            ## @MT_CIPHER_WEP40
	.comm	_MT_CIPHER_WEP104,4,2           ## @MT_CIPHER_WEP104
	.comm	_MT_CIPHER_TKIP,4,2             ## @MT_CIPHER_TKIP
	.comm	_MT_CIPHER_AES_CCMP,4,2         ## @MT_CIPHER_AES_CCMP
	.no_dead_strip	_mt76x02_mac_get_key_info
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.mt76x02_mac_get_key_info
l_switch.table.mt76x02_mac_get_key_info:
	.quad	_MT_CIPHER_WEP40
	.quad	_MT_CIPHER_WEP104
	.quad	_MT_CIPHER_TKIP
	.quad	_MT_CIPHER_AES_CCMP

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x02_mac_get_key_info
_mt76x02_mac_get_key_info:              ; @mt76x02_mac_get_key_info
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	cbz	x19, LBB0_4
; %bb.1:
	ldr	w2, [x19]
	cmp	w2, #32
	b.gt	LBB0_4
; %bb.2:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_memcpy
	ldr	w8, [x19, #4]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.3:
Lloh0:
	adrp	x9, l_switch.table.mt76x02_mac_get_key_info@PAGE
Lloh1:
	add	x9, x9, l_switch.table.mt76x02_mac_get_key_info@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _MT_CIPHER_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MT_CIPHER_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_CIPHER_NONE,4,2             ; @MT_CIPHER_NONE
	.comm	_MT_CIPHER_WEP40,4,2            ; @MT_CIPHER_WEP40
	.comm	_MT_CIPHER_WEP104,4,2           ; @MT_CIPHER_WEP104
	.comm	_MT_CIPHER_TKIP,4,2             ; @MT_CIPHER_TKIP
	.comm	_MT_CIPHER_AES_CCMP,4,2         ; @MT_CIPHER_AES_CCMP
	.no_dead_strip	_mt76x02_mac_get_key_info
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.mt76x02_mac_get_key_info
l_switch.table.mt76x02_mac_get_key_info:
	.quad	_MT_CIPHER_WEP40
	.quad	_MT_CIPHER_WEP104
	.quad	_MT_CIPHER_TKIP
	.quad	_MT_CIPHER_AES_CCMP

.subsections_via_symbols
