	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_send_survey
_nl80211_send_survey:                   ## @nl80211_send_survey
	.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	%r9, %r15
	movq	%r8, %rbx
	movq	%rdi, %r13
	movq	_NL80211_CMD_NEW_SURVEY_RESULTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_3
LBB0_25:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_genlmsg_cancel
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_26:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_NL80211_ATTR_SURVEY_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_25
## %bb.4:
	movq	%rax, %r12
	movq	_NL80211_SURVEY_INFO_FREQUENCY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	32(%r15), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_25
## %bb.5:
	movl	(%r15), %eax
	movq	_SURVEY_INFO_NOISE_DBM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	movq	_NL80211_SURVEY_INFO_NOISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r15), %edx
	movq	%r13, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_25
## %bb.7:
	movl	(%r15), %eax
LBB0_8:
	movq	_SURVEY_INFO_IN_USE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	movq	_NL80211_SURVEY_INFO_IN_USE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_nla_put_flag
	testq	%rax, %rax
	jne	LBB0_25
## %bb.10:
	movl	(%r15), %eax
LBB0_11:
	movq	_SURVEY_INFO_CHANNEL_TIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.12:
	movq	_NL80211_SURVEY_INFO_CHANNEL_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r15), %edx
	movq	%r13, %rdi
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_25
## %bb.13:
	movl	(%r15), %eax
LBB0_14:
	movq	_SURVEY_INFO_CHANNEL_TIME_BUSY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.15:
	movq	_NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	movq	%r13, %rdi
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_25
## %bb.16:
	movl	(%r15), %eax
LBB0_17:
	movq	_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.18:
	movq	_NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%r13, %rdi
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_25
## %bb.19:
	movl	(%r15), %eax
LBB0_20:
	movq	_SURVEY_INFO_CHANNEL_TIME_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.21:
	movq	_NL80211_SURVEY_INFO_CHANNEL_TIME_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movq	%r13, %rdi
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_25
## %bb.22:
	movl	(%r15), %eax
LBB0_23:
	movq	_SURVEY_INFO_CHANNEL_TIME_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.24:
	movq	_NL80211_SURVEY_INFO_CHANNEL_TIME_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %edx
	movq	%r13, %rdi
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_25
LBB0_27:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_nla_nest_end
	movq	%r13, %rdi
	movq	%r14, %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_CMD_NEW_SURVEY_RESULTS,4,2 ## @NL80211_CMD_NEW_SURVEY_RESULTS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NL80211_ATTR_IFINDEX,4,2       ## @NL80211_ATTR_IFINDEX
	.comm	_NL80211_ATTR_SURVEY_INFO,4,2   ## @NL80211_ATTR_SURVEY_INFO
	.comm	_NL80211_SURVEY_INFO_FREQUENCY,4,2 ## @NL80211_SURVEY_INFO_FREQUENCY
	.comm	_SURVEY_INFO_NOISE_DBM,4,2      ## @SURVEY_INFO_NOISE_DBM
	.comm	_NL80211_SURVEY_INFO_NOISE,4,2  ## @NL80211_SURVEY_INFO_NOISE
	.comm	_SURVEY_INFO_IN_USE,4,2         ## @SURVEY_INFO_IN_USE
	.comm	_NL80211_SURVEY_INFO_IN_USE,4,2 ## @NL80211_SURVEY_INFO_IN_USE
	.comm	_SURVEY_INFO_CHANNEL_TIME,4,2   ## @SURVEY_INFO_CHANNEL_TIME
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME,4,2 ## @NL80211_SURVEY_INFO_CHANNEL_TIME
	.comm	_SURVEY_INFO_CHANNEL_TIME_BUSY,4,2 ## @SURVEY_INFO_CHANNEL_TIME_BUSY
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY,4,2 ## @NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY
	.comm	_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,2 ## @SURVEY_INFO_CHANNEL_TIME_EXT_BUSY
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,2 ## @NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY
	.comm	_SURVEY_INFO_CHANNEL_TIME_RX,4,2 ## @SURVEY_INFO_CHANNEL_TIME_RX
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_RX,4,2 ## @NL80211_SURVEY_INFO_CHANNEL_TIME_RX
	.comm	_SURVEY_INFO_CHANNEL_TIME_TX,4,2 ## @SURVEY_INFO_CHANNEL_TIME_TX
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_TX,4,2 ## @NL80211_SURVEY_INFO_CHANNEL_TIME_TX
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_nl80211_send_survey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_send_survey
_nl80211_send_survey:                   ; @nl80211_send_survey
	.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, x5
	mov	x22, x4
	mov	x19, x0
Lloh0:
	adrp	x8, _NL80211_CMD_NEW_SURVEY_RESULTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_CMD_NEW_SURVEY_RESULTS@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	bl	_nl80211hdr_put
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_nla_put_u32
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_genlmsg_cancel
Lloh6:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	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_5:
Lloh10:
	adrp	x8, _NL80211_ATTR_SURVEY_INFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NL80211_ATTR_SURVEY_INFO@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_nest_start
	cbz	x0, LBB0_2
; %bb.6:
	mov	x22, x0
Lloh13:
	adrp	x8, _NL80211_SURVEY_INFO_FREQUENCY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_FREQUENCY@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	x8, [x21, #32]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_2
; %bb.7:
	ldr	w8, [x21]
Lloh16:
	adrp	x9, _SURVEY_INFO_NOISE_DBM@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SURVEY_INFO_NOISE_DBM@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.8:
Lloh19:
	adrp	x8, _NL80211_SURVEY_INFO_NOISE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_NOISE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x21, #24]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_2
; %bb.9:
	ldr	w8, [x21]
LBB0_10:
Lloh22:
	adrp	x9, _SURVEY_INFO_IN_USE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SURVEY_INFO_IN_USE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.11:
Lloh25:
	adrp	x8, _NL80211_SURVEY_INFO_IN_USE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_IN_USE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_put_flag
	cbnz	x0, LBB0_2
; %bb.12:
	ldr	w8, [x21]
LBB0_13:
Lloh28:
	adrp	x9, _SURVEY_INFO_CHANNEL_TIME@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SURVEY_INFO_CHANNEL_TIME@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.14:
Lloh31:
	adrp	x8, _NL80211_SURVEY_INFO_CHANNEL_TIME@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_CHANNEL_TIME@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w2, [x21, #20]
	mov	x0, x19
	bl	_nla_put_u64
	cbnz	x0, LBB0_2
; %bb.15:
	ldr	w8, [x21]
LBB0_16:
Lloh34:
	adrp	x9, _SURVEY_INFO_CHANNEL_TIME_BUSY@GOTPAGE
Lloh35:
	ldr	x9, [x9, _SURVEY_INFO_CHANNEL_TIME_BUSY@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.17:
Lloh37:
	adrp	x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	ldr	w2, [x21, #16]
	mov	x0, x19
	bl	_nla_put_u64
	cbnz	x0, LBB0_2
; %bb.18:
	ldr	w8, [x21]
LBB0_19:
Lloh40:
	adrp	x9, _SURVEY_INFO_CHANNEL_TIME_EXT_BUSY@GOTPAGE
Lloh41:
	ldr	x9, [x9, _SURVEY_INFO_CHANNEL_TIME_EXT_BUSY@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.20:
Lloh43:
	adrp	x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldr	w2, [x21, #12]
	mov	x0, x19
	bl	_nla_put_u64
	cbnz	x0, LBB0_2
; %bb.21:
	ldr	w8, [x21]
LBB0_22:
Lloh46:
	adrp	x9, _SURVEY_INFO_CHANNEL_TIME_RX@GOTPAGE
Lloh47:
	ldr	x9, [x9, _SURVEY_INFO_CHANNEL_TIME_RX@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.23:
Lloh49:
	adrp	x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_RX@GOTPAGE
Lloh50:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_RX@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	mov	x0, x19
	bl	_nla_put_u64
	cbnz	x0, LBB0_2
; %bb.24:
	ldr	w8, [x21]
LBB0_25:
Lloh52:
	adrp	x9, _SURVEY_INFO_CHANNEL_TIME_TX@GOTPAGE
Lloh53:
	ldr	x9, [x9, _SURVEY_INFO_CHANNEL_TIME_TX@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
Lloh55:
	adrp	x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_TX@GOTPAGE
Lloh56:
	ldr	x8, [x8, _NL80211_SURVEY_INFO_CHANNEL_TIME_TX@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	mov	x0, x19
	bl	_nla_put_u64
	cbnz	x0, LBB0_2
LBB0_27:
	mov	x0, x19
	mov	x1, x22
	bl	_nla_nest_end
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_CMD_NEW_SURVEY_RESULTS,4,2 ; @NL80211_CMD_NEW_SURVEY_RESULTS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NL80211_ATTR_IFINDEX,4,2       ; @NL80211_ATTR_IFINDEX
	.comm	_NL80211_ATTR_SURVEY_INFO,4,2   ; @NL80211_ATTR_SURVEY_INFO
	.comm	_NL80211_SURVEY_INFO_FREQUENCY,4,2 ; @NL80211_SURVEY_INFO_FREQUENCY
	.comm	_SURVEY_INFO_NOISE_DBM,4,2      ; @SURVEY_INFO_NOISE_DBM
	.comm	_NL80211_SURVEY_INFO_NOISE,4,2  ; @NL80211_SURVEY_INFO_NOISE
	.comm	_SURVEY_INFO_IN_USE,4,2         ; @SURVEY_INFO_IN_USE
	.comm	_NL80211_SURVEY_INFO_IN_USE,4,2 ; @NL80211_SURVEY_INFO_IN_USE
	.comm	_SURVEY_INFO_CHANNEL_TIME,4,2   ; @SURVEY_INFO_CHANNEL_TIME
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME,4,2 ; @NL80211_SURVEY_INFO_CHANNEL_TIME
	.comm	_SURVEY_INFO_CHANNEL_TIME_BUSY,4,2 ; @SURVEY_INFO_CHANNEL_TIME_BUSY
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY,4,2 ; @NL80211_SURVEY_INFO_CHANNEL_TIME_BUSY
	.comm	_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,2 ; @SURVEY_INFO_CHANNEL_TIME_EXT_BUSY
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY,4,2 ; @NL80211_SURVEY_INFO_CHANNEL_TIME_EXT_BUSY
	.comm	_SURVEY_INFO_CHANNEL_TIME_RX,4,2 ; @SURVEY_INFO_CHANNEL_TIME_RX
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_RX,4,2 ; @NL80211_SURVEY_INFO_CHANNEL_TIME_RX
	.comm	_SURVEY_INFO_CHANNEL_TIME_TX,4,2 ; @SURVEY_INFO_CHANNEL_TIME_TX
	.comm	_NL80211_SURVEY_INFO_CHANNEL_TIME_TX,4,2 ; @NL80211_SURVEY_INFO_CHANNEL_TIME_TX
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_nl80211_send_survey
.subsections_via_symbols
