	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniphier_sd_dma_endisable
_uniphier_sd_dma_endisable:             ## @uniphier_sd_dma_endisable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edx
	movq	_CTL_DMA_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_DMA_ENABLE_DMASDRW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	popq	%rbp
	jmp	_sd_ctrl_write16                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_DMA_ENABLE,4,2             ## @CTL_DMA_ENABLE
	.comm	_DMA_ENABLE_DMASDRW,4,2         ## @DMA_ENABLE_DMASDRW
	.no_dead_strip	_uniphier_sd_dma_endisable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniphier_sd_dma_endisable
_uniphier_sd_dma_endisable:             ; @uniphier_sd_dma_endisable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CTL_DMA_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CTL_DMA_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DMA_ENABLE_DMASDRW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_ENABLE_DMASDRW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w1, #0
	csel	w2, wzr, w9, eq
	mov	x1, x8
	b	_sd_ctrl_write16
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_DMA_ENABLE,4,2             ; @CTL_DMA_ENABLE
	.comm	_DMA_ENABLE_DMASDRW,4,2         ; @DMA_ENABLE_DMASDRW
	.no_dead_strip	_uniphier_sd_dma_endisable
.subsections_via_symbols
