	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nl80211_send_mgmt              ## -- Begin function nl80211_send_mgmt
	.p2align	4, 0x90
_nl80211_send_mgmt:                     ## @nl80211_send_mgmt
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %esi
	movq	(%r14), %r13
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	_NL80211_CMD_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	_NL80211_ATTR_WIPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_5
LBB0_12:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_cancel
	movq	%r12, %rdi
	callq	_nlmsg_free
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_3:
	movq	%r12, %rdi
	callq	_nlmsg_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_14:
	subl	(%rax), %r15d
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testq	%r13, %r13
	je	LBB0_7
## %bb.6:
	movq	_NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r12, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_12
LBB0_7:
	movq	_NL80211_ATTR_WDEV@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r14, %rdi
	callq	_wdev_id
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_nla_put_u64
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movq	_NL80211_ATTR_WIPHY_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	movq	_NL80211_ATTR_RX_SIGNAL_DBM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_12
LBB0_11:
	movq	_NL80211_ATTR_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	_nla_put
	testq	%rax, %rax
	jne	LBB0_12
## %bb.15:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_end
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_wiphy_net
	movl	%eax, %edi
	movq	%r12, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genlmsg_unicast                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NL80211_CMD_FRAME,4,2          ## @NL80211_CMD_FRAME
	.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	_NL80211_ATTR_WIPHY_FREQ,4,2    ## @NL80211_ATTR_WIPHY_FREQ
	.comm	_NL80211_ATTR_RX_SIGNAL_DBM,4,2 ## @NL80211_ATTR_RX_SIGNAL_DBM
	.comm	_NL80211_ATTR_FRAME,4,2         ## @NL80211_ATTR_FRAME
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nl80211_send_mgmt              ; -- Begin function nl80211_send_mgmt
	.p2align	2
_nl80211_send_mgmt:                     ; @nl80211_send_mgmt
	.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
	mov	x23, x6
	mov	x22, x5
	mov	x24, x4
	mov	x26, x3
	mov	x19, x2
	mov	x27, x1
	mov	x21, x0
	ldr	x28, [x1]
Lloh0:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x7
	bl	_nlmsg_new
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _NL80211_CMD_FRAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_CMD_FRAME@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_nl80211hdr_put
	cbz	x0, LBB0_4
; %bb.2:
	mov	x25, x0
Lloh6:
	adrp	x8, _NL80211_ATTR_WIPHY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_nla_put_u32
	cbz	x0, LBB0_7
LBB0_3:
	mov	x0, x20
	mov	x1, x25
	bl	_genlmsg_cancel
	mov	x0, x20
	bl	_nlmsg_free
Lloh9:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_nlmsg_free
LBB0_5:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	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_7:
	cbz	x28, LBB0_9
; %bb.8:
Lloh13:
	adrp	x8, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x28]
	mov	x0, x20
	bl	_nla_put_u32
	cbnz	x0, LBB0_3
LBB0_9:
Lloh16:
	adrp	x8, _NL80211_ATTR_WDEV@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NL80211_ATTR_WDEV@GOTPAGEOFF]
Lloh18:
	ldr	w28, [x8]
	mov	x0, x27
	bl	_wdev_id
	mov	x2, x0
	mov	x0, x20
	mov	x1, x28
	bl	_nla_put_u64
	cbnz	x0, LBB0_3
; %bb.10:
Lloh19:
	adrp	x8, _NL80211_ATTR_WIPHY_FREQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY_FREQ@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x26
	bl	_nla_put_u32
	cbnz	x0, LBB0_3
; %bb.11:
	cbz	w24, LBB0_13
; %bb.12:
Lloh22:
	adrp	x8, _NL80211_ATTR_RX_SIGNAL_DBM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NL80211_ATTR_RX_SIGNAL_DBM@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x24
	bl	_nla_put_u32
	cbnz	x0, LBB0_3
LBB0_13:
Lloh25:
	adrp	x8, _NL80211_ATTR_FRAME@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NL80211_ATTR_FRAME@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x23
	mov	x3, x22
	bl	_nla_put
	cbnz	x0, LBB0_3
; %bb.14:
	mov	x0, x20
	mov	x1, x25
	bl	_genlmsg_end
	add	x0, x21, #4
	bl	_wiphy_net
	mov	x1, x20
	mov	x2, x19
	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
	b	_genlmsg_unicast
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	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
	.cfi_endproc
                                        ; -- End function
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NL80211_CMD_FRAME,4,2          ; @NL80211_CMD_FRAME
	.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	_NL80211_ATTR_WIPHY_FREQ,4,2    ; @NL80211_ATTR_WIPHY_FREQ
	.comm	_NL80211_ATTR_RX_SIGNAL_DBM,4,2 ; @NL80211_ATTR_RX_SIGNAL_DBM
	.comm	_NL80211_ATTR_FRAME,4,2         ; @NL80211_ATTR_FRAME
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
.subsections_via_symbols
