	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __tmio_mmc_sdcard_irq
___tmio_mmc_sdcard_irq:                 ## @__tmio_mmc_sdcard_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movq	_TMIO_STAT_CMDRESPEND@GOTPCREL(%rip), %rcx
	movq	_TMIO_STAT_CMDTIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%esi, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_tmio_mmc_ack_mmc_irqs
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_tmio_mmc_cmd_irq
	jmp	LBB0_7
LBB0_2:
	movq	_TMIO_STAT_RXRDY@GOTPCREL(%rip), %rcx
	movq	_TMIO_STAT_TXRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	testl	%esi, %eax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_tmio_mmc_ack_mmc_irqs
	movq	%rbx, %rdi
	callq	_tmio_mmc_pio_irq
	jmp	LBB0_7
LBB0_4:
	movq	_TMIO_STAT_DATAEND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_tmio_mmc_ack_mmc_irqs
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_tmio_mmc_data_irq
LBB0_7:
	movl	$1, %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_TMIO_STAT_CMDRESPEND,4,2       ## @TMIO_STAT_CMDRESPEND
	.comm	_TMIO_STAT_CMDTIMEOUT,4,2       ## @TMIO_STAT_CMDTIMEOUT
	.comm	_TMIO_STAT_RXRDY,4,2            ## @TMIO_STAT_RXRDY
	.comm	_TMIO_STAT_TXRQ,4,2             ## @TMIO_STAT_TXRQ
	.comm	_TMIO_STAT_DATAEND,4,2          ## @TMIO_STAT_DATAEND
	.no_dead_strip	___tmio_mmc_sdcard_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __tmio_mmc_sdcard_irq
___tmio_mmc_sdcard_irq:                 ; @__tmio_mmc_sdcard_irq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _TMIO_STAT_CMDRESPEND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMIO_STAT_CMDRESPEND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TMIO_STAT_CMDTIMEOUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TMIO_STAT_CMDTIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x8
	bl	_tmio_mmc_ack_mmc_irqs
	mov	x0, x19
	mov	x1, x20
	bl	_tmio_mmc_cmd_irq
	b	LBB0_6
LBB0_2:
Lloh6:
	adrp	x8, _TMIO_STAT_RXRDY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TMIO_STAT_RXRDY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _TMIO_STAT_TXRQ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TMIO_STAT_TXRQ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w1
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x8
	bl	_tmio_mmc_ack_mmc_irqs
	mov	x0, x19
	bl	_tmio_mmc_pio_irq
	b	LBB0_6
LBB0_4:
Lloh12:
	adrp	x8, _TMIO_STAT_DATAEND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TMIO_STAT_DATAEND@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x19
	mov	x1, x8
	bl	_tmio_mmc_ack_mmc_irqs
	mov	x0, x19
	mov	x1, x20
	bl	_tmio_mmc_data_irq
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TMIO_STAT_CMDRESPEND,4,2       ; @TMIO_STAT_CMDRESPEND
	.comm	_TMIO_STAT_CMDTIMEOUT,4,2       ; @TMIO_STAT_CMDTIMEOUT
	.comm	_TMIO_STAT_RXRDY,4,2            ; @TMIO_STAT_RXRDY
	.comm	_TMIO_STAT_TXRQ,4,2             ; @TMIO_STAT_TXRQ
	.comm	_TMIO_STAT_DATAEND,4,2          ; @TMIO_STAT_DATAEND
	.no_dead_strip	___tmio_mmc_sdcard_irq
.subsections_via_symbols
