	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function b44_tx
_b44_tx:                                ## @b44_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	%rdi, %r14
	movq	_B44_DMATX_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_br32
	movl	%eax, %ebx
	movq	_DMATX_STAT_CDMASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	sarl	$2, %ebx
	movl	(%r14), %eax
	xorl	%r15d, %r15d
	movl	$0, %r12d
	cmpl	%ebx, %eax
	je	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ebx
	movq	16(%r14), %r15
	movslq	%eax, %r13
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	shlq	$4, %r13
	movq	(%r15,%r13), %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	sete	%dil
	callq	_BUG_ON
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movl	8(%r15,%r13), %esi
	movq	(%r14), %rdx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	movq	$0, (%r15,%r13)
	movl	%ebx, %r15d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	(%r14), %r15d
	incl	%r12d
	movq	%r14, %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	callq	_dev_consume_skb_irq
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_NEXT_TX
	cmpl	%ebx, %eax
	jne	LBB0_2
LBB0_3:
	movl	4(%r14), %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_netdev_completed_queue
	movl	%ebx, (%r14)
	movl	4(%r14), %edi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_TX_BUFFS_AVAIL
	movq	_B44_TX_WAKEUP_THRESH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_6
## %bb.5:
	movl	4(%r14), %edi
	callq	_netif_wake_queue
LBB0_6:
	movq	_B44_GPTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bw32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_B44_DMATX_STAT,4,2             ## @B44_DMATX_STAT
	.comm	_DMATX_STAT_CDMASK,4,2          ## @DMATX_STAT_CDMASK
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_B44_TX_WAKEUP_THRESH,8,3       ## @B44_TX_WAKEUP_THRESH
	.comm	_B44_GPTIMER,4,2                ## @B44_GPTIMER
	.no_dead_strip	_b44_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b44_tx
_b44_tx:                                ; @b44_tx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _B44_DMATX_STAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _B44_DMATX_STAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_br32
Lloh3:
	adrp	x8, _DMATX_STAT_CDMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DMATX_STAT_CDMASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	asr	w24, w8, #2
	ldr	w22, [x19]
	cmp	w22, w24
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	mov	w21, #0
	b	LBB0_4
LBB0_2:
	mov	w21, #0
	mov	w20, #0
Lloh6:
	adrp	x25, _DMA_TO_DEVICE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	add	x26, x8, w22, sxtw #4
	ldr	x23, [x26]
	cmp	x23, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w1, [x26, #8]
	ldr	x2, [x23]
	ldr	w3, [x25]
	bl	_dma_unmap_single
	str	xzr, [x26]
	ldr	w8, [x23]
	add	w20, w20, w8
	add	w21, w21, #1
	mov	x0, x23
	bl	_dev_consume_skb_irq
	mov	x0, x22
	bl	_NEXT_TX
	mov	x22, x0
	cmp	w0, w24
	b.ne	LBB0_3
LBB0_4:
	ldr	w0, [x19, #4]
	mov	x1, x21
	mov	x2, x20
	bl	_netdev_completed_queue
	str	w24, [x19]
	ldr	w0, [x19, #4]
	bl	_netif_queue_stopped
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x19
	bl	_TX_BUFFS_AVAIL
Lloh8:
	adrp	x8, _B44_TX_WAKEUP_THRESH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _B44_TX_WAKEUP_THRESH@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_7
; %bb.6:
	ldr	w0, [x19, #4]
	bl	_netif_wake_queue
LBB0_7:
Lloh11:
	adrp	x8, _B44_GPTIMER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _B44_GPTIMER@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_bw32
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_B44_DMATX_STAT,4,2             ; @B44_DMATX_STAT
	.comm	_DMATX_STAT_CDMASK,4,2          ; @DMATX_STAT_CDMASK
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_B44_TX_WAKEUP_THRESH,8,3       ; @B44_TX_WAKEUP_THRESH
	.comm	_B44_GPTIMER,4,2                ; @B44_GPTIMER
	.no_dead_strip	_b44_tx
.subsections_via_symbols
