	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_omap_set_timing
_sdhci_omap_set_timing:                 ## @sdhci_omap_set_timing
	.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	_SDHCI_OMAP_REQUIRE_IODELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpq	%rsi, 8(%rdi)
	je	LBB0_4
## %bb.2:
	movq	32(%rbx), %r15
	movq	%rbx, %rdi
	callq	_sdhci_omap_stop_clock
	movq	24(%rbx), %rax
	movq	(%rax,%r14,8), %rsi
	movl	16(%rbx), %edi
	callq	_pinctrl_select_state
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_sdhci_omap_start_clock
	movq	%r14, 8(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_OMAP_REQUIRE_IODELAY,4,2 ## @SDHCI_OMAP_REQUIRE_IODELAY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to select pinctrl state\n"

	.no_dead_strip	_sdhci_omap_set_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_omap_set_timing
_sdhci_omap_set_timing:                 ; @sdhci_omap_set_timing
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _SDHCI_OMAP_REQUIRE_IODELAY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDHCI_OMAP_REQUIRE_IODELAY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	cmp	x8, x1
	b.eq	LBB0_5
; %bb.2:
	ldr	x21, [x20, #32]
	mov	x0, x20
	bl	_sdhci_omap_stop_clock
	ldr	x8, [x20, #24]
	ldr	x1, [x8, x19, lsl #3]
	ldr	w0, [x20, #16]
	bl	_pinctrl_select_state
	cbz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	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	_dev_err
LBB0_4:
	mov	x0, x20
	bl	_sdhci_omap_start_clock
	str	x19, [x20, #8]
LBB0_5:
	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 AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_OMAP_REQUIRE_IODELAY,4,2 ; @SDHCI_OMAP_REQUIRE_IODELAY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to select pinctrl state\n"

	.no_dead_strip	_sdhci_omap_set_timing
.subsections_via_symbols
