	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_usb_tx_preprocess
__rtl_usb_tx_preprocess:                ## @_rtl_usb_tx_preprocess
	.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
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rax
	movl	(%rax), %r13d
	movq	%rax, %r15
	movq	8(%rax), %r12
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	callq	_ieee80211_is_auth
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_COMP_SEND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_RT_TRACE
LBB0_2:
	movq	%rbx, %r13
	cmpq	$0, 24(%rbx)
	je	LBB0_7
## %bb.3:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_is_data
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_is_nullfunc
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_has_pm
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_IEEE80211_FCTL_PM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, (%r15)
LBB0_7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_rtl_action_proc
	movq	%r12, %rdi
	callq	_is_multicast_ether_addr
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r14), %eax
	movq	%r13, %r12
	addl	%eax, 16(%r13)
	jmp	LBB0_12
LBB0_9:
	movq	%r12, %rdi
	callq	_is_broadcast_ether_addr
	movq	(%r14), %rcx
	testq	%rax, %rax
	movq	%r13, %r12
	je	LBB0_11
## %bb.10:
	addl	%ecx, 12(%r12)
	jmp	LBB0_12
LBB0_11:
	addl	%ecx, 8(%r12)
LBB0_12:
	movq	(%r12), %rax
	movq	(%rax), %rax
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	movq	%rbx, %r13
	leaq	-48(%rbp), %rbx
	pushq	%rbx
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	callq	*8(%rax)
	addq	$32, %rsp
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_is_data
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	_LED_CTL_TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r13, %rdi
	callq	*(%rax)
LBB0_14:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_IEEE80211_FCTL_PM,4,2          ## @IEEE80211_FCTL_PM
	.comm	_LED_CTL_TX,4,2                 ## @LED_CTL_TX
	.no_dead_strip	__rtl_usb_tx_preprocess
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_usb_tx_preprocess
__rtl_usb_tx_preprocess:                ; @_rtl_usb_tx_preprocess
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x22
	bl	_IEEE80211_SKB_CB
	mov	x25, x0
	ldr	x26, [x22, #8]
	ldr	w24, [x26]
	ldr	x27, [x26, #8]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x24
	bl	_ieee80211_is_auth
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _COMP_SEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_SEND@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	bl	_RT_TRACE
LBB0_2:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x0, x24
	bl	_ieee80211_is_data
	cbz	x0, LBB0_7
; %bb.4:
	mov	x0, x24
	bl	_ieee80211_is_nullfunc
	cbnz	w0, LBB0_7
; %bb.5:
	mov	x0, x24
	bl	_ieee80211_has_pm
	cbnz	w0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _IEEE80211_FCTL_PM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IEEE80211_FCTL_PM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [x26]
	orr	w8, w8, w0
	str	w8, [x26]
LBB0_7:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_rtl_action_proc
	mov	x0, x27
	bl	_is_multicast_ether_addr
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [x22]
	ldr	w9, [x20, #16]
	add	w8, w9, w8
	str	w8, [x20, #16]
	b	LBB0_12
LBB0_9:
	mov	x0, x27
	bl	_is_broadcast_ether_addr
	ldr	x8, [x22]
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w9, [x20, #12]
	add	w8, w9, w8
	str	w8, [x20, #12]
	b	LBB0_12
LBB0_11:
	ldr	w9, [x20, #8]
	add	w8, w9, w8
	str	w8, [x20, #8]
LBB0_12:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	add	x9, sp, #8
	str	x9, [sp]
	mov	x0, x19
	mov	x1, x26
	mov	x2, #0
	mov	x3, #0
	mov	x4, x25
	mov	x5, x23
	mov	x6, x22
	mov	x7, x21
	blr	x8
	mov	x0, x24
	bl	_ieee80211_is_data
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _LED_CTL_TX@GOTPAGE
Lloh12:
	ldr	x9, [x9, _LED_CTL_TX@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
LBB0_14:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.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	_IEEE80211_FCTL_PM,4,2          ; @IEEE80211_FCTL_PM
	.comm	_LED_CTL_TX,4,2                 ; @LED_CTL_TX
	.no_dead_strip	__rtl_usb_tx_preprocess
.subsections_via_symbols
