	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _tw32_flush
__tw32_flush:                           ## @_tw32_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_PCIX_TARGET_HWBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tg3_flag
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ICH_WORKAROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	*8(%rbx)
	testq	%r14, %r14
	je	LBB0_7
LBB0_8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_tg3_write32
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_udelay
LBB0_5:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	*(%rbx)
	testq	%r14, %r14
	jne	LBB0_8
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCIX_TARGET_HWBUG,4,2          ## @PCIX_TARGET_HWBUG
	.comm	_ICH_WORKAROUND,4,2             ## @ICH_WORKAROUND
	.no_dead_strip	__tw32_flush
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _tw32_flush
__tw32_flush:                           ; @_tw32_flush
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PCIX_TARGET_HWBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCIX_TARGET_HWBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_tg3_flag
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ICH_WORKAROUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICH_WORKAROUND@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_tg3_flag
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x8, [x21, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	blr	x8
	cbz	x19, LBB0_7
LBB0_3:
	mov	x0, 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	_udelay
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_tg3_write32
	cbz	x19, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_udelay
LBB0_6:
	ldr	x8, [x21]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	cbnz	x19, LBB0_3
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PCIX_TARGET_HWBUG,4,2          ; @PCIX_TARGET_HWBUG
	.comm	_ICH_WORKAROUND,4,2             ; @ICH_WORKAROUND
	.no_dead_strip	__tw32_flush
.subsections_via_symbols
