	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fza_tx
_fza_tx:                                ## @fza_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, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movl	(%rax), %edx
	cmpl	4(%rax), %edx
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movl	%edx, %eax
	jmp	LBB0_12
LBB0_2:
	movq	_FZA_RING_OWN_MASK@GOTPCREL(%rip), %r12
	movq	_FZA_RING_TX_OWN_RMC@GOTPCREL(%rip), %r13
	movq	_FZA_RING_TX_SOP@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_FZA_RING_PBC_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	incl	40(%r15)
	movl	24(%r15), %ecx
	addl	%ecx, %eax
	addl	$-3, %eax
	movl	%eax, 24(%r15)
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %eax
	incl	%eax
	cltd
	idivl	8(%r15)
	movl	%edx, (%r15)
	movl	%edx, %eax
	cmpl	4(%r15), %edx
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%r15), %rax
	movslq	%edx, %rbx
	leaq	(%rax,%rbx,8), %rdi
	addq	$4, %rdi
	callq	_readl_o
	andl	(%r12), %eax
	cmpl	(%r13), %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	shlq	$3, %rbx
	addq	48(%r15), %rbx
	movq	%rbx, %rdi
	callq	_readl_u
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, (%r14)
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_FZA_RING_TX_DCC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_FZA_RING_TX_DCC_SUCCESS@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	36(%r15)
	leal	-130(%rcx), %eax
	cmpl	$3, %eax
	jae	LBB0_9
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	32(%r15)
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$128, %ecx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	28(%r15)
	jmp	LBB0_11
LBB0_4:
	movl	(%r15), %eax
	movl	4(%r15), %edx
LBB0_12:
	movl	8(%r15), %ecx
	addl	%ecx, %eax
	notl	%edx
	addl	%eax, %edx
	movl	%edx, %eax
	cltd
	idivl	%ecx
	movq	_FZA_TX_BUFFER_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	4(%rdi), %eax
	addl	(%rdi), %eax
	cmpl	%eax, %edx
	jl	LBB0_14
## %bb.13:
	cmpq	$0, 16(%r15)
	je	LBB0_14
## %bb.16:
	callq	_netif_wake_queue
	movl	12(%r15), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FZA_RING_OWN_MASK,4,2          ## @FZA_RING_OWN_MASK
	.comm	_FZA_RING_TX_OWN_RMC,4,2        ## @FZA_RING_TX_OWN_RMC
	.comm	_FZA_RING_TX_SOP,4,2            ## @FZA_RING_TX_SOP
	.comm	_FZA_RING_TX_DCC_MASK,4,2       ## @FZA_RING_TX_DCC_MASK
	.comm	_FZA_RING_TX_DCC_SUCCESS,4,2    ## @FZA_RING_TX_DCC_SUCCESS
	.comm	_FZA_RING_PBC_MASK,4,2          ## @FZA_RING_PBC_MASK
	.comm	_FZA_TX_BUFFER_SIZE,4,2         ## @FZA_TX_BUFFER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: queue woken\n"

	.no_dead_strip	_fza_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fza_tx
_fza_tx:                                ; @fza_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	w27, w8, [x0]
	cmp	w27, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x8, x27
	b	LBB0_13
LBB0_2:
Lloh0:
	adrp	x21, _FZA_RING_OWN_MASK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FZA_RING_OWN_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x22, _FZA_RING_TX_OWN_RMC@GOTPAGE
Lloh3:
	ldr	x22, [x22, _FZA_RING_TX_OWN_RMC@GOTPAGEOFF]
Lloh4:
	adrp	x23, _FZA_RING_TX_SOP@GOTPAGE
Lloh5:
	ldr	x23, [x23, _FZA_RING_TX_SOP@GOTPAGEOFF]
Lloh6:
	adrp	x24, _FZA_RING_TX_DCC_MASK@GOTPAGE
Lloh7:
	ldr	x24, [x24, _FZA_RING_TX_DCC_MASK@GOTPAGEOFF]
Lloh8:
	adrp	x25, _FZA_RING_TX_DCC_SUCCESS@GOTPAGE
Lloh9:
	ldr	x25, [x25, _FZA_RING_TX_DCC_SUCCESS@GOTPAGEOFF]
Lloh10:
	adrp	x26, _FZA_RING_PBC_MASK@GOTPAGE
Lloh11:
	ldr	x26, [x26, _FZA_RING_PBC_MASK@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	and	w8, w8, w0
	ldr	w9, [x20, #24]
	add	w8, w8, w9
	ldr	w9, [x20, #40]
	add	w9, w9, #1
	str	w9, [x20, #40]
	sub	w8, w8, #3
	str	w8, [x20, #24]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldp	w8, w9, [x20]
	add	w8, w8, #1
	ldr	w10, [x20, #8]
	sdiv	w11, w8, w10
	msub	w27, w11, w10, w8
	str	w27, [x20]
	mov	x8, x27
	cmp	w27, w9
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #48]
	add	x8, x8, w27, sxtw #3
	add	x0, x8, #4
	bl	_readl_o
	ldr	w8, [x21]
	and	w8, w8, w0
	ldr	w9, [x22]
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x8, w27
	ldr	x9, [x20, #48]
	add	x0, x9, x8, lsl #3
	bl	_readl_u
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	and	w8, w8, w0
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20, #36]
	add	w9, w9, #1
	str	w9, [x20, #36]
	sub	w9, w8, #130
	cmp	w9, #3
	b.hs	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #32]
	add	w8, w8, #1
	str	w8, [x20, #32]
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x20, #28]
	add	w8, w8, #1
	str	w8, [x20, #28]
	b	LBB0_4
LBB0_12:
	ldp	w8, w27, [x20]
LBB0_13:
	ldr	w9, [x20, #8]
	mvn	w10, w27
	add	w8, w8, w9
	add	w8, w10, w8
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
Lloh12:
	adrp	x9, _FZA_TX_BUFFER_SIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FZA_TX_BUFFER_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	mul	w8, w9, w8
	ldp	w9, w10, [x19]
	add	w9, w10, w9
	cmp	w8, w9
	b.lt	LBB0_16
; %bb.14:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_netif_wake_queue
	ldr	w1, [x20, #12]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	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	_pr_debug
LBB0_16:
	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 AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FZA_RING_OWN_MASK,4,2          ; @FZA_RING_OWN_MASK
	.comm	_FZA_RING_TX_OWN_RMC,4,2        ; @FZA_RING_TX_OWN_RMC
	.comm	_FZA_RING_TX_SOP,4,2            ; @FZA_RING_TX_SOP
	.comm	_FZA_RING_TX_DCC_MASK,4,2       ; @FZA_RING_TX_DCC_MASK
	.comm	_FZA_RING_TX_DCC_SUCCESS,4,2    ; @FZA_RING_TX_DCC_SUCCESS
	.comm	_FZA_RING_PBC_MASK,4,2          ; @FZA_RING_PBC_MASK
	.comm	_FZA_TX_BUFFER_SIZE,4,2         ; @FZA_TX_BUFFER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: queue woken\n"

	.no_dead_strip	_fza_tx
.subsections_via_symbols
