	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_config_pairwise_key     ## -- Begin function rt2800_config_pairwise_key
	.p2align	4, 0x90
_rt2800_config_pairwise_key:            ## @rt2800_config_pairwise_key
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rsi), %rax
	movq	_SET_KEY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	movq	_WCID_END@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.2:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_3:
	movq	%rax, (%r14)
	movl	24(%rbx), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	20(%rbx), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	16(%rbx), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r14), %rdi
	callq	_PAIRWISE_KEY_ENTRY
	leaq	-40(%rbp), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$12, %ecx
	callq	_rt2800_register_multiwrite
LBB0_4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_rt2800_config_wcid_attr_cipher
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SET_KEY,8,3                    ## @SET_KEY
	.comm	_WCID_END,8,3                   ## @WCID_END
	.comm	_ENOSPC,4,2                     ## @ENOSPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_config_pairwise_key     ; -- Begin function rt2800_config_pairwise_key
	.p2align	2
_rt2800_config_pairwise_key:            ; @rt2800_config_pairwise_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _SET_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SET_KEY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _WCID_END@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WCID_END@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	str	x8, [x19]
	ldr	w1, [x20, #24]
	mov	w2, #4
	bl	_memcpy
	ldr	w1, [x20, #20]
	mov	w2, #4
	bl	_memcpy
	ldr	w1, [x20, #16]
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [x19]
	bl	_PAIRWISE_KEY_ENTRY
	mov	x1, x0
	mov	x2, sp
	mov	x0, x21
	mov	w3, #12
	bl	_rt2800_register_multiwrite
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_rt2800_config_wcid_attr_cipher
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SET_KEY,8,3                    ; @SET_KEY
	.comm	_WCID_END,8,3                   ; @WCID_END
	.comm	_ENOSPC,4,2                     ; @ENOSPC
.subsections_via_symbols
