	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function renesas_sdhi_internal_dmac_abort_dma
_renesas_sdhi_internal_dmac_abort_dma:  ## @renesas_sdhi_internal_dmac_abort_dma
	.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	_RST_DTRANRST1@GOTPCREL(%rip), %rax
	movq	_RST_DTRANRST0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	xorl	%esi, %esi
	callq	_renesas_sdhi_internal_dmac_enable_dma
	movq	_DM_CM_RST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_RST_RESERVED_BITS@GOTPCREL(%rip), %r12
	movl	%ebx, %edx
	notl	%edx
	andl	(%r12), %edx
	movq	%r14, %rdi
	callq	_renesas_sdhi_internal_dmac_dm_write
	movl	(%r15), %esi
	orl	(%r12), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_renesas_sdhi_internal_dmac_dm_write
	movq	_SDHI_INTERNAL_DMAC_RX_IN_USE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_global_flags@GOTPCREL(%rip), %rsi
	callq	_clear_bit
	movq	%r14, %rdi
	movl	$1, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_renesas_sdhi_internal_dmac_enable_dma ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RST_DTRANRST1,4,2              ## @RST_DTRANRST1
	.comm	_RST_DTRANRST0,4,2              ## @RST_DTRANRST0
	.comm	_DM_CM_RST,4,2                  ## @DM_CM_RST
	.comm	_RST_RESERVED_BITS,4,2          ## @RST_RESERVED_BITS
	.comm	_SDHI_INTERNAL_DMAC_RX_IN_USE,4,2 ## @SDHI_INTERNAL_DMAC_RX_IN_USE
	.comm	_global_flags,4,2               ## @global_flags
	.no_dead_strip	_renesas_sdhi_internal_dmac_abort_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function renesas_sdhi_internal_dmac_abort_dma
_renesas_sdhi_internal_dmac_abort_dma:  ; @renesas_sdhi_internal_dmac_abort_dma
	.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
Lloh0:
	adrp	x8, _RST_DTRANRST1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RST_DTRANRST1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RST_DTRANRST0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RST_DTRANRST0@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w20, w9, w8
	mov	w1, #0
	bl	_renesas_sdhi_internal_dmac_enable_dma
Lloh6:
	adrp	x21, _DM_CM_RST@GOTPAGE
Lloh7:
	ldr	x21, [x21, _DM_CM_RST@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x22, _RST_RESERVED_BITS@GOTPAGE
Lloh9:
	ldr	x22, [x22, _RST_RESERVED_BITS@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w2, w8, w20
	mov	x0, x19
	bl	_renesas_sdhi_internal_dmac_dm_write
	ldr	w1, [x21]
	ldr	w8, [x22]
	orr	w2, w8, w20
	mov	x0, x19
	bl	_renesas_sdhi_internal_dmac_dm_write
Lloh10:
	adrp	x8, _SDHI_INTERNAL_DMAC_RX_IN_USE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SDHI_INTERNAL_DMAC_RX_IN_USE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, _global_flags@GOTPAGE
Lloh14:
	ldr	x1, [x1, _global_flags@GOTPAGEOFF]
	bl	_clear_bit
	mov	x0, x19
	mov	w1, #1
	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	_renesas_sdhi_internal_dmac_enable_dma
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RST_DTRANRST1,4,2              ; @RST_DTRANRST1
	.comm	_RST_DTRANRST0,4,2              ; @RST_DTRANRST0
	.comm	_DM_CM_RST,4,2                  ; @DM_CM_RST
	.comm	_RST_RESERVED_BITS,4,2          ; @RST_RESERVED_BITS
	.comm	_SDHI_INTERNAL_DMAC_RX_IN_USE,4,2 ; @SDHI_INTERNAL_DMAC_RX_IN_USE
	.comm	_global_flags,4,2               ; @global_flags
	.no_dead_strip	_renesas_sdhi_internal_dmac_abort_dma
.subsections_via_symbols
