	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fza_tx_flush
_fza_tx_flush:                          ## @fza_tx_flush
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movslq	(%rax), %r14
	movq	_FZA_RING_OWN_FZA@GOTPCREL(%rip), %r15
	leaq	(,%r14,4), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	32(%rbx), %rsi
	addq	%r12, %rsi
	callq	_writel_o
	movl	(%rbx), %eax
	incl	%eax
	cltd
	idivl	4(%rbx)
	movl	%edx, (%rbx)
	cmpl	%edx, %r14d
	jne	LBB0_1
## %bb.2:
	movslq	8(%rbx), %r14
	movq	_FZA_RING_OWN_MASK@GOTPCREL(%rip), %r15
	movq	_FZA_RING_TX_OWN_RMC@GOTPCREL(%rip), %r12
	leaq	(,%r14,8), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rbx), %eax
	incl	%eax
	cltd
	idivl	12(%rbx)
	movl	%edx, 8(%rbx)
	cmpl	%edx, %r14d
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %rax
	leaq	(%rax,%r14,8), %rdi
	addq	$4, %rdi
	callq	_readl_o
	andl	(%r15), %eax
	cmpl	(%r12), %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rdi
	addq	%r13, %rdi
	callq	_readl_u
	movq	_FZA_RING_TX_DTP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	24(%rbx), %rsi
	addq	%r13, %rsi
	movl	%eax, %edi
	callq	_writel_u
	jmp	LBB0_5
LBB0_6:
	movq	_FZA_CONTROL_A_FLUSH_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writew_o                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FZA_RING_OWN_FZA,4,2           ## @FZA_RING_OWN_FZA
	.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_DTP,4,2            ## @FZA_RING_TX_DTP
	.comm	_FZA_CONTROL_A_FLUSH_DONE,4,2   ## @FZA_CONTROL_A_FLUSH_DONE
	.no_dead_strip	_fza_tx_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fza_tx_flush
_fza_tx_flush:                          ; @fza_tx_flush
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_netdev_priv
	mov	x19, x0
	ldrsw	x20, [x0]
Lloh0:
	adrp	x21, _FZA_RING_OWN_FZA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FZA_RING_OWN_FZA@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	ldr	x8, [x19, #32]
	add	x1, x8, x20, lsl #2
	bl	_writel_o
	ldp	w8, w9, [x19]
	add	w8, w8, #1
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19]
	cmp	w20, w8
	b.ne	LBB0_1
; %bb.2:
Lloh2:
	adrp	x20, _FZA_RING_OWN_MASK@GOTPAGE
Lloh3:
	ldr	x20, [x20, _FZA_RING_OWN_MASK@GOTPAGEOFF]
	ldrsw	x21, [x19, #8]
Lloh4:
	adrp	x22, _FZA_RING_TX_OWN_RMC@GOTPAGE
Lloh5:
	ldr	x22, [x22, _FZA_RING_TX_OWN_RMC@GOTPAGEOFF]
	lsl	x23, x21, #3
Lloh6:
	adrp	x24, _FZA_RING_TX_DTP@GOTPAGE
Lloh7:
	ldr	x24, [x24, _FZA_RING_TX_DTP@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w8, w9, [x19, #8]
	add	w8, w8, #1
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19, #8]
	cmp	w21, w8
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x21, lsl #3
	add	x0, x8, #4
	bl	_readl_o
	ldr	w8, [x20]
	and	w8, w8, w0
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	add	x0, x8, x23
	bl	_readl_u
	ldr	w8, [x24]
	orr	w0, w8, w0
	ldr	x8, [x19, #24]
	add	x1, x8, x23
	bl	_writel_u
	b	LBB0_3
LBB0_6:
Lloh8:
	adrp	x8, _FZA_CONTROL_A_FLUSH_DONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FZA_CONTROL_A_FLUSH_DONE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x1, [x19, #16]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writew_o
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FZA_RING_OWN_FZA,4,2           ; @FZA_RING_OWN_FZA
	.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_DTP,4,2            ; @FZA_RING_TX_DTP
	.comm	_FZA_CONTROL_A_FLUSH_DONE,4,2   ; @FZA_CONTROL_A_FLUSH_DONE
	.no_dead_strip	_fza_tx_flush
.subsections_via_symbols
