	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esdhc_writel_le
_esdhc_writel_le:                       ## @esdhc_writel_le
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	_SDHCI_INT_ENABLE@GOTPCREL(%rip), %rcx
	cmpl	%r13d, (%rcx)
	sete	%cl
	movq	_SDHCI_SIGNAL_ENABLE@GOTPCREL(%rip), %rdx
	cmpl	%r13d, (%rdx)
	sete	%dl
	orb	%cl, %dl
	movq	_SDHCI_INT_STATUS@GOTPCREL(%rip), %rbx
	cmpl	%r13d, (%rbx)
	movq	%rax, %r12
	sete	%al
	orb	%dl, %al
	movzbl	%al, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_SDHCI_INT_CARD_INT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	callq	_esdhc_is_usdhc
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_SDHCI_HOST_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	_ESDHC_CTRL_D3CD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	_SDHCI_HOST_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_ESDHC_CTRL_D3CD@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_SDHCI_HOST_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	movq	_SDHCI_INT_STATUS@GOTPCREL(%rip), %rbx
	callq	_writel
LBB0_4:
	movq	_SDHCI_INT_ADMA_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %eax
	je	LBB0_6
## %bb.5:
	notl	%eax
	andl	%r15d, %eax
	movq	_ESDHC_INT_VENDOR_SPEC_DMA_ERR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %r15d
LBB0_6:
	movq	8(%r12), %rax
	movq	_ESDHC_FLAG_MULTIBLK_NO_INT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	setne	%al
	cmpl	%r13d, (%rbx)
	sete	%cl
	movq	_SDHCI_INT_DATA_END@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%r15d, %edx
	setne	%dl
	andb	%cl, %dl
	andb	%al, %dl
	movzbl	%dl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_ESDHC_VENDOR_SPEC@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movq	_ESDHC_VENDOR_SPEC_SDIO_QUIRK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%rbx), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	(%r12), %rax
	movq	_MULTIBLK_IN_PROCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_MMC_STOP_TRANSMISSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$24, %eax
	movq	_SDHCI_CMD_ABORTCMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	shll	$16, %edi
	orl	%eax, %edi
	movq	_SDHCI_TRANSFER_MODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	_WAIT_FOR_INT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_9:
	movslq	%r13d, %rsi
	addq	(%r14), %rsi
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_INT_ENABLE,4,2           ## @SDHCI_INT_ENABLE
	.comm	_SDHCI_SIGNAL_ENABLE,4,2        ## @SDHCI_SIGNAL_ENABLE
	.comm	_SDHCI_INT_STATUS,4,2           ## @SDHCI_INT_STATUS
	.comm	_SDHCI_INT_CARD_INT,4,2         ## @SDHCI_INT_CARD_INT
	.comm	_SDHCI_HOST_CONTROL,8,3         ## @SDHCI_HOST_CONTROL
	.comm	_ESDHC_CTRL_D3CD,4,2            ## @ESDHC_CTRL_D3CD
	.comm	_SDHCI_INT_ADMA_ERROR,4,2       ## @SDHCI_INT_ADMA_ERROR
	.comm	_ESDHC_INT_VENDOR_SPEC_DMA_ERR,4,2 ## @ESDHC_INT_VENDOR_SPEC_DMA_ERR
	.comm	_ESDHC_FLAG_MULTIBLK_NO_INT,4,2 ## @ESDHC_FLAG_MULTIBLK_NO_INT
	.comm	_SDHCI_INT_DATA_END,4,2         ## @SDHCI_INT_DATA_END
	.comm	_ESDHC_VENDOR_SPEC,8,3          ## @ESDHC_VENDOR_SPEC
	.comm	_ESDHC_VENDOR_SPEC_SDIO_QUIRK,4,2 ## @ESDHC_VENDOR_SPEC_SDIO_QUIRK
	.comm	_MULTIBLK_IN_PROCESS,8,3        ## @MULTIBLK_IN_PROCESS
	.comm	_MMC_STOP_TRANSMISSION,4,2      ## @MMC_STOP_TRANSMISSION
	.comm	_SDHCI_CMD_ABORTCMD,4,2         ## @SDHCI_CMD_ABORTCMD
	.comm	_SDHCI_TRANSFER_MODE,8,3        ## @SDHCI_TRANSFER_MODE
	.comm	_WAIT_FOR_INT,8,3               ## @WAIT_FOR_INT
	.no_dead_strip	_esdhc_writel_le
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esdhc_writel_le
_esdhc_writel_le:                       ; @esdhc_writel_le
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _SDHCI_INT_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCI_INT_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
Lloh3:
	adrp	x8, _SDHCI_SIGNAL_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDHCI_SIGNAL_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w8, w19, #4, ne
Lloh6:
	adrp	x24, _SDHCI_INT_STATUS@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SDHCI_INT_STATUS@GOTPAGEOFF]
	ldr	w8, [x24]
	ccmp	w8, w19, #4, ne
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.1:
Lloh8:
	adrp	x8, _SDHCI_INT_CARD_INT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SDHCI_INT_CARD_INT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_esdhc_is_usdhc
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
Lloh11:
	adrp	x25, _SDHCI_HOST_CONTROL@GOTPAGE
Lloh12:
	ldr	x25, [x25, _SDHCI_HOST_CONTROL@GOTPAGEOFF]
	ldr	x9, [x25]
	add	x0, x9, x8
	bl	_readl
Lloh13:
	adrp	x26, _ESDHC_CTRL_D3CD@GOTPAGE
Lloh14:
	ldr	x26, [x26, _ESDHC_CTRL_D3CD@GOTPAGEOFF]
	ldr	w8, [x26]
	bic	w23, w0, w8
	ldr	x8, [x20]
	ldr	x9, [x25]
	add	x1, x9, x8
	mov	x0, x23
	bl	_writel
	ldr	w8, [x26]
	orr	w0, w8, w23
	ldr	x8, [x20]
	ldr	x9, [x25]
	add	x1, x9, x8
	bl	_writel
LBB0_4:
Lloh15:
	adrp	x8, _SDHCI_INT_ADMA_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SDHCI_INT_ADMA_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	bic	w8, w21, w8
Lloh18:
	adrp	x9, _ESDHC_INT_VENDOR_SPEC_DMA_ERR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ESDHC_INT_VENDOR_SPEC_DMA_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w21, w9, w8
LBB0_6:
	ldr	x8, [x22, #8]
Lloh21:
	adrp	x9, _ESDHC_FLAG_MULTIBLK_NO_INT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ESDHC_FLAG_MULTIBLK_NO_INT@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	ldr	w8, [x24]
	ccmp	w8, w19, #0, ne
	cset	w8, eq
Lloh24:
	adrp	x9, _SDHCI_INT_DATA_END@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SDHCI_INT_DATA_END@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w21
	cset	w9, ne
	and	w0, w8, w9
	bl	_unlikely
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x20]
Lloh27:
	adrp	x23, _ESDHC_VENDOR_SPEC@GOTPAGE
Lloh28:
	ldr	x23, [x23, _ESDHC_VENDOR_SPEC@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
Lloh29:
	adrp	x8, _ESDHC_VENDOR_SPEC_SDIO_QUIRK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ESDHC_VENDOR_SPEC_SDIO_QUIRK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x8, [x20]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x22]
Lloh32:
	adrp	x9, _MULTIBLK_IN_PROCESS@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MULTIBLK_IN_PROCESS@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh35:
	adrp	x8, _MMC_STOP_TRANSMISSION@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MMC_STOP_TRANSMISSION@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _SDHCI_CMD_ABORTCMD@GOTPAGE
Lloh39:
	ldr	x9, [x9, _SDHCI_CMD_ABORTCMD@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	lsl	w9, w9, #16
	orr	w0, w9, w8, lsl #24
	ldr	x8, [x20]
Lloh41:
	adrp	x9, _SDHCI_TRANSFER_MODE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _SDHCI_TRANSFER_MODE@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh44:
	adrp	x8, _WAIT_FOR_INT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WAIT_FOR_INT@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	str	x8, [x22]
LBB0_9:
	ldr	x8, [x20]
	add	x1, x8, w19, sxtw
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_INT_ENABLE,4,2           ; @SDHCI_INT_ENABLE
	.comm	_SDHCI_SIGNAL_ENABLE,4,2        ; @SDHCI_SIGNAL_ENABLE
	.comm	_SDHCI_INT_STATUS,4,2           ; @SDHCI_INT_STATUS
	.comm	_SDHCI_INT_CARD_INT,4,2         ; @SDHCI_INT_CARD_INT
	.comm	_SDHCI_HOST_CONTROL,8,3         ; @SDHCI_HOST_CONTROL
	.comm	_ESDHC_CTRL_D3CD,4,2            ; @ESDHC_CTRL_D3CD
	.comm	_SDHCI_INT_ADMA_ERROR,4,2       ; @SDHCI_INT_ADMA_ERROR
	.comm	_ESDHC_INT_VENDOR_SPEC_DMA_ERR,4,2 ; @ESDHC_INT_VENDOR_SPEC_DMA_ERR
	.comm	_ESDHC_FLAG_MULTIBLK_NO_INT,4,2 ; @ESDHC_FLAG_MULTIBLK_NO_INT
	.comm	_SDHCI_INT_DATA_END,4,2         ; @SDHCI_INT_DATA_END
	.comm	_ESDHC_VENDOR_SPEC,8,3          ; @ESDHC_VENDOR_SPEC
	.comm	_ESDHC_VENDOR_SPEC_SDIO_QUIRK,4,2 ; @ESDHC_VENDOR_SPEC_SDIO_QUIRK
	.comm	_MULTIBLK_IN_PROCESS,8,3        ; @MULTIBLK_IN_PROCESS
	.comm	_MMC_STOP_TRANSMISSION,4,2      ; @MMC_STOP_TRANSMISSION
	.comm	_SDHCI_CMD_ABORTCMD,4,2         ; @SDHCI_CMD_ABORTCMD
	.comm	_SDHCI_TRANSFER_MODE,8,3        ; @SDHCI_TRANSFER_MODE
	.comm	_WAIT_FOR_INT,8,3               ; @WAIT_FOR_INT
	.no_dead_strip	_esdhc_writel_le
.subsections_via_symbols
