	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_mlme_mgmt_tx          ## -- Begin function cfg80211_mlme_mgmt_tx
	.p2align	4, 0x90
_cfg80211_mlme_mgmt_tx:                 ## @cfg80211_mlme_mgmt_tx
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rsi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.4:
	cmpq	$24, 16(%rbp)
	jbe	LBB0_5
## %bb.6:
	movq	%r9, %r13
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movq	%rsi, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	24(%r9), %edi
	callq	_ieee80211_is_mgmt
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	24(%r13), %edi
	callq	_le16_to_cpu
	movq	_IEEE80211_FCTL_STYPE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	(%r12), %rcx
	movq	16(%r12), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rcx,4), %r15d
	sarl	$4, %eax
	movl	%eax, %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_5
## %bb.8:
	movl	24(%r13), %edi
	callq	_ieee80211_is_action
	testq	%rax, %rax
	je	LBB0_25
## %bb.9:
	movq	16(%r13), %rax
	movq	_WLAN_CATEGORY_PUBLIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.10:
	movq	%r12, %rdi
	callq	_wdev_lock
	movq	(%r12), %rax
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %r15
	addq	$-128, %rax
	cmpq	$7, %rax
	ja	LBB0_17
## %bb.11:
	movl	$98, %ecx
	btq	%rax, %rcx
	jb	LBB0_27
## %bb.12:
	movl	$137, %ecx
	btq	%rax, %rcx
	jae	LBB0_13
## %bb.20:
	movq	8(%r12), %rax
	movq	_ENOTCONN@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_17
## %bb.21:
	movl	(%rax), %edi
	movl	4(%r13), %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	je	LBB0_17
## %bb.22:
	cmpq	$135, (%r12)
	je	LBB0_24
## %bb.23:
	movq	8(%r12), %rax
	movl	(%rax), %edi
	movl	8(%r13), %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	jne	LBB0_24
	jmp	LBB0_17
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_27:
	movl	4(%r13), %r15d
	movq	%r12, %rdi
	callq	_wdev_address
	movl	%r15d, %edi
	movl	%eax, %esi
	jmp	LBB0_15
LBB0_13:
	cmpq	$4, %rax
	jne	LBB0_17
## %bb.14:
	movl	(%r13), %edi
	movl	4(%r13), %esi
LBB0_15:
	callq	_ether_addr_equal
	testl	%eax, %eax
	je	LBB0_16
LBB0_24:
	movq	%r12, %rdi
	callq	_wdev_unlock
	jmp	LBB0_25
LBB0_16:
	movq	_EINVAL@GOTPCREL(%rip), %r15
LBB0_17:
	movl	(%r15), %r15d
	movq	%r12, %rdi
	callq	_wdev_unlock
	testl	%r15d, %r15d
	je	LBB0_25
## %bb.18:
	negl	%r15d
	jmp	LBB0_19
LBB0_25:
	movl	(%r13), %r15d
	movq	%r12, %rdi
	callq	_wdev_address
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	je	LBB0_5
## %bb.26:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movq	%r13, %r9
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rdev_mgmt_tx                   ## TAILCALL
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_19:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE80211_FCTL_STYPE,4,2       ## @IEEE80211_FCTL_STYPE
	.comm	_WLAN_CATEGORY_PUBLIC,8,3       ## @WLAN_CATEGORY_PUBLIC
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_mlme_mgmt_tx          ; -- Begin function cfg80211_mlme_mgmt_tx
	.p2align	2
_cfg80211_mlme_mgmt_tx:                 ; @cfg80211_mlme_mgmt_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.1:
	mov	x26, x0
	ldr	x8, [x0]
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.2:
	mov	x20, x6
	cmp	x6, #24
	b.ls	LBB0_26
; %bb.3:
	mov	x19, x7
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	ldr	x28, [x29, #24]
	ldr	w27, [x29, #16]
	ldr	w0, [x5, #24]
	bl	_ieee80211_is_mgmt
	cbz	w0, LBB0_26
; %bb.4:
	str	w27, [sp, #12]                  ; 4-byte Folded Spill
	ldr	w0, [x21, #24]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _IEEE80211_FCTL_STYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_FCTL_STYPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
	ldr	x9, [x25, #16]
	ldr	x9, [x9]
	ldr	x10, [x25]
	ldr	w27, [x9, x10, lsl #2]
	asr	w0, w8, #4
	bl	_BIT
	tst	w0, w27
	b.eq	LBB0_26
; %bb.5:
	ldr	w0, [x21, #24]
	bl	_ieee80211_is_action
	cbz	x0, LBB0_24
; %bb.6:
	ldr	x8, [x21, #16]
Lloh3:
	adrp	x9, _WLAN_CATEGORY_PUBLIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WLAN_CATEGORY_PUBLIC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.7:
	mov	x0, x25
	bl	_wdev_lock
	ldr	x9, [x25]
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	sub	x9, x9, #128
	cmp	x9, #7
	b.hi	LBB0_22
; %bb.8:
	mov	w10, #1
	lsl	x10, x10, x9
	mov	w11, #98
	tst	x10, x11
	b.ne	LBB0_16
; %bb.9:
	mov	w10, #1
	lsl	x10, x10, x9
	mov	w11, #137
	tst	x10, x11
	b.eq	LBB0_17
; %bb.10:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	w0, [x8]
	ldr	w1, [x21, #4]
	bl	_ether_addr_equal
	cbz	w0, LBB0_14
; %bb.12:
	ldr	x8, [x25]
	cmp	x8, #135
	b.eq	LBB0_20
; %bb.13:
	ldr	x8, [x25, #8]
	ldr	w0, [x8]
	ldr	w1, [x21, #8]
	bl	_ether_addr_equal
	cbnz	w0, LBB0_20
LBB0_14:
Lloh8:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_22
LBB0_15:
Lloh10:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_27
LBB0_16:
	ldr	w27, [x21, #4]
	mov	x0, x25
	bl	_wdev_address
	mov	x1, x0
	mov	x0, x27
	b	LBB0_19
LBB0_17:
	cmp	x9, #4
	b.ne	LBB0_22
; %bb.18:
	ldp	w0, w1, [x21]
LBB0_19:
	bl	_ether_addr_equal
	cbz	w0, LBB0_21
LBB0_20:
	mov	x0, x25
	bl	_wdev_unlock
	b	LBB0_24
LBB0_21:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_22:
	ldr	w27, [x8]
	mov	x0, x25
	bl	_wdev_unlock
	cbz	w27, LBB0_24
; %bb.23:
	neg	w0, w27
	b	LBB0_28
LBB0_24:
	ldr	w27, [x21]
	mov	x0, x25
	bl	_wdev_address
	mov	x1, x0
	mov	x0, x27
	bl	_ether_addr_equal
	cbz	w0, LBB0_26
; %bb.25:
	str	x28, [x29, #24]
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [x29, #16]
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x21
	mov	x6, x20
	mov	x7, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_rdev_mgmt_tx
LBB0_26:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE80211_FCTL_STYPE,4,2       ; @IEEE80211_FCTL_STYPE
	.comm	_WLAN_CATEGORY_PUBLIC,8,3       ; @WLAN_CATEGORY_PUBLIC
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
.subsections_via_symbols
