	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_hsmmc_disable_irq
_omap_hsmmc_disable_irq:                ## @omap_hsmmc_disable_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
	movq	%rdi, %r15
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_HSMMC_SDIO_IRQ_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	(%r15), %ebx
	je	LBB0_2
## %bb.1:
	movq	_CIRQ_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movl	8(%r15), %edi
	movq	_ISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_OMAP_HSMMC_WRITE
	movl	8(%r15), %edi
	movq	_IE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_OMAP_HSMMC_WRITE
	movl	8(%r15), %edi
	movq	_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STAT_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_OMAP_HSMMC_WRITE
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HSMMC_SDIO_IRQ_ENABLED,4,2     ## @HSMMC_SDIO_IRQ_ENABLED
	.comm	_CIRQ_EN,4,2                    ## @CIRQ_EN
	.comm	_ISE,4,2                        ## @ISE
	.comm	_IE,4,2                         ## @IE
	.comm	_STAT,4,2                       ## @STAT
	.comm	_STAT_CLEAR,4,2                 ## @STAT_CLEAR
	.no_dead_strip	_omap_hsmmc_disable_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_disable_irq
_omap_hsmmc_disable_irq:                ; @omap_hsmmc_disable_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, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _HSMMC_SDIO_IRQ_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HSMMC_SDIO_IRQ_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _CIRQ_EN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CIRQ_EN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w21, wzr, w10, eq
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _ISE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_OMAP_HSMMC_WRITE
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x8, _IE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_OMAP_HSMMC_WRITE
	ldr	w0, [x19, #8]
Lloh12:
	adrp	x8, _STAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STAT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _STAT_CLEAR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STAT_CLEAR@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_OMAP_HSMMC_WRITE
	mov	x0, x20
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HSMMC_SDIO_IRQ_ENABLED,4,2     ; @HSMMC_SDIO_IRQ_ENABLED
	.comm	_CIRQ_EN,4,2                    ; @CIRQ_EN
	.comm	_ISE,4,2                        ; @ISE
	.comm	_IE,4,2                         ; @IE
	.comm	_STAT,4,2                       ; @STAT
	.comm	_STAT_CLEAR,4,2                 ; @STAT_CLEAR
	.no_dead_strip	_omap_hsmmc_disable_irq
.subsections_via_symbols
