	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_omap_irq
_sdhci_omap_irq:                        ## @sdhci_omap_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	cmpl	$0, 8(%rbx)
	jne	LBB0_8
## %bb.3:
	movq	_CMD_ERR_MASK@GOTPCREL(%rip), %rcx
	testl	%r14d, (%rcx)
	je	LBB0_8
## %bb.4:
	movq	_SDHCI_INT_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r14d, %ecx
	jne	LBB0_5
## %bb.6:
	movq	_EILSEQ@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%edx, %edx
	subl	(%rcx), %edx
	movl	%edx, (%rax)
	movq	$0, (%rbx)
	movq	_CMD_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	andl	%r14d, %esi
	movq	_SDHCI_INT_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_sdhci_writel
	movl	(%r15), %eax
	notl	%eax
	andl	%eax, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ERR_MASK,4,2               ## @CMD_ERR_MASK
	.comm	_SDHCI_INT_TIMEOUT,4,2          ## @SDHCI_INT_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.comm	_CMD_MASK,4,2                   ## @CMD_MASK
	.comm	_SDHCI_INT_STATUS,4,2           ## @SDHCI_INT_STATUS
	.no_dead_strip	_sdhci_omap_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_omap_irq
_sdhci_omap_irq:                        ; @sdhci_omap_irq
	.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	_sdhci_priv
	bl	_sdhci_pltfm_priv
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w9, [x20, #8]
	cbnz	w9, LBB0_5
; %bb.3:
Lloh0:
	adrp	x9, _CMD_ERR_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CMD_ERR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w19
	b.eq	LBB0_5
; %bb.4:
Lloh3:
	adrp	x9, _SDHCI_INT_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDHCI_INT_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _EILSEQ@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EILSEQ@GOTPAGEOFF]
Lloh8:
	adrp	x11, _ETIMEDOUT@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ETIMEDOUT@GOTPAGEOFF]
	tst	w9, w19
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	neg	w9, w9
	str	w9, [x8]
Lloh10:
	adrp	x21, _CMD_MASK@GOTPAGE
Lloh11:
	ldr	x21, [x21, _CMD_MASK@GOTPAGEOFF]
	str	xzr, [x20]
	ldr	w8, [x21]
	and	w1, w8, w19
Lloh12:
	adrp	x8, _SDHCI_INT_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SDHCI_INT_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_sdhci_writel
	ldr	w8, [x21]
	bic	w19, w19, w8
LBB0_5:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ERR_MASK,4,2               ; @CMD_ERR_MASK
	.comm	_SDHCI_INT_TIMEOUT,4,2          ; @SDHCI_INT_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.comm	_CMD_MASK,4,2                   ; @CMD_MASK
	.comm	_SDHCI_INT_STATUS,4,2           ; @SDHCI_INT_STATUS
	.no_dead_strip	_sdhci_omap_irq
.subsections_via_symbols
