	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_tx_mgmt_proc               ## -- Begin function rtl_tx_mgmt_proc
	.p2align	4, 0x90
_rtl_tx_mgmt_proc:                      ## @rtl_tx_mgmt_proc
	.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	%rsi, %rbx
	movq	%rdi, %r13
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_mac
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_rtl_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_get_fc
	movl	%eax, %r12d
	cmpq	$0, 16(%r15)
	je	LBB0_6
## %bb.1:
	movq	(%r14), %rax
	movq	_MAC80211_LINKED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.2:
	movl	%r12d, %edi
	callq	_ieee80211_is_auth
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	%r12d, %edi
	callq	_ieee80211_is_probe_req
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r13, %rdi
	callq	*%rax
LBB0_6:
	movl	%r12d, %edi
	callq	_ieee80211_is_auth
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	callq	_RT_TRACE
	movq	_MAC80211_LINKING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movl	$1, (%r15)
LBB0_8:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC80211_LINKED,8,3            ## @MAC80211_LINKED
	.comm	_COMP_SEND,4,2                  ## @COMP_SEND
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC80211_LINKING\n"

	.comm	_MAC80211_LINKING,8,3           ## @MAC80211_LINKING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_tx_mgmt_proc               ; -- Begin function rtl_tx_mgmt_proc
	.p2align	2
_rtl_tx_mgmt_proc:                      ; @rtl_tx_mgmt_proc
	.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	x22, x1
	mov	x21, x0
	bl	_rtl_priv
	bl	_rtl_mac
	mov	x19, x0
	mov	x0, x21
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x22
	bl	_rtl_get_fc
	mov	x22, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _MAC80211_LINKED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAC80211_LINKED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.2:
	mov	x0, x22
	bl	_ieee80211_is_auth
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_ieee80211_is_probe_req
	cbz	x0, LBB0_6
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x21
	blr	x8
LBB0_6:
	mov	x0, x22
	bl	_ieee80211_is_auth
	cbz	x0, LBB0_8
; %bb.7:
Lloh3:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, l_.str@PAGE
Lloh10:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
Lloh11:
	adrp	x8, _MAC80211_LINKING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC80211_LINKING@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	w8, #1
	str	w8, [x20]
LBB0_8:
	mov	w0, #1
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC80211_LINKED,8,3            ; @MAC80211_LINKED
	.comm	_COMP_SEND,4,2                  ; @COMP_SEND
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC80211_LINKING\n"

	.comm	_MAC80211_LINKING,8,3           ; @MAC80211_LINKING
.subsections_via_symbols
