	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_tx_mgmt
_nl80211_tx_mgmt:                       ## @nl80211_tx_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	$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	(%rsi), %rsi
	movq	_NL80211_ATTR_FRAME@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpl	$0, (%rsi,%rcx,4)
	je	LBB0_1
## %bb.3:
	movq	16(%rbx), %rcx
	movq	(%rcx), %r14
	movq	16(%r14), %rdx
	cmpl	$0, (%rdx)
	je	LBB0_4
## %bb.5:
	movq	8(%rcx), %r15
	movl	(%r15), %ecx
	andl	$-8, %ecx
	cmpl	$128, %ecx
	jne	LBB0_4
## %bb.6:
	movq	_NL80211_ATTR_DONT_WAIT_FOR_ACK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %r13d
	movq	_NL80211_ATTR_DURATION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.8:
	movq	_WIPHY_FLAG_OFFCHAN_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_1
## %bb.9:
	callq	_nla_get_u32
	movq	_NL80211_MIN_REMAIN_ON_CHANNEL_TIME@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jb	LBB0_1
## %bb.10:
	cmpl	8(%r14), %eax
	ja	LBB0_1
## %bb.11:
	movq	(%rbx), %rsi
	jmp	LBB0_12
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	xorl	%eax, %eax
LBB0_12:
	movq	_NL80211_ATTR_OFFCHANNEL_TX_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.13:
	movq	_WIPHY_FLAG_OFFCHAN_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%r14)
	je	LBB0_1
LBB0_14:
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	_NL80211_ATTR_TX_NO_CCK_RATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %edi
	callq	_nla_get_flag
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_nl80211_parse_chandef
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.15:
	xorl	%eax, %eax
	movl	$0, %ecx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	testl	%r13d, %r13d
	je	LBB0_16
LBB0_20:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	-64(%rbp), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_data
	movl	%eax, %r13d
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_nla_len
                                        ## kill: def $eax killed $eax def $rax
	leaq	-80(%rbp), %r10
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	movl	%r13d, %r9d
	pushq	%r10
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_cfg80211_mlme_mgmt_tx
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_21
## %bb.22:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_23
## %bb.24:
	movq	_NL80211_ATTR_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-80(%rbp), %edx
	movq	%r14, %rdi
	callq	_nla_put_u64
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	%r14, %rdi
	jmp	LBB0_27
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_28:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	_NL80211_CMD_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_nl80211hdr_put
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_19
## %bb.29:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_PTR_ERR
LBB0_21:
	movl	%eax, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_27:
	callq	_nlmsg_free
	jmp	LBB0_28
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_23:
	xorl	%r13d, %r13d
	jmp	LBB0_28
LBB0_19:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_25:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_genlmsg_end
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_genlmsg_reply
	movl	%eax, %r13d
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_DONT_WAIT_FOR_ACK,8,3 ## @NL80211_ATTR_DONT_WAIT_FOR_ACK
	.comm	_NL80211_ATTR_FRAME,8,3         ## @NL80211_ATTR_FRAME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_ATTR_DURATION,8,3      ## @NL80211_ATTR_DURATION
	.comm	_WIPHY_FLAG_OFFCHAN_TX,4,2      ## @WIPHY_FLAG_OFFCHAN_TX
	.comm	_NL80211_MIN_REMAIN_ON_CHANNEL_TIME,4,2 ## @NL80211_MIN_REMAIN_ON_CHANNEL_TIME
	.comm	_NL80211_ATTR_OFFCHANNEL_TX_OK,8,3 ## @NL80211_ATTR_OFFCHANNEL_TX_OK
	.comm	_NL80211_ATTR_TX_NO_CCK_RATE,8,3 ## @NL80211_ATTR_TX_NO_CCK_RATE
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NL80211_CMD_FRAME,4,2          ## @NL80211_CMD_FRAME
	.comm	_NL80211_ATTR_COOKIE,4,2        ## @NL80211_ATTR_COOKIE
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_nl80211_tx_mgmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_tx_mgmt
_nl80211_tx_mgmt:                       ; @nl80211_tx_mgmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x26, _NL80211_ATTR_FRAME@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NL80211_ATTR_FRAME@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_17
; %bb.1:
	mov	x19, x1
	ldr	x9, [x1, #16]
	ldr	x20, [x9]
	ldr	x10, [x20, #16]
	ldr	w10, [x10]
	cbz	w10, LBB0_8
; %bb.2:
	ldr	x21, [x9, #8]
	ldr	w9, [x21]
	and	w9, w9, #0xfffffff8
	cmp	w9, #128
	b.ne	LBB0_8
; %bb.3:
Lloh2:
	adrp	x9, _NL80211_ATTR_DONT_WAIT_FOR_ACK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_ATTR_DONT_WAIT_FOR_ACK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w23, [x8, x9, lsl #2]
Lloh5:
	adrp	x9, _NL80211_ATTR_DURATION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NL80211_ATTR_DURATION@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_9
; %bb.4:
	ldr	w8, [x20, #4]
Lloh8:
	adrp	x9, _WIPHY_FLAG_OFFCHAN_TX@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WIPHY_FLAG_OFFCHAN_TX@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.5:
	bl	_nla_get_u32
Lloh11:
	adrp	x8, _NL80211_MIN_REMAIN_ON_CHANNEL_TIME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NL80211_MIN_REMAIN_ON_CHANNEL_TIME@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.lo	LBB0_17
; %bb.6:
	mov	x22, x0
	ldr	w8, [x20, #8]
	cmp	w0, w8
	b.hi	LBB0_17
; %bb.7:
	ldr	x8, [x19]
	b	LBB0_10
LBB0_8:
Lloh14:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
	mov	w22, #0
LBB0_10:
Lloh16:
	adrp	x9, _NL80211_ATTR_OFFCHANNEL_TX_OK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NL80211_ATTR_OFFCHANNEL_TX_OK@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	w24, [x8, x9, lsl #2]
	cbz	w24, LBB0_12
; %bb.11:
	ldr	w9, [x20, #4]
Lloh19:
	adrp	x10, _WIPHY_FLAG_OFFCHAN_TX@GOTPAGE
Lloh20:
	ldr	x10, [x10, _WIPHY_FLAG_OFFCHAN_TX@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_17
LBB0_12:
Lloh22:
	adrp	x9, _NL80211_ATTR_TX_NO_CCK_RATE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NL80211_ATTR_TX_NO_CCK_RATE@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_get_flag
	mov	x25, x0
	add	x2, sp, #40
	mov	x0, x20
	mov	x1, x19
	bl	_nl80211_parse_chandef
	mov	x27, x0
	cbnz	w0, LBB0_19
; %bb.13:
	cbz	w23, LBB0_20
; %bb.14:
	stp	xzr, xzr, [sp, #16]             ; 16-byte Folded Spill
LBB0_15:
	ldr	w27, [sp, #40]
	ldr	x8, [x19]
	ldr	x9, [x26]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_data
	mov	x28, x0
	ldr	x8, [x19]
	ldr	x9, [x26]
	ldr	w0, [x8, x9, lsl #2]
	bl	_nla_len
	mov	x6, x0
	add	x8, sp, #36
	str	x8, [sp, #8]
	str	w23, [sp]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x27
	mov	x3, x24
	mov	x4, x22
	mov	x5, x28
	mov	x7, x25
	bl	_cfg80211_mlme_mgmt_tx
	cbz	w0, LBB0_23
; %bb.16:
	mov	x27, x0
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_26
LBB0_17:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w27, w8
LBB0_19:
	mov	x0, x27
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_20:
Lloh27:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_27
; %bb.21:
	mov	x28, x0
	ldp	w2, w1, [x19, #8]
Lloh33:
	adrp	x8, _NL80211_CMD_FRAME@GOTPAGE
Lloh34:
	ldr	x8, [x8, _NL80211_CMD_FRAME@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	mov	w3, #0
	bl	_nl80211hdr_put
	mov	x27, x0
	bl	_IS_ERR
	cbz	x0, LBB0_29
; %bb.22:
	mov	x0, x27
	bl	_PTR_ERR
	mov	x27, x0
	b	LBB0_26
LBB0_23:
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	cbz	x28, LBB0_28
; %bb.24:
Lloh36:
	adrp	x8, _NL80211_ATTR_COOKIE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _NL80211_ATTR_COOKIE@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	ldr	w2, [sp, #36]
	mov	x0, x28
	bl	_nla_put_u64
	cbz	x0, LBB0_30
; %bb.25:
Lloh39:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w27, w8
LBB0_26:
	mov	x0, x28
	bl	_nlmsg_free
	b	LBB0_19
LBB0_27:
Lloh42:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_18
LBB0_28:
	mov	w27, #0
	b	LBB0_19
LBB0_29:
	stp	x27, x28, [sp, #16]             ; 16-byte Folded Spill
	b	LBB0_15
LBB0_30:
	mov	x0, x28
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_genlmsg_end
	mov	x0, x28
	mov	x1, x19
	bl	_genlmsg_reply
	mov	x27, x0
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_DONT_WAIT_FOR_ACK,8,3 ; @NL80211_ATTR_DONT_WAIT_FOR_ACK
	.comm	_NL80211_ATTR_FRAME,8,3         ; @NL80211_ATTR_FRAME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_ATTR_DURATION,8,3      ; @NL80211_ATTR_DURATION
	.comm	_WIPHY_FLAG_OFFCHAN_TX,4,2      ; @WIPHY_FLAG_OFFCHAN_TX
	.comm	_NL80211_MIN_REMAIN_ON_CHANNEL_TIME,4,2 ; @NL80211_MIN_REMAIN_ON_CHANNEL_TIME
	.comm	_NL80211_ATTR_OFFCHANNEL_TX_OK,8,3 ; @NL80211_ATTR_OFFCHANNEL_TX_OK
	.comm	_NL80211_ATTR_TX_NO_CCK_RATE,8,3 ; @NL80211_ATTR_TX_NO_CCK_RATE
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NL80211_CMD_FRAME,4,2          ; @NL80211_CMD_FRAME
	.comm	_NL80211_ATTR_COOKIE,4,2        ; @NL80211_ATTR_COOKIE
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_nl80211_tx_mgmt
.subsections_via_symbols
