	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_get_key_seq             ## -- Begin function rt2800_get_key_seq
	.p2align	4, 0x90
_rt2800_get_key_seq:                    ## @rt2800_get_key_seq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	movq	_WLAN_CIPHER_SUITE_TKIP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%rdx, %rbx
	movq	(%rdi), %r14
	movl	8(%rsi), %edi
	callq	_MAC_IVEIV_ENTRY
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$8, %ecx
	callq	_rt2800_register_multiread
	leaq	4(%rbx), %rdi
	movq	-24(%rbp), %rsi
	movl	$2, %edx
	callq	_memcpy
	movq	-24(%rbp), %rsi
	addq	$16, %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_CIPHER_SUITE_TKIP,8,3     ## @WLAN_CIPHER_SUITE_TKIP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_get_key_seq             ; -- Begin function rt2800_get_key_seq
	.p2align	2
_rt2800_get_key_seq:                    ; @rt2800_get_key_seq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _WLAN_CIPHER_SUITE_TKIP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WLAN_CIPHER_SUITE_TKIP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x2
	ldr	x20, [x0]
	ldr	w0, [x1, #8]
	bl	_MAC_IVEIV_ENTRY
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #8
	bl	_rt2800_register_multiread
	add	x0, x19, #4
	ldr	x1, [sp, #8]
	mov	w2, #2
	bl	_memcpy
	ldr	x8, [sp, #8]
	add	x1, x8, #16
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_CIPHER_SUITE_TKIP,8,3     ; @WLAN_CIPHER_SUITE_TKIP
.subsections_via_symbols
