	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmci_request
_atmci_request:                         ## @atmci_request
	.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	%rsi, %r15
	movq	%rdi, %r14
	callq	_mmc_priv
	movq	%rax, %rbx
	movq	8(%rax), %r12
	movl	4(%rax), %edi
	callq	_WARN_ON
	movq	(%r12), %rdi
	movq	(%r15), %rax
	movl	4(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_ATMCI_CARD_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpl	$2, (%rax)
	jl	LBB0_5
## %bb.3:
	testb	$3, 4(%rax)
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, (%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_mmc_request_done
LBB0_5:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atmci_queue_request            ## TAILCALL
LBB0_6:
	movq	_ENOMEDIUM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, (%rax)
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mmc_request_done               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MRQ: cmd %u\n"

	.comm	_ATMCI_CARD_PRESENT,4,2         ## @ATMCI_CARD_PRESENT
	.comm	_ENOMEDIUM,4,2                  ## @ENOMEDIUM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_atmci_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmci_request
_atmci_request:                         ; @atmci_request
	.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, x1
	mov	x20, x0
	bl	_mmc_priv
	mov	x21, x0
	ldr	x22, [x0, #8]
	ldr	w0, [x0, #4]
	bl	_WARN_ON
	ldr	x0, [x22]
	ldr	x8, [x19]
	ldr	w2, [x8, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _ATMCI_CARD_PRESENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATMCI_CARD_PRESENT@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w9, [x8]
	cmp	w9, #2
	b.lt	LBB0_5
; %bb.3:
	ldrb	w8, [x8, #4]
	tst	w8, #0x3
	b.eq	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w8, w8
	ldr	x9, [x19]
	str	w8, [x9]
	mov	x0, x20
	mov	x1, x19
	bl	_mmc_request_done
LBB0_5:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	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	_atmci_queue_request
LBB0_6:
Lloh8:
	adrp	x8, _ENOMEDIUM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEDIUM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w8, w8
	ldr	x9, [x19]
	str	w8, [x9]
	mov	x0, x20
	mov	x1, x19
	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	_mmc_request_done
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MRQ: cmd %u\n"

	.comm	_ATMCI_CARD_PRESENT,4,2         ; @ATMCI_CARD_PRESENT
	.comm	_ENOMEDIUM,4,2                  ; @ENOMEDIUM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_atmci_request
.subsections_via_symbols
