	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_vattach       ## -- Begin function ieee80211_crypto_vattach
	.p2align	4, 0x90
_ieee80211_crypto_vattach:              ## @ieee80211_crypto_vattach
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_IEEE80211_WEP_NKID@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, (%rdi)
	movq	_IEEE80211_KEYIX_NONE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%edx, 48(%rdi)
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.1:
	movq	40(%r12), %rsi
	movq	%r12, %rdi
	callq	_ieee80211_crypto_resetkey
	cmpl	$2, (%r14)
	jl	LBB0_4
## %bb.2:
	movl	$1, %r13d
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movq	40(%r12), %rsi
	addq	%rbx, %rsi
	movq	%r12, %rdi
	callq	_ieee80211_crypto_resetkey
	incq	%r13
	movslq	(%r14), %rax
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_4:
	movq	_null_key_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r12)
	movq	_null_key_set@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	movq	_null_key_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
	movq	_null_key_update@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r12)
	movq	%rax, 8(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_WEP_NKID,4,2         ## @IEEE80211_WEP_NKID
	.comm	_IEEE80211_KEYIX_NONE,4,2       ## @IEEE80211_KEYIX_NONE
	.comm	_null_key_alloc,4,2             ## @null_key_alloc
	.comm	_null_key_set,4,2               ## @null_key_set
	.comm	_null_key_delete,4,2            ## @null_key_delete
	.comm	_null_key_update,8,3            ## @null_key_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_crypto_vattach       ; -- Begin function ieee80211_crypto_vattach
	.p2align	2
_ieee80211_crypto_vattach:              ; @ieee80211_crypto_vattach
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x20, _IEEE80211_WEP_NKID@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IEEE80211_WEP_NKID@GOTPAGEOFF]
	ldr	w8, [x20]
	str	w8, [x0]
Lloh2:
	adrp	x21, _IEEE80211_KEYIX_NONE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _IEEE80211_KEYIX_NONE@GOTPAGEOFF]
	ldr	w2, [x21]
	str	w2, [x0, #48]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	x1, [x19, #40]
	mov	x0, x19
	bl	_ieee80211_crypto_resetkey
	ldr	w8, [x20]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.2:
	mov	w22, #1
	mov	w23, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	ldr	x8, [x19, #40]
	add	x1, x8, x23
	mov	x0, x19
	bl	_ieee80211_crypto_resetkey
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x23, x23, #4
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
Lloh4:
	adrp	x8, _null_key_alloc@GOTPAGE
Lloh5:
	ldr	x8, [x8, _null_key_alloc@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _null_key_set@GOTPAGE
Lloh8:
	ldr	x9, [x9, _null_key_set@GOTPAGEOFF]
	str	w8, [x19, #32]
Lloh9:
	ldr	w8, [x9]
Lloh10:
	adrp	x9, _null_key_delete@GOTPAGE
Lloh11:
	ldr	x9, [x9, _null_key_delete@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh13:
	adrp	x8, _null_key_update@GOTPAGE
Lloh14:
	ldr	x8, [x8, _null_key_update@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_WEP_NKID,4,2         ; @IEEE80211_WEP_NKID
	.comm	_IEEE80211_KEYIX_NONE,4,2       ; @IEEE80211_KEYIX_NONE
	.comm	_null_key_alloc,4,2             ; @null_key_alloc
	.comm	_null_key_set,4,2               ; @null_key_set
	.comm	_null_key_delete,4,2            ; @null_key_delete
	.comm	_null_key_update,8,3            ; @null_key_update
.subsections_via_symbols
