	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_iproc_probe
_sdhci_iproc_probe:                     ## @sdhci_iproc_probe
	.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
	movq	%rdi, %r14
	callq	_device_get_match_data
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	8(%rax), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_sdhci_pltfm_init
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.17:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_3:
	movq	%r12, %rdi
	callq	_sdhci_priv
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	%rax, %r13
	movq	%rbx, (%rax)
	movq	8(%r12), %rdi
	callq	_mmc_of_parse
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_4
LBB0_15:
	movq	%r14, %rdi
	callq	_sdhci_pltfm_free
LBB0_16:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_sdhci_get_property
	movq	(%r13), %rax
	movl	16(%rax), %ecx
	movq	8(%r12), %rdx
	orl	%ecx, (%rdx)
	cmpq	$0, (%r14)
	je	LBB0_9
## %bb.5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_7:
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_8
## %bb.18:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_15
LBB0_8:
	movq	(%r13), %rax
LBB0_9:
	movq	8(%rax), %rcx
	movq	_SDHCI_QUIRK_MISSING_CAPS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_11
## %bb.10:
	movl	4(%rax), %ecx
	movl	%ecx, 4(%r12)
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_11:
	movq	%r12, %rdi
	callq	_sdhci_add_host
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	%eax, %ebx
	cmpq	$0, (%r14)
	je	LBB0_15
## %bb.14:
	movq	(%r15), %rdi
	callq	_clk_disable_unprepare
	jmp	LBB0_15
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to enable host clk\n"

	.comm	_SDHCI_QUIRK_MISSING_CAPS,4,2   ## @SDHCI_QUIRK_MISSING_CAPS
	.no_dead_strip	_sdhci_iproc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_iproc_probe
_sdhci_iproc_probe:                     ; @sdhci_iproc_probe
	.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	x19, x0
	bl	_device_get_match_data
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, x0
	ldr	x1, [x0, #8]
	mov	x0, x19
	mov	w2, #8
	bl	_sdhci_pltfm_init
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	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	_PTR_ERR
LBB0_3:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_6
LBB0_4:
	mov	x0, x20
	bl	_sdhci_priv
	mov	x21, x0
	bl	_sdhci_pltfm_priv
	mov	x22, x0
	str	x23, [x0]
	ldr	x0, [x20, #8]
	bl	_mmc_of_parse
	mov	x23, x0
	cbz	w0, LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_sdhci_pltfm_free
LBB0_6:
	mov	x0, x23
	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
	ret
LBB0_7:
	mov	x0, x19
	bl	_sdhci_get_property
	ldr	x8, [x22]
	ldr	w9, [x8, #16]
	ldr	x10, [x20, #8]
	ldr	w11, [x10]
	orr	w9, w11, w9
	str	w9, [x10]
	ldr	x9, [x19]
	cbz	x9, LBB0_13
; %bb.8:
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x21]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x21]
	cbz	x8, LBB0_10
; %bb.9:
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_5
LBB0_10:
	bl	_clk_prepare_enable
	cbz	w0, LBB0_12
; %bb.11:
	mov	x23, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_12:
	ldr	x8, [x22]
LBB0_13:
	ldr	x9, [x8, #8]
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _SDHCI_QUIRK_MISSING_CAPS@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SDHCI_QUIRK_MISSING_CAPS@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_15
; %bb.14:
	ldr	d0, [x8]
	str	d0, [x20]
LBB0_15:
	mov	x0, x20
	bl	_sdhci_add_host
	mov	x23, x0
	cbz	w0, LBB0_6
; %bb.16:
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.17:
	ldr	x0, [x21]
	bl	_clk_disable_unprepare
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to enable host clk\n"

	.comm	_SDHCI_QUIRK_MISSING_CAPS,4,2   ; @SDHCI_QUIRK_MISSING_CAPS
	.no_dead_strip	_sdhci_iproc_probe
.subsections_via_symbols
