	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_set_rekey_data
_nl80211_set_rekey_data:                ## @nl80211_set_rekey_data
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NUM_NL80211_REKEY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	_NL80211_ATTR_REKEY_DATA@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r13
	movq	8(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_MAX_NL80211_REKEY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	callq	_nla_data
	movl	%eax, %r15d
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	_nl80211_rekey_policy@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movl	%r15d, %edx
	movq	%rax, %rcx
	callq	_nla_parse
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.4:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_NL80211_REKEY_DATA_REPLAY_CTR@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_nla_len
	movq	_NL80211_REPLAY_CTR_LEN@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_5
## %bb.6:
	movq	_NL80211_REKEY_DATA_KEK@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_nla_len
	movq	_NL80211_KEK_LEN@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.7:
	movq	_NL80211_REKEY_DATA_KCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	callq	_nla_len
	movq	_NL80211_KCK_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.8:
	movq	(%r13), %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13,%rax,8), %rdi
	callq	_nla_data
	movq	(%r15), %rdx
	movl	%eax, %esi
	callq	_memcpy
	movq	_NL80211_REKEY_DATA_KCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	callq	_nla_data
	movq	_NL80211_KCK_LEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%eax, %esi
	callq	_memcpy
	movq	(%r14), %rax
	movq	(%r13,%rax,8), %rdi
	callq	_nla_data
	movq	(%rbx), %rdx
	movl	%eax, %esi
	callq	_memcpy
	movq	%r12, %r14
	movq	%r12, %rdi
	callq	_wdev_lock
	cmpl	$0, (%r12)
	je	LBB0_9
## %bb.11:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.13:
	leaq	-96(%rbp), %rdx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_rdev_set_rekey_data
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_ERANGE@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_12:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_10:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movq	%r14, %rdi
	callq	_wdev_unlock
	jmp	LBB0_15
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_NL80211_REKEY_DATA,4,2     ## @NUM_NL80211_REKEY_DATA
	.comm	_NL80211_ATTR_REKEY_DATA,8,3    ## @NL80211_ATTR_REKEY_DATA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MAX_NL80211_REKEY_DATA,4,2     ## @MAX_NL80211_REKEY_DATA
	.comm	_nl80211_rekey_policy,4,2       ## @nl80211_rekey_policy
	.comm	_NL80211_REKEY_DATA_REPLAY_CTR,8,3 ## @NL80211_REKEY_DATA_REPLAY_CTR
	.comm	_NL80211_REPLAY_CTR_LEN,8,3     ## @NL80211_REPLAY_CTR_LEN
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_NL80211_REKEY_DATA_KEK,8,3     ## @NL80211_REKEY_DATA_KEK
	.comm	_NL80211_KEK_LEN,8,3            ## @NL80211_KEK_LEN
	.comm	_NL80211_REKEY_DATA_KCK,8,3     ## @NL80211_REKEY_DATA_KCK
	.comm	_NL80211_KCK_LEN,8,3            ## @NL80211_KCK_LEN
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nl80211_set_rekey_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_set_rekey_data
_nl80211_set_rekey_data:                ; @nl80211_set_rekey_data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x23, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x1, #8]
	ldp	x20, x21, [x8]
	ldr	x19, [x21, #8]
Lloh3:
	adrp	x8, _NUM_NL80211_REKEY_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUM_NL80211_REKEY_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	x8, [x1]
Lloh8:
	adrp	x26, _NL80211_ATTR_REKEY_DATA@GOTPAGE
Lloh9:
	ldr	x26, [x26, _NL80211_ATTR_REKEY_DATA@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_8
; %bb.1:
Lloh10:
	adrp	x8, _MAX_NL80211_REKEY_DATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX_NL80211_REKEY_DATA@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x8]
	bl	_nla_data
	mov	x25, x0
	ldr	x8, [x23]
	ldr	x9, [x26]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	mov	x3, x0
Lloh13:
	adrp	x8, _nl80211_rekey_policy@GOTPAGE
Lloh14:
	ldr	x8, [x8, _nl80211_rekey_policy@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x25
	bl	_nla_parse
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.2:
Lloh16:
	adrp	x23, _NL80211_REKEY_DATA_REPLAY_CTR@GOTPAGE
Lloh17:
	ldr	x23, [x23, _NL80211_REKEY_DATA_REPLAY_CTR@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_len
Lloh18:
	adrp	x24, _NL80211_REPLAY_CTR_LEN@GOTPAGE
Lloh19:
	ldr	x24, [x24, _NL80211_REPLAY_CTR_LEN@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.3:
Lloh20:
	adrp	x25, _NL80211_REKEY_DATA_KEK@GOTPAGE
Lloh21:
	ldr	x25, [x25, _NL80211_REKEY_DATA_KEK@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_len
Lloh22:
	adrp	x26, _NL80211_KEK_LEN@GOTPAGE
Lloh23:
	ldr	x26, [x26, _NL80211_KEK_LEN@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.4:
Lloh24:
	adrp	x27, _NL80211_REKEY_DATA_KCK@GOTPAGE
Lloh25:
	ldr	x27, [x27, _NL80211_REKEY_DATA_KCK@GOTPAGEOFF]
	ldr	x8, [x27]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_len
Lloh26:
	adrp	x28, _NL80211_KCK_LEN@GOTPAGE
Lloh27:
	ldr	x28, [x28, _NL80211_KCK_LEN@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:
	ldr	x8, [x25]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_data
	ldr	x2, [x26]
	mov	x1, x0
	bl	_memcpy
	ldr	x8, [x27]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_data
	ldr	x2, [x28]
	mov	x1, x0
	bl	_memcpy
	ldr	x8, [x23]
	ldr	x0, [x22, x8, lsl #3]
	bl	_nla_data
	ldr	x2, [x24]
	mov	x1, x0
	bl	_memcpy
	mov	x0, x19
	bl	_wdev_lock
	ldr	w8, [x19]
	cbz	w8, LBB0_13
; %bb.6:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_14
; %bb.7:
	sub	x2, x29, #104
	mov	x0, x20
	mov	x1, x21
	bl	_rdev_set_rekey_data
	mov	x23, x0
	b	LBB0_16
LBB0_8:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh30:
	adrp	x8, _ERANGE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.12:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh35:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh37:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_16:
	mov	x0, x19
	bl	_wdev_unlock
	b	LBB0_11
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_NL80211_REKEY_DATA,4,2     ; @NUM_NL80211_REKEY_DATA
	.comm	_NL80211_ATTR_REKEY_DATA,8,3    ; @NL80211_ATTR_REKEY_DATA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MAX_NL80211_REKEY_DATA,4,2     ; @MAX_NL80211_REKEY_DATA
	.comm	_nl80211_rekey_policy,4,2       ; @nl80211_rekey_policy
	.comm	_NL80211_REKEY_DATA_REPLAY_CTR,8,3 ; @NL80211_REKEY_DATA_REPLAY_CTR
	.comm	_NL80211_REPLAY_CTR_LEN,8,3     ; @NL80211_REPLAY_CTR_LEN
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_NL80211_REKEY_DATA_KEK,8,3     ; @NL80211_REKEY_DATA_KEK
	.comm	_NL80211_KEK_LEN,8,3            ; @NL80211_KEK_LEN
	.comm	_NL80211_REKEY_DATA_KCK,8,3     ; @NL80211_REKEY_DATA_KCK
	.comm	_NL80211_KCK_LEN,8,3            ; @NL80211_KCK_LEN
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nl80211_set_rekey_data
.subsections_via_symbols
