	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bigmac_tx
_bigmac_tx:                             ## @bigmac_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	16(%rdi), %r15
	movq	40(%rdi), %rax
	movq	(%rax), %r14
	addq	$8, %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movl	(%r12), %r13d
	movslq	%r13d, %rbx
	movq	%rbx, %rdi
	callq	_DTX
	cmpl	4(%r12), %ebx
	je	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rbx
	movslq	4(%r14,%rbx,8), %rdi
	callq	_DTX
	movq	_TXD_OWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14,%rbx,8)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %r13
	incl	4(%r15)
	movq	(%r13), %rdx
	addl	%edx, (%r15)
	movq	32(%r12), %rdi
	movl	4(%r14,%rbx,8), %esi
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_dma_unmap_single
	movq	%r13, %rdi
	callq	_DTX
	movq	24(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	movq	%r13, %rdi
	callq	_dev_consume_skb_irq
	movl	%ebx, %edi
	callq	_NEXT_TX
	movl	%eax, %r13d
	cmpl	4(%r12), %eax
	jne	LBB0_1
## %bb.3:
	movslq	%r13d, %rbx
LBB0_4:
	movq	%rbx, %rdi
	callq	_DTX
	movl	%r13d, (%r12)
	movq	%r15, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	callq	_TX_BUFFS_AVAIL
	testq	%rax, %rax
	jle	LBB0_7
## %bb.6:
	movq	16(%r12), %rdi
	callq	_netif_wake_queue
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TXD_OWN,4,2                    ## @TXD_OWN
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.no_dead_strip	_bigmac_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bigmac_tx
_bigmac_tx:                             ; @bigmac_tx
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
	ldr	x8, [x0, #40]
	ldr	x24, [x8]
	ldr	x21, [x0, #16]
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock
	ldr	w22, [x20]
	mov	x8, x22
	sxtw	x23, w8
	mov	x0, x23
	bl	_DTX
	ldr	w8, [x20, #4]
	cmp	w22, w8
	b.eq	LBB0_5
; %bb.1:
Lloh0:
	adrp	x25, _TXD_OWN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TXD_OWN@GOTPAGEOFF]
Lloh2:
	adrp	x26, _DMA_TO_DEVICE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtw	x23, w22
	sbfiz	x28, x22, #3, #32
	add	x27, x24, x28
	ldrsw	x0, [x27, #4]!
	bl	_DTX
	ldr	w8, [x24, x28]
	ldr	w9, [x25]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	x28, x23, #3
	ldp	x8, x0, [x20, #24]
	ldr	x23, [x8, x28]
	ldr	x2, [x23]
	ldr	d0, [x21]
	movi.2s	v1, #1
	mov.s	v1[0], w2
	add.2s	v0, v0, v1
	str	d0, [x21]
	ldr	w1, [x27]
	ldr	w3, [x26]
	bl	_dma_unmap_single
	mov	x0, x23
	bl	_DTX
	ldr	x8, [x20, #24]
	str	xzr, [x8, x28]
	mov	x0, x23
	bl	_dev_consume_skb_irq
	mov	x0, x22
	bl	_NEXT_TX
	mov	x22, x0
	ldr	w8, [x20, #4]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.4:
	mov	x8, x22
	sxtw	x23, w8
LBB0_5:
	mov	x0, x23
	bl	_DTX
	str	w22, [x20]
	mov	x0, x21
	bl	_netif_queue_stopped
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_TX_BUFFS_AVAIL
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	x0, [x20, #16]
	bl	_netif_wake_queue
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TXD_OWN,4,2                    ; @TXD_OWN
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.no_dead_strip	_bigmac_tx
.subsections_via_symbols
