	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmci_regs_show
_atmci_regs_show:                       ## @atmci_regs_show
	.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	(%rdi), %rbx
	movq	_MCI_REGS_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	4(%rbx), %edi
	callq	_clk_enable
	movl	8(%rbx), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_memcpy_fromio
	movl	4(%rbx), %edi
	callq	_clk_disable
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
	movq	_MCI_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	(%r12,%rax,4), %edx
	movq	_MCI_MR_RDPROOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_MCI_MR_WRPROOF@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%edx, %esi
	leaq	L_.str.3(%rip), %r8
	cmoveq	%rax, %r8
	movzbl	%dl, %r9d
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_MCI_DTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	(%r12,%rax,4), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_MCI_SDCR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	(%r12,%rax,4), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_MCI_ARGR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	(%r12,%rax,4), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_MCI_BLKR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	(%r12,%rax,4), %edx
	movzwl	%dx, %ecx
	movl	%edx, %r8d
	shrl	$16, %r8d
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_seq_printf
	movq	_MCI_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	(%r12,%rax,4), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_atmci_show_status_reg
	movq	_MCI_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rax
	movl	(%r12,%rax,4), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	callq	_atmci_show_status_reg
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCI_REGS_SIZE,4,2              ## @MCI_REGS_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MR:\t0x%08x%s%s CLKDIV=%u\n"

	.comm	_MCI_MR,4,2                     ## @MCI_MR
	.comm	_MCI_MR_RDPROOF,4,2             ## @MCI_MR_RDPROOF
L_.str.1:                               ## @.str.1
	.asciz	" RDPROOF"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_MCI_MR_WRPROOF,4,2             ## @MCI_MR_WRPROOF
L_.str.3:                               ## @.str.3
	.asciz	" WRPROOF"

L_.str.4:                               ## @.str.4
	.asciz	"DTOR:\t0x%08x\n"

	.comm	_MCI_DTOR,4,2                   ## @MCI_DTOR
L_.str.5:                               ## @.str.5
	.asciz	"SDCR:\t0x%08x\n"

	.comm	_MCI_SDCR,4,2                   ## @MCI_SDCR
L_.str.6:                               ## @.str.6
	.asciz	"ARGR:\t0x%08x\n"

	.comm	_MCI_ARGR,4,2                   ## @MCI_ARGR
L_.str.7:                               ## @.str.7
	.asciz	"BLKR:\t0x%08x BCNT=%u BLKLEN=%u\n"

	.comm	_MCI_BLKR,4,2                   ## @MCI_BLKR
L_.str.8:                               ## @.str.8
	.asciz	"SR"

	.comm	_MCI_SR,4,2                     ## @MCI_SR
L_.str.9:                               ## @.str.9
	.asciz	"IMR"

	.comm	_MCI_IMR,4,2                    ## @MCI_IMR
	.no_dead_strip	_atmci_regs_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmci_regs_show
_atmci_regs_show:                       ; @atmci_regs_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x22, _MCI_REGS_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MCI_REGS_SIZE@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	w0, [x21, #4]
	bl	_clk_enable
	ldr	w1, [x21, #8]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_memcpy_fromio
	ldr	w0, [x21, #4]
	bl	_clk_disable
	mov	x0, x21
	bl	_spin_unlock_bh
Lloh5:
	adrp	x8, _MCI_MR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MCI_MR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	ldr	w2, [x20, w8, sxtw #2]
Lloh8:
	adrp	x8, _MCI_MR_RDPROOF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MCI_MR_RDPROOF@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, l_.str.1@PAGE
Lloh12:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh13:
	adrp	x10, l_.str.2@PAGE
Lloh14:
	add	x10, x10, l_.str.2@PAGEOFF
	tst	w8, w2
	csel	x8, x10, x9, eq
Lloh15:
	adrp	x9, _MCI_MR_WRPROOF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MCI_MR_WRPROOF@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x11, l_.str.3@PAGE
Lloh19:
	add	x11, x11, l_.str.3@PAGEOFF
	tst	w9, w2
	csel	x9, x10, x11, eq
	and	w10, w2, #0xff
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh22:
	adrp	x8, _MCI_DTOR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _MCI_DTOR@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	ldr	w2, [x20, w8, sxtw #2]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh27:
	adrp	x8, _MCI_SDCR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MCI_SDCR@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	ldr	w2, [x20, w8, sxtw #2]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh32:
	adrp	x8, _MCI_ARGR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MCI_ARGR@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	ldr	w2, [x20, w8, sxtw #2]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh37:
	adrp	x8, _MCI_BLKR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MCI_BLKR@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	ldr	w2, [x20, w8, sxtw #2]
	and	w8, w2, #0xffff
	lsr	w9, w2, #16
	stp	x8, x9, [sp]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_seq_printf
Lloh42:
	adrp	x8, _MCI_SR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _MCI_SR@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	ldr	w2, [x20, w8, sxtw #2]
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_atmci_show_status_reg
Lloh47:
	adrp	x8, _MCI_IMR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MCI_IMR@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	ldr	w2, [x20, w8, sxtw #2]
Lloh50:
	adrp	x1, l_.str.9@PAGE
Lloh51:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_atmci_show_status_reg
	mov	x0, x20
	bl	_kfree
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_MCI_REGS_SIZE,4,2              ; @MCI_REGS_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MR:\t0x%08x%s%s CLKDIV=%u\n"

	.comm	_MCI_MR,4,2                     ; @MCI_MR
	.comm	_MCI_MR_RDPROOF,4,2             ; @MCI_MR_RDPROOF
l_.str.1:                               ; @.str.1
	.asciz	" RDPROOF"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_MCI_MR_WRPROOF,4,2             ; @MCI_MR_WRPROOF
l_.str.3:                               ; @.str.3
	.asciz	" WRPROOF"

l_.str.4:                               ; @.str.4
	.asciz	"DTOR:\t0x%08x\n"

	.comm	_MCI_DTOR,4,2                   ; @MCI_DTOR
l_.str.5:                               ; @.str.5
	.asciz	"SDCR:\t0x%08x\n"

	.comm	_MCI_SDCR,4,2                   ; @MCI_SDCR
l_.str.6:                               ; @.str.6
	.asciz	"ARGR:\t0x%08x\n"

	.comm	_MCI_ARGR,4,2                   ; @MCI_ARGR
l_.str.7:                               ; @.str.7
	.asciz	"BLKR:\t0x%08x BCNT=%u BLKLEN=%u\n"

	.comm	_MCI_BLKR,4,2                   ; @MCI_BLKR
l_.str.8:                               ; @.str.8
	.asciz	"SR"

	.comm	_MCI_SR,4,2                     ; @MCI_SR
l_.str.9:                               ; @.str.9
	.asciz	"IMR"

	.comm	_MCI_IMR,4,2                    ; @MCI_IMR
	.no_dead_strip	_atmci_regs_show
.subsections_via_symbols
