	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_send_sched_scan_msg
_nl80211_send_sched_scan_msg:           ## @nl80211_send_sched_scan_msg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %eax
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	16(%rbp), %r8d
	movl	%ecx, %esi
	movl	%eax, %edx
	movl	%r9d, %ecx
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_NL80211_ATTR_WIPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_cancel
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genlmsg_end                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_WIPHY,4,2         ## @NL80211_ATTR_WIPHY
	.comm	_NL80211_ATTR_IFINDEX,4,2       ## @NL80211_ATTR_IFINDEX
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_nl80211_send_sched_scan_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_send_sched_scan_msg
_nl80211_send_sched_scan_msg:           ; @nl80211_send_sched_scan_msg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	bl	_nl80211hdr_put
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_WIPHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_nla_put_u32
	cbz	x0, LBB0_6
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_cancel
Lloh6:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_genlmsg_end
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_WIPHY,4,2         ; @NL80211_ATTR_WIPHY
	.comm	_NL80211_ATTR_IFINDEX,4,2       ; @NL80211_ATTR_IFINDEX
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_nl80211_send_sched_scan_msg
.subsections_via_symbols
