	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_send_scan_msg
_nl80211_send_scan_msg:                 ## @nl80211_send_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	%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
	movl	%r8d, %eax
	movq	%rdx, %r12
	movq	%rsi, %r14
	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, %r15
	movq	_NL80211_ATTR_WIPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_cancel
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_1:
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	_NL80211_ATTR_WDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_wdev_id
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_nl80211_add_scan_req
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_NL80211_ATTR_WDEV,4,2          ## @NL80211_ATTR_WDEV
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_nl80211_send_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_scan_msg
_nl80211_send_scan_msg:                 ; @nl80211_send_scan_msg
	.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	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	bl	_nl80211hdr_put
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_WIPHY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_nla_put_u32
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_genlmsg_cancel
Lloh3:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	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
LBB0_5:
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.6:
Lloh6:
	adrp	x9, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_2
LBB0_7:
Lloh9:
	adrp	x8, _NL80211_ATTR_WDEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_ATTR_WDEV@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_wdev_id
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_nla_put_u64
	cbnz	x0, LBB0_2
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	bl	_nl80211_add_scan_req
	mov	x0, x19
	mov	x1, x21
	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
	b	_genlmsg_end
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_WIPHY,4,2         ; @NL80211_ATTR_WIPHY
	.comm	_NL80211_ATTR_IFINDEX,4,2       ; @NL80211_ATTR_IFINDEX
	.comm	_NL80211_ATTR_WDEV,4,2          ; @NL80211_ATTR_WDEV
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_nl80211_send_scan_msg
.subsections_via_symbols
