	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_mdmac_abort
_uniphier_mdmac_abort:                  ## @uniphier_mdmac_abort
	.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	%rdi, %r14
	movq	16(%rdi), %r15
	movq	_UNIPHIER_MDMAC_CH_IRQ__ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UNIPHIER_MDMAC_CH_IRQ_REQ@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	_UNIPHIER_MDMAC_CMD_ABORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	8(%r14), %edi
	callq	_BIT
	orl	%eax, %ebx
	movq	_UNIPHIER_MDMAC_CMD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	(%r12), %rdi
	addq	(%r14), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$20, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_readl_poll_timeout             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UNIPHIER_MDMAC_CH_IRQ__ABORT,4,2 ## @UNIPHIER_MDMAC_CH_IRQ__ABORT
	.comm	_UNIPHIER_MDMAC_CH_IRQ_REQ,8,3  ## @UNIPHIER_MDMAC_CH_IRQ_REQ
	.comm	_UNIPHIER_MDMAC_CMD_ABORT,4,2   ## @UNIPHIER_MDMAC_CMD_ABORT
	.comm	_UNIPHIER_MDMAC_CMD,8,3         ## @UNIPHIER_MDMAC_CMD
	.no_dead_strip	_uniphier_mdmac_abort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_mdmac_abort
_uniphier_mdmac_abort:                  ; @uniphier_mdmac_abort
	.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, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _UNIPHIER_MDMAC_CH_IRQ__ABORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UNIPHIER_MDMAC_CH_IRQ__ABORT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh3:
	adrp	x21, _UNIPHIER_MDMAC_CH_IRQ_REQ@GOTPAGE
Lloh4:
	ldr	x21, [x21, _UNIPHIER_MDMAC_CH_IRQ_REQ@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel
Lloh5:
	adrp	x8, _UNIPHIER_MDMAC_CMD_ABORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UNIPHIER_MDMAC_CMD_ABORT@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	ldr	w0, [x19, #8]
	bl	_BIT
	orr	w0, w0, w22
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _UNIPHIER_MDMAC_CMD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UNIPHIER_MDMAC_CMD@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x9, x8
	mov	w2, #0
	mov	w3, #0
	mov	w4, #20
	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	_readl_poll_timeout
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UNIPHIER_MDMAC_CH_IRQ__ABORT,4,2 ; @UNIPHIER_MDMAC_CH_IRQ__ABORT
	.comm	_UNIPHIER_MDMAC_CH_IRQ_REQ,8,3  ; @UNIPHIER_MDMAC_CH_IRQ_REQ
	.comm	_UNIPHIER_MDMAC_CMD_ABORT,4,2   ; @UNIPHIER_MDMAC_CMD_ABORT
	.comm	_UNIPHIER_MDMAC_CMD,8,3         ; @UNIPHIER_MDMAC_CMD
	.no_dead_strip	_uniphier_mdmac_abort
.subsections_via_symbols
