	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8xxxu_free_tx_urb
_rtl8xxxu_free_tx_urb:                  ## @rtl8xxxu_free_tx_urb
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_INIT_LIST_HEAD
	leaq	12(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	20(%rbx), %rsi
	movq	%r15, %rdi
	callq	_list_add
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	_RTL8XXXU_TX_URB_HIGH_WATER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.1:
	cmpl	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movl	$0, 8(%rbx)
	movl	16(%rbx), %edi
	callq	_ieee80211_wake_queues
LBB0_3:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL8XXXU_TX_URB_HIGH_WATER,8,3 ## @RTL8XXXU_TX_URB_HIGH_WATER
	.no_dead_strip	_rtl8xxxu_free_tx_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8xxxu_free_tx_urb
_rtl8xxxu_free_tx_urb:                  ; @rtl8xxxu_free_tx_urb
	.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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_INIT_LIST_HEAD
	add	x19, x20, #12
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x1, x20, #20
	mov	x0, x21
	bl	_list_add
	ldr	x8, [x20]
	add	x9, x8, #1
	str	x9, [x20]
Lloh0:
	adrp	x9, _RTL8XXXU_TX_URB_HIGH_WATER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTL8XXXU_TX_URB_HIGH_WATER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_3
; %bb.2:
	str	wzr, [x20, #8]
	ldr	w0, [x20, #16]
	bl	_ieee80211_wake_queues
LBB0_3:
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL8XXXU_TX_URB_HIGH_WATER,8,3 ; @RTL8XXXU_TX_URB_HIGH_WATER
	.no_dead_strip	_rtl8xxxu_free_tx_urb
.subsections_via_symbols
