	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_adma_show_error
_sdhci_adma_show_error:                 ## @sdhci_adma_show_error
	.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
	movq	%rdi, %r12
	movq	16(%rdi), %r13
	movq	24(%rdi), %r14
	callq	_sdhci_dumpregs
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movl	4(%r14), %edi
	callq	_le16_to_cpu
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	movl	%r12d, %ecx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_SDHCI_DUMP
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r12), %rax
	leaq	(%r14,%rax), %r15
	addq	%rax, %r13
	movl	4(%r14), %ebx
	movq	_ADMA2_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%r15, %r14
	testl	%ebx, %eax
	jne	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SDHCI_USE_64_BIT_DMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	(%r14), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movl	4(%r14), %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movl	%r15d, %ecx
	movl	%r12d, %r8d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_SDHCI_DUMP
	jmp	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_USE_64_BIT_DMA,4,2       ## @SDHCI_USE_64_BIT_DMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08llx: DMA 0x%08x%08x, LEN 0x%04x, Attr=0x%02x\n"

L_.str.1:                               ## @.str.1
	.asciz	"%08llx: DMA 0x%08x, LEN 0x%04x, Attr=0x%02x\n"

	.comm	_ADMA2_END,4,2                  ## @ADMA2_END
	.no_dead_strip	_sdhci_adma_show_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_adma_show_error
_sdhci_adma_show_error:                 ; @sdhci_adma_show_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldp	x20, x27, [x0, #16]
	bl	_sdhci_dumpregs
Lloh0:
	adrp	x26, _SDHCI_USE_64_BIT_DMA@GOTPAGE
Lloh1:
	ldr	x26, [x26, _SDHCI_USE_64_BIT_DMA@GOTPAGEOFF]
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x28, _ADMA2_END@GOTPAGE
Lloh5:
	ldr	x28, [x28, _ADMA2_END@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27, #8]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	w0, [x27]
	bl	_le16_to_cpu
	mov	x24, x0
	ldr	w0, [x27, #4]
	bl	_le16_to_cpu
	mov	x4, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_SDHCI_DUMP
	ldr	x8, [x19, #8]
	add	x23, x27, x8
	add	x20, x8, x20
	ldr	w24, [x27, #4]
	ldr	w0, [x28]
	bl	_cpu_to_le16
	mov	x27, x23
	tst	w0, w24
	b.ne	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27, #12]
	bl	_le32_to_cpu
	mov	x23, x0
	ldr	w0, [x27, #8]
	bl	_le32_to_cpu
	mov	x24, x0
	ldr	w0, [x27]
	bl	_le16_to_cpu
	mov	x25, x0
	ldr	w0, [x27, #4]
	bl	_le16_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_USE_64_BIT_DMA,4,2       ; @SDHCI_USE_64_BIT_DMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08llx: DMA 0x%08x%08x, LEN 0x%04x, Attr=0x%02x\n"

l_.str.1:                               ; @.str.1
	.asciz	"%08llx: DMA 0x%08x, LEN 0x%04x, Attr=0x%02x\n"

	.comm	_ADMA2_END,4,2                  ; @ADMA2_END
	.no_dead_strip	_sdhci_adma_show_error
.subsections_via_symbols
