	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_hsmmc_runtime_resume
_omap_hsmmc_runtime_resume:             ## @omap_hsmmc_runtime_resume
	.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, %r14
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_omap_hsmmc_context_restore
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	16(%rbx), %rax
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_HSMMC_SDIO_IRQ_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	callq	_pinctrl_pm_select_default_state
	movl	12(%rbx), %edi
	movq	_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_STAT_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_OMAP_HSMMC_WRITE
	movl	12(%rbx), %edi
	movq	_ISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CIRQ_EN@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_OMAP_HSMMC_WRITE
	movl	12(%rbx), %edi
	movq	_IE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_OMAP_HSMMC_WRITE
	jmp	LBB0_4
LBB0_3:
	movl	8(%rbx), %edi
	callq	_pinctrl_pm_select_default_state
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enabled\n"

	.comm	_MMC_CAP_SDIO_IRQ,4,2           ## @MMC_CAP_SDIO_IRQ
	.comm	_HSMMC_SDIO_IRQ_ENABLED,4,2     ## @HSMMC_SDIO_IRQ_ENABLED
	.comm	_STAT,4,2                       ## @STAT
	.comm	_STAT_CLEAR,4,2                 ## @STAT_CLEAR
	.comm	_ISE,4,2                        ## @ISE
	.comm	_CIRQ_EN,4,2                    ## @CIRQ_EN
	.comm	_IE,4,2                         ## @IE
	.no_dead_strip	_omap_hsmmc_runtime_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_hsmmc_runtime_resume
_omap_hsmmc_runtime_resume:             ; @omap_hsmmc_runtime_resume
	.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
	bl	_dev_get_drvdata
	mov	x20, x0
	bl	_omap_hsmmc_context_restore
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	add	x19, x20, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _MMC_CAP_SDIO_IRQ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MMC_CAP_SDIO_IRQ@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _HSMMC_SDIO_IRQ_ENABLED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HSMMC_SDIO_IRQ_ENABLED@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	w0, [x20, #8]
	bl	_pinctrl_pm_select_default_state
	ldr	w0, [x20, #12]
Lloh8:
	adrp	x8, _STAT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STAT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _STAT_CLEAR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STAT_CLEAR@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_OMAP_HSMMC_WRITE
	ldr	w0, [x20, #12]
Lloh14:
	adrp	x8, _ISE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ISE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x21, _CIRQ_EN@GOTPAGE
Lloh18:
	ldr	x21, [x21, _CIRQ_EN@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_OMAP_HSMMC_WRITE
	ldr	w0, [x20, #12]
Lloh19:
	adrp	x8, _IE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IE@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_OMAP_HSMMC_WRITE
	b	LBB0_4
LBB0_3:
	ldr	w0, [x20, #8]
	bl	_pinctrl_pm_select_default_state
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enabled\n"

	.comm	_MMC_CAP_SDIO_IRQ,4,2           ; @MMC_CAP_SDIO_IRQ
	.comm	_HSMMC_SDIO_IRQ_ENABLED,4,2     ; @HSMMC_SDIO_IRQ_ENABLED
	.comm	_STAT,4,2                       ; @STAT
	.comm	_STAT_CLEAR,4,2                 ; @STAT_CLEAR
	.comm	_ISE,4,2                        ; @ISE
	.comm	_CIRQ_EN,4,2                    ; @CIRQ_EN
	.comm	_IE,4,2                         ; @IE
	.no_dead_strip	_omap_hsmmc_runtime_resume
.subsections_via_symbols
