	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nb8800_mac_tx
_nb8800_mac_tx:                         ## @nb8800_mac_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_NB8800_TXC_CR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_nb8800_readl
	movq	_TCR_EN@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_nb8800_readl
	testl	%eax, (%r12)
	jne	LBB0_1
LBB0_3:
	movq	_NB8800_TX_CTL1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TX_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nb8800_modb                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NB8800_TXC_CR,4,2              ## @NB8800_TXC_CR
	.comm	_TCR_EN,4,2                     ## @TCR_EN
	.comm	_NB8800_TX_CTL1,4,2             ## @NB8800_TX_CTL1
	.comm	_TX_EN,4,2                      ## @TX_EN
	.no_dead_strip	_nb8800_mac_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nb8800_mac_tx
_nb8800_mac_tx:                         ; @nb8800_mac_tx
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x21, _NB8800_TXC_CR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NB8800_TXC_CR@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_nb8800_readl
Lloh2:
	adrp	x22, _TCR_EN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _TCR_EN@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_cpu_relax
	ldr	w1, [x21]
	mov	x0, x20
	bl	_nb8800_readl
	b	LBB0_1
LBB0_3:
Lloh4:
	adrp	x8, _NB8800_TX_CTL1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NB8800_TX_CTL1@GOTPAGEOFF]
Lloh6:
	adrp	x9, _TX_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TX_EN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	ldr	w2, [x9]
	mov	x0, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_nb8800_modb
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NB8800_TXC_CR,4,2              ; @NB8800_TXC_CR
	.comm	_TCR_EN,4,2                     ; @TCR_EN
	.comm	_NB8800_TX_CTL1,4,2             ; @NB8800_TX_CTL1
	.comm	_TX_EN,4,2                      ; @TX_EN
	.no_dead_strip	_nb8800_mac_tx
.subsections_via_symbols
