	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_tx_restart
_macb_tx_restart:                       ## @macb_tx_restart
	.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
	movl	(%rdi), %r12d
	movl	4(%rdi), %r13d
	movq	8(%rdi), %r14
	movq	_MACB_CAPS_ISR_CLEAR_ON_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	_ISR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_TXUBR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_queue_writel
LBB0_2:
	cmpl	%r13d, %r12d
	jne	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_NCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_macb_readl
	movl	%eax, %ebx
	movq	_TSTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_macb_writel                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MACB_CAPS_ISR_CLEAR_ON_WRITE,4,2 ## @MACB_CAPS_ISR_CLEAR_ON_WRITE
	.comm	_ISR,4,2                        ## @ISR
	.comm	_TXUBR,4,2                      ## @TXUBR
	.comm	_NCR,4,2                        ## @NCR
	.comm	_TSTART,4,2                     ## @TSTART
	.no_dead_strip	_macb_tx_restart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_tx_restart
_macb_tx_restart:                       ; @macb_tx_restart
	.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
	ldp	w22, w23, [x0]
	ldr	x19, [x0, #8]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MACB_CAPS_ISR_CLEAR_ON_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MACB_CAPS_ISR_CLEAR_ON_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _ISR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISR@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _TXUBR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TXUBR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MACB_BIT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_queue_writel
LBB0_2:
	cmp	w22, w23
	b.ne	LBB0_4
; %bb.3:
	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
	ret
LBB0_4:
Lloh9:
	adrp	x8, _NCR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NCR@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_macb_readl
	mov	x21, x0
Lloh12:
	adrp	x8, _TSTART@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TSTART@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_MACB_BIT
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	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	_macb_writel
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MACB_CAPS_ISR_CLEAR_ON_WRITE,4,2 ; @MACB_CAPS_ISR_CLEAR_ON_WRITE
	.comm	_ISR,4,2                        ; @ISR
	.comm	_TXUBR,4,2                      ; @TXUBR
	.comm	_NCR,4,2                        ; @NCR
	.comm	_TSTART,4,2                     ; @TSTART
	.no_dead_strip	_macb_tx_restart
.subsections_via_symbols
