	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_sirf_probe
_sdhci_sirf_probe:                      ## @sdhci_sirf_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, %r13
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	movq	%rbx, %rdi
	jmp	LBB0_4
LBB0_2:
	movq	_sdhci_sirf_pdata@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_sdhci_pltfm_init
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r14, %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	callq	_sdhci_priv
	movq	%rax, %r12
	movq	%rbx, (%rax)
	movq	%r13, %rdi
	callq	_sdhci_get_of_property
	movq	(%r12), %rdi
	callq	_clk_prepare_enable
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_12
## %bb.6:
	movq	%r14, %rdi
	callq	_sdhci_add_host
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_mmc_gpiod_request_cd
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_8
## %bb.10:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_sdhci_remove_host
	movl	%ebx, %r15d
LBB0_11:
	movq	(%r12), %rdi
	callq	_clk_disable_unprepare
LBB0_12:
	movq	%r13, %rdi
	callq	_sdhci_pltfm_free
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.9:
	movl	(%r14), %edi
	callq	_mmc_gpiod_request_cd_irq
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get clock"

	.comm	_sdhci_sirf_pdata,4,2           ## @sdhci_sirf_pdata
L_.str.1:                               ## @.str.1
	.asciz	"cd"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.no_dead_strip	_sdhci_sirf_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_sirf_probe
_sdhci_sirf_probe:                      ; @sdhci_sirf_probe
	.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
	mov	x1, #0
	bl	_devm_clk_get
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x1, _sdhci_sirf_pdata@GOTPAGE
Lloh3:
	ldr	x1, [x1, _sdhci_sirf_pdata@GOTPAGEOFF]
	mov	x0, x19
	mov	w2, #0
	bl	_sdhci_pltfm_init
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.3:
	mov	x0, x20
LBB0_4:
	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	_PTR_ERR
LBB0_5:
	mov	x0, x20
	bl	_sdhci_priv
	mov	x21, x0
	str	x22, [x0]
	mov	x0, x19
	bl	_sdhci_get_of_property
	ldr	x0, [x21]
	bl	_clk_prepare_enable
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.6:
	mov	x0, x20
	bl	_sdhci_add_host
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	w0, [x20]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_mmc_gpiod_request_cd
	mov	x22, x0
Lloh6:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_12
; %bb.8:
	mov	x0, x20
	mov	w1, #0
	bl	_sdhci_remove_host
LBB0_9:
	ldr	x0, [x21]
	bl	_clk_disable_unprepare
LBB0_10:
	mov	x0, x19
	bl	_sdhci_pltfm_free
LBB0_11:
	mov	x0, x22
	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
LBB0_12:
	cbz	w22, LBB0_14
; %bb.13:
	mov	w22, #0
	b	LBB0_11
LBB0_14:
	ldr	w0, [x20]
	bl	_mmc_gpiod_request_cd_irq
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get clock"

	.comm	_sdhci_sirf_pdata,4,2           ; @sdhci_sirf_pdata
l_.str.1:                               ; @.str.1
	.asciz	"cd"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.no_dead_strip	_sdhci_sirf_probe
.subsections_via_symbols
