	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt7603_mac_get_key_info
_mt7603_mac_get_key_info:               ## @mt7603_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_7
## %bb.1:
	movl	(%rbx), %edx
	cmpl	$32, %edx
	jle	LBB0_2
LBB0_7:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_memcpy
	movl	4(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.3:
	movq	_MT_CIPHER_WEP40@GOTPCREL(%rip), %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_MT_CIPHER_WEP104@GOTPCREL(%rip), %r15
	jmp	LBB0_7
LBB0_5:
	leaq	64(%r14), %rdi
	movl	8(%rbx), %esi
	addl	$24, %esi
	movl	$8, %edx
	callq	_memcpy
	addq	$96, %r14
	movl	8(%rbx), %esi
	addl	$16, %esi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_memcpy
	movq	_MT_CIPHER_TKIP@GOTPCREL(%rip), %r15
	jmp	LBB0_7
LBB0_6:
	movq	_MT_CIPHER_AES_CCMP@GOTPCREL(%rip), %r15
	jmp	LBB0_7
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.end_data_region
                                        ## -- 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	_mt7603_mac_get_key_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt7603_mac_get_key_info
_mt7603_mac_get_key_info:               ; @mt7603_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_2
; %bb.1:
	ldr	w2, [x19]
	cmp	w2, #32
	b.le	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _MT_CIPHER_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_CIPHER_NONE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_memcpy
	ldr	w8, [x19, #4]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hi	LBB0_2
; %bb.5:
Lloh2:
	adrp	x8, _MT_CIPHER_WEP40@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MT_CIPHER_WEP40@GOTPAGEOFF]
Lloh4:
	adrp	x10, lJTI0_0@PAGE
Lloh5:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_6:
Lloh6:
	adrp	x8, _MT_CIPHER_WEP104@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MT_CIPHER_WEP104@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	add	x0, x20, #64
	ldr	w8, [x19, #8]
	add	w1, w8, #24
	mov	w2, #8
	bl	_memcpy
	add	x0, x20, #96
	ldr	w8, [x19, #8]
	add	w1, w8, #16
	mov	w2, #8
	bl	_memcpy
Lloh8:
	adrp	x8, _MT_CIPHER_TKIP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MT_CIPHER_TKIP@GOTPAGEOFF]
	b	LBB0_3
LBB0_8:
Lloh10:
	adrp	x8, _MT_CIPHER_AES_CCMP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MT_CIPHER_AES_CCMP@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- 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	_mt7603_mac_get_key_info
.subsections_via_symbols
