	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function de4x5_tx
_de4x5_tx:                              ## @de4x5_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, -48(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %r12
	movl	(%rax), %r15d
	cmpl	4(%rax), %r15d
	jne	LBB0_1
LBB0_22:
	movq	_TX_BUFFS_AVAIL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_27
## %bb.23:
	movq	%rbx, %rdi
	callq	_netif_queue_stopped
	testq	%rax, %rax
	je	LBB0_27
## %bb.24:
	cmpq	$0, 16(%r12)
	je	LBB0_26
## %bb.25:
	movq	%rbx, %rdi
	callq	_netif_wake_queue
	jmp	LBB0_27
LBB0_1:
	movq	_TD_EC@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %eax
	incl	%eax
	cltd
	idivl	8(%r12)
	movl	%edx, %r15d
	movl	%edx, (%r12)
	cmpl	4(%r12), %edx
	je	LBB0_22
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	80(%r12), %rax
	movslq	%r15d, %r14
	movl	(%rax,%r14,4), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
	testl	%ebx, %ebx
	js	LBB0_22
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2147483647, %ebx               ## imm = 0x7FFFFFFF
	je	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_TD_ES@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_17
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	56(%r12)
	movq	_TD_NC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	52(%r12)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TD_LC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	48(%r12)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TD_UF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	44(%r12)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, (%r13)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	72(%r12)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TD_DE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	40(%r12)
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TX_PKT_PENDING@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_POLL_DEMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DE4X5_TPD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_outl
	jmp	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	36(%r12)
	cmpq	$0, 64(%r12)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	60(%r12)
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %eax
	andl	%ebx, %eax
	movq	_TD_CC@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	shrl	$3, %ebx
	testl	%eax, %eax
	movl	$16, %eax
	cmovnel	%eax, %ebx
	addl	%ebx, 32(%r12)
	movq	24(%r12), %rax
	cmpq	$0, (%rax,%r14,8)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_de4x5_free_tx_buff
	jmp	LBB0_21
LBB0_26:
	movq	%rbx, %rdi
	callq	_netif_start_queue
LBB0_27:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TD_ES,4,2                      ## @TD_ES
	.comm	_TD_NC,4,2                      ## @TD_NC
	.comm	_TD_LC,4,2                      ## @TD_LC
	.comm	_TD_UF,4,2                      ## @TD_UF
	.comm	_TD_EC,4,2                      ## @TD_EC
	.comm	_TD_DE,4,2                      ## @TD_DE
	.comm	_TX_PKT_PENDING,8,3             ## @TX_PKT_PENDING
	.comm	_POLL_DEMAND,4,2                ## @POLL_DEMAND
	.comm	_DE4X5_TPD,4,2                  ## @DE4X5_TPD
	.comm	_TD_CC,4,2                      ## @TD_CC
	.comm	_TX_BUFFS_AVAIL,8,3             ## @TX_BUFFS_AVAIL
	.no_dead_strip	_de4x5_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function de4x5_tx
_de4x5_tx:                              ; @de4x5_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	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	ldp	w28, w8, [x0]
	cmp	w28, w8
	b.ne	LBB0_5
LBB0_1:
Lloh0:
	adrp	x8, _TX_BUFFS_AVAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TX_BUFFS_AVAIL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_27
; %bb.2:
	mov	x0, x19
	bl	_netif_queue_stopped
	cbz	x0, LBB0_27
; %bb.3:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_26
; %bb.4:
	mov	x0, x19
	bl	_netif_wake_queue
	b	LBB0_27
LBB0_5:
Lloh3:
	adrp	x22, _TD_ES@GOTPAGE
Lloh4:
	ldr	x22, [x22, _TD_ES@GOTPAGEOFF]
Lloh5:
	adrp	x23, _TD_EC@GOTPAGE
Lloh6:
	ldr	x23, [x23, _TD_EC@GOTPAGEOFF]
	mov	w24, #2147483647
Lloh7:
	adrp	x25, _TD_CC@GOTPAGE
Lloh8:
	ldr	x25, [x25, _TD_CC@GOTPAGEOFF]
	mov	w26, #16
Lloh9:
	adrp	x27, _TX_PKT_PENDING@GOTPAGE
Lloh10:
	ldr	x27, [x27, _TX_PKT_PENDING@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldp	w8, w9, [x20]
	add	w8, w8, #1
	ldr	w10, [x20, #8]
	sdiv	w11, w8, w10
	msub	w28, w11, w10, w8
	str	w28, [x20]
	cmp	w28, w9
	b.eq	LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #80]
	ldr	w0, [x8, w28, sxtw #2]
	bl	_le32_to_cpu
	mov	x21, x0
	tbnz	w21, #31, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w21, w24
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #56]
	add	w8, w8, #1
	str	w8, [x20, #56]
Lloh11:
	adrp	x8, _TD_NC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TD_NC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #52]
	add	w8, w8, #1
	str	w8, [x20, #52]
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh14:
	adrp	x8, _TD_LC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TD_LC@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #48]
	add	w8, w8, #1
	str	w8, [x20, #48]
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh17:
	adrp	x8, _TD_UF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TD_UF@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #44]
	add	w8, w8, #1
	str	w8, [x20, #44]
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x23]
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #72]
	add	w8, w8, #1
	str	w8, [x20, #72]
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh20:
	adrp	x8, _TD_DE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TD_DE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #40]
	add	w8, w8, #1
	str	w8, [x20, #40]
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh23:
	adrp	x8, _POLL_DEMAND@GOTPAGE
Lloh24:
	ldr	x8, [x8, _POLL_DEMAND@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _DE4X5_TPD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DE4X5_TPD@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_outl
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #36]
	add	w8, w8, #1
	str	w8, [x20, #36]
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #60]
	add	w8, w8, #1
	str	w8, [x20, #60]
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x1, w28
	ldr	w8, [x23]
	ldr	w9, [x25]
	and	w9, w9, w21
	lsr	w9, w9, #3
	tst	w8, w21
	csel	w8, w9, w26, eq
	ldr	w9, [x20, #32]
	add	w8, w8, w9
	str	w8, [x20, #32]
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x1, lsl #3]
	cbz	x8, LBB0_6
; %bb.25:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_de4x5_free_tx_buff
	b	LBB0_6
LBB0_26:
	mov	x0, x19
	bl	_netif_start_queue
LBB0_27:
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TD_ES,4,2                      ; @TD_ES
	.comm	_TD_NC,4,2                      ; @TD_NC
	.comm	_TD_LC,4,2                      ; @TD_LC
	.comm	_TD_UF,4,2                      ; @TD_UF
	.comm	_TD_EC,4,2                      ; @TD_EC
	.comm	_TD_DE,4,2                      ; @TD_DE
	.comm	_TX_PKT_PENDING,8,3             ; @TX_PKT_PENDING
	.comm	_POLL_DEMAND,4,2                ; @POLL_DEMAND
	.comm	_DE4X5_TPD,4,2                  ; @DE4X5_TPD
	.comm	_TD_CC,4,2                      ; @TD_CC
	.comm	_TX_BUFFS_AVAIL,8,3             ; @TX_BUFFS_AVAIL
	.no_dead_strip	_de4x5_tx
.subsections_via_symbols
