	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6xxx_g1_atu_flushmove
_mv88e6xxx_g1_atu_flushmove:            ## @mv88e6xxx_g1_atu_flushmove
	.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	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_mv88e6xxx_g1_atu_op_wait
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_mv88e6xxx_g1_atu_data_write
	testl	%eax, %eax
	je	LBB0_2
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.4:
	movq	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL@GOTPCREL(%rip), %rax
	testq	%r14, %r14
	jne	LBB0_6
	jmp	LBB0_7
LBB0_3:
	movq	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC@GOTPCREL(%rip), %rax
	testq	%r14, %r14
	je	LBB0_7
LBB0_6:
	movq	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rdx
	movq	%rdx, %rax
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	movq	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_9:
	testq	%r14, %r14
	cmovneq	%rax, %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mv88e6xxx_g1_atu_op            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB,8,3 ## @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB,8,3 ## @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL,8,3 ## @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC,8,3 ## @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC
	.no_dead_strip	_mv88e6xxx_g1_atu_flushmove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6xxx_g1_atu_flushmove
_mv88e6xxx_g1_atu_flushmove:            ; @mv88e6xxx_g1_atu_flushmove
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_mv88e6xxx_g1_atu_op_wait
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x22
	bl	_mv88e6xxx_g1_atu_data_write
	cbz	w0, LBB0_3
LBB0_2:
	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
LBB0_3:
	cmp	w21, #0
Lloh0:
	adrp	x8, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL@GOTPAGEOFF]
Lloh4:
	adrp	x10, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC@GOTPAGE
Lloh5:
	ldr	x10, [x10, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC@GOTPAGEOFF]
	csel	x9, x9, x10, ne
	cmp	x19, #0
	csel	x8, x8, x9, ne
	cmp	w21, #0
Lloh6:
	adrp	x9, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB@GOTPAGEOFF]
	ccmp	x19, #0, #4, ne
	csel	x8, x9, x8, ne
	ldr	x2, [x8]
	mov	x0, x20
	mov	x1, 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	_mv88e6xxx_g1_atu_op
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB,8,3 ; @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL_DB
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB,8,3 ; @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC_DB
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL,8,3 ; @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_ALL
	.comm	_MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC,8,3 ; @MV88E6XXX_G1_ATU_OP_FLUSH_MOVE_NON_STATIC
	.no_dead_strip	_mv88e6xxx_g1_atu_flushmove
.subsections_via_symbols
