	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_hsmmc_enable_sdio_irq
_omap_hsmmc_enable_sdio_irq:            ## @omap_hsmmc_enable_sdio_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	%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
	movl	%esi, %r14d
	callq	_mmc_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_spin_lock_irqsave
	movl	4(%rbx), %edi
	movq	_CON@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_OMAP_HSMMC_READ
	movl	%eax, %r12d
	movl	4(%rbx), %edi
	movq	_ISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_OMAP_HSMMC_READ
	movl	%eax, %r15d
	movq	_HSMMC_SDIO_IRQ_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	orl	%eax, 12(%rbx)
	movq	_CIRQ_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	_CTPL@GOTPCREL(%rip), %rax
	movq	_CLKEXTFREE@GOTPCREL(%rip), %rcx
	orl	(%rax), %r12d
	orl	(%rcx), %r12d
	jmp	LBB0_3
LBB0_2:
	notl	%eax
	andl	%eax, 12(%rbx)
	movq	_CIRQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r15d
	movq	_CTPL@GOTPCREL(%rip), %rax
	movq	_CLKEXTFREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r12d
LBB0_3:
	movl	4(%rbx), %edi
	movl	(%r13), %esi
	movl	%r12d, %edx
	callq	_OMAP_HSMMC_WRITE
	movl	4(%rbx), %edi
	movq	_IE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%r15d, %edx
	callq	_OMAP_HSMMC_WRITE
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:
	cmpl	$0, 8(%rbx)
	jne	LBB0_6
LBB0_5:
	movl	4(%rbx), %edi
	movq	_ISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_OMAP_HSMMC_WRITE
LBB0_6:
	movl	4(%rbx), %edi
	movl	(%r12), %esi
	callq	_OMAP_HSMMC_READ
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CON,4,2                        ## @CON
	.comm	_ISE,4,2                        ## @ISE
	.comm	_HSMMC_SDIO_IRQ_ENABLED,4,2     ## @HSMMC_SDIO_IRQ_ENABLED
	.comm	_CIRQ_EN,4,2                    ## @CIRQ_EN
	.comm	_CTPL,4,2                       ## @CTPL
	.comm	_CLKEXTFREE,4,2                 ## @CLKEXTFREE
	.comm	_IE,4,2                         ## @IE
	.no_dead_strip	_omap_hsmmc_enable_sdio_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_hsmmc_enable_sdio_irq
_omap_hsmmc_enable_sdio_irq:            ; @omap_hsmmc_enable_sdio_irq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	bl	_mmc_priv
	mov	x19, x0
	bl	_spin_lock_irqsave
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x24, _CON@GOTPAGE
Lloh1:
	ldr	x24, [x24, _CON@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_OMAP_HSMMC_READ
	mov	x22, x0
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x23, _ISE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ISE@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_OMAP_HSMMC_READ
Lloh4:
	adrp	x8, _HSMMC_SDIO_IRQ_ENABLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HSMMC_SDIO_IRQ_ENABLED@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cbz	w20, LBB0_2
; %bb.1:
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
Lloh7:
	adrp	x8, _CIRQ_EN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CIRQ_EN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w21, w8, w0
Lloh10:
	adrp	x8, _CTPL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CTPL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _CLKEXTFREE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _CLKEXTFREE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w8, w22
	orr	w2, w8, w9
	b	LBB0_3
LBB0_2:
	ldr	w9, [x19, #12]
	bic	w8, w9, w8
	str	w8, [x19, #12]
Lloh16:
	adrp	x8, _CIRQ_EN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CIRQ_EN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	bic	w21, w0, w8
Lloh19:
	adrp	x8, _CTPL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CTPL@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _CLKEXTFREE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CLKEXTFREE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w2, w22, w8
LBB0_3:
	ldr	w0, [x19, #4]
	ldr	w1, [x24]
	bl	_OMAP_HSMMC_WRITE
	ldr	w0, [x19, #4]
Lloh25:
	adrp	x22, _IE@GOTPAGE
Lloh26:
	ldr	x22, [x22, _IE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x2, x21
	bl	_OMAP_HSMMC_WRITE
	cbz	w20, LBB0_5
; %bb.4:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_6
LBB0_5:
	ldr	w0, [x19, #4]
	ldr	w1, [x23]
	mov	x2, x21
	bl	_OMAP_HSMMC_WRITE
LBB0_6:
	ldr	w0, [x19, #4]
	ldr	w1, [x22]
	bl	_OMAP_HSMMC_READ
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_CON,4,2                        ; @CON
	.comm	_ISE,4,2                        ; @ISE
	.comm	_HSMMC_SDIO_IRQ_ENABLED,4,2     ; @HSMMC_SDIO_IRQ_ENABLED
	.comm	_CIRQ_EN,4,2                    ; @CIRQ_EN
	.comm	_CTPL,4,2                       ; @CTPL
	.comm	_CLKEXTFREE,4,2                 ; @CLKEXTFREE
	.comm	_IE,4,2                         ; @IE
	.no_dead_strip	_omap_hsmmc_enable_sdio_irq
.subsections_via_symbols
