	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macb_halt_tx
_macb_halt_tx:                          ## @macb_halt_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, %r14
	movq	_NCR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %esi
	callq	_macb_readl
	movl	%eax, %ebx
	movq	_THALT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MACB_BIT
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_macb_writel
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MACB_HALT_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usecs_to_jiffies
	movq	%rax, %r15
	addq	%rbx, %r15
	movq	_TGO@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_TSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_macb_readl
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_MACB_BIT
	testl	%r12d, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$250, %edi
	callq	_udelay
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_time_before
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_2:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NCR,4,2                        ## @NCR
	.comm	_THALT,4,2                      ## @THALT
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MACB_HALT_TIMEOUT,4,2          ## @MACB_HALT_TIMEOUT
	.comm	_TSR,4,2                        ## @TSR
	.comm	_TGO,4,2                        ## @TGO
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_macb_halt_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macb_halt_tx
_macb_halt_tx:                          ; @macb_halt_tx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _NCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NCR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x1, x20
	bl	_macb_readl
	mov	x21, x0
Lloh3:
	adrp	x8, _THALT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _THALT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_MACB_BIT
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_macb_writel
Lloh6:
	adrp	x23, _jiffies@GOTPAGE
Lloh7:
	ldr	x23, [x23, _jiffies@GOTPAGEOFF]
	ldr	x20, [x23]
Lloh8:
	adrp	x8, _MACB_HALT_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MACB_HALT_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_usecs_to_jiffies
	add	x20, x0, x20
Lloh11:
	adrp	x24, _TSR@GOTPAGE
Lloh12:
	ldr	x24, [x24, _TSR@GOTPAGEOFF]
Lloh13:
	adrp	x25, _TGO@GOTPAGE
Lloh14:
	ldr	x25, [x25, _TGO@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x23]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_macb_readl
	mov	x22, x0
	ldr	w0, [x25]
	bl	_MACB_BIT
	tst	w0, w22
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #250
	bl	_udelay
	mov	x0, x21
	mov	x1, x20
	bl	_time_before
	cbnz	x0, LBB0_1
; %bb.3:
Lloh15:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NCR,4,2                        ; @NCR
	.comm	_THALT,4,2                      ; @THALT
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MACB_HALT_TIMEOUT,4,2          ; @MACB_HALT_TIMEOUT
	.comm	_TSR,4,2                        ; @TSR
	.comm	_TGO,4,2                        ; @TGO
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_macb_halt_tx
.subsections_via_symbols
