	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tifm_sd_probe
LCPI0_0:
	.long	333333                          ## 0x51615
	.long	24000000                        ## 0x16e3600
	.long	2048                            ## 0x800
	.long	2048                            ## 0x800
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tifm_sd_probe:                         ## @tifm_sd_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_TIFM_SOCK_STATE_OCCUPIED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_SOCK_PRESENT_STATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r15), %rdi
	callq	_readl
	testl	%ebx, %eax
	je	LBB0_1
## %bb.2:
	leaq	8(%r15), %rsi
	movl	$24, %edi
	callq	_mmc_alloc_host
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mmc_priv
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_tifm_set_drvdata
	movq	%r15, 16(%r12)
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msecs_to_jiffies
	movl	%eax, 8(%r12)
	leaq	4(%r12), %rdi
	movq	_tifm_sd_end_cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_tasklet_init
	movq	_tifm_sd_abort@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_tifm_sd_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_MMC_VDD_32_33@GOTPCREL(%rip), %rax
	movq	_MMC_VDD_33_34@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_MMC_CAP_4_BIT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [333333,24000000,2048,2048]
	movups	%xmm0, 4(%rbx)
	movq	_TIFM_MMCSD_MAX_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_min
	movl	%eax, 20(%rbx)
	imull	12(%rbx), %eax
	movl	%eax, 24(%rbx)
	movl	%eax, 28(%rbx)
	movq	_tifm_sd_card_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	_tifm_sd_data_event@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_tifm_sd_initialize_host
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_mmc_add_host
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	movq	%rbx, %rdi
	callq	_mmc_free_host
	movl	%r15d, %r14d
	jmp	LBB0_7
LBB0_1:
	negl	%r14d
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_dev_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_pr_warn
	jmp	LBB0_7
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_TIFM_SOCK_STATE_OCCUPIED,4,2   ## @TIFM_SOCK_STATE_OCCUPIED
	.comm	_SOCK_PRESENT_STATE,8,3         ## @SOCK_PRESENT_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s : card gone, unexpectedly\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tifm_sd_end_cmd,4,2            ## @tifm_sd_end_cmd
	.comm	_tifm_sd_abort,4,2              ## @tifm_sd_abort
	.comm	_tifm_sd_ops,4,2                ## @tifm_sd_ops
	.comm	_MMC_VDD_32_33,4,2              ## @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ## @MMC_VDD_33_34
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ## @MMC_CAP_4_BIT_DATA
	.comm	_TIFM_MMCSD_MAX_BLOCK_SIZE,4,2  ## @TIFM_MMCSD_MAX_BLOCK_SIZE
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_tifm_sd_card_event,4,2         ## @tifm_sd_card_event
	.comm	_tifm_sd_data_event,4,2         ## @tifm_sd_data_event
	.no_dead_strip	_tifm_sd_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function tifm_sd_probe
lCPI0_0:
	.long	333333                          ; 0x51615
	.long	24000000                        ; 0x16e3600
	.long	2048                            ; 0x800
	.long	2048                            ; 0x800
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tifm_sd_probe:                         ; @tifm_sd_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
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _TIFM_SOCK_STATE_OCCUPIED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIFM_SOCK_STATE_OCCUPIED@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	x8, [x0, #16]
Lloh6:
	adrp	x9, _SOCK_PRESENT_STATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SOCK_PRESENT_STATE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	tst	w0, w21
	b.eq	LBB0_5
; %bb.1:
	add	x1, x19, #8
	mov	w0, #24
	bl	_mmc_alloc_host
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	bl	_mmc_priv
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_tifm_set_drvdata
	str	x19, [x21, #16]
	mov	w0, #1000
	bl	_msecs_to_jiffies
	str	w0, [x21, #8]
	add	x0, x21, #4
Lloh9:
	adrp	x8, _tifm_sd_end_cmd@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tifm_sd_end_cmd@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_tasklet_init
Lloh12:
	adrp	x8, _tifm_sd_abort@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tifm_sd_abort@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_timer_setup
Lloh15:
	adrp	x8, _tifm_sd_ops@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tifm_sd_ops@GOTPAGEOFF]
	str	x8, [x20, #40]
Lloh17:
	adrp	x8, _MMC_VDD_32_33@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MMC_VDD_32_33@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _MMC_VDD_33_34@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MMC_VDD_33_34@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _MMC_CAP_4_BIT_DATA@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MMC_CAP_4_BIT_DATA@GOTPAGEOFF]
	str	w8, [x20]
Lloh25:
	ldr	w8, [x9]
	str	w8, [x20, #32]
Lloh26:
	adrp	x8, lCPI0_0@PAGE
Lloh27:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	stur	q0, [x20, #4]
Lloh28:
	adrp	x8, _TIFM_MMCSD_MAX_BLOCK_SIZE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _TIFM_MMCSD_MAX_BLOCK_SIZE@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_min
	ldr	w8, [x20, #12]
	mul	w8, w8, w0
	stp	w0, w8, [x20, #20]
	str	w8, [x20, #28]
Lloh34:
	adrp	x8, _tifm_sd_card_event@GOTPAGE
Lloh35:
	ldr	x8, [x8, _tifm_sd_card_event@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _tifm_sd_data_event@GOTPAGE
Lloh38:
	ldr	x9, [x9, _tifm_sd_data_event@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	mov	x0, x21
	bl	_tifm_sd_initialize_host
	mov	x21, x0
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_mmc_add_host
	mov	x21, x0
	cbz	w0, LBB0_7
LBB0_4:
	mov	x0, x20
	bl	_mmc_free_host
	b	LBB0_7
LBB0_5:
	neg	w21, w20
	add	x0, x19, #8
	bl	_dev_name
	mov	x1, x0
Lloh40:
	adrp	x0, l_.str@PAGE
Lloh41:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warn
	b	LBB0_7
LBB0_6:
Lloh42:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdrp	Lloh26, Lloh28
	.loh AdrpLdr	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_TIFM_SOCK_STATE_OCCUPIED,4,2   ; @TIFM_SOCK_STATE_OCCUPIED
	.comm	_SOCK_PRESENT_STATE,8,3         ; @SOCK_PRESENT_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s : card gone, unexpectedly\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tifm_sd_end_cmd,4,2            ; @tifm_sd_end_cmd
	.comm	_tifm_sd_abort,4,2              ; @tifm_sd_abort
	.comm	_tifm_sd_ops,4,2                ; @tifm_sd_ops
	.comm	_MMC_VDD_32_33,4,2              ; @MMC_VDD_32_33
	.comm	_MMC_VDD_33_34,4,2              ; @MMC_VDD_33_34
	.comm	_MMC_CAP_4_BIT_DATA,4,2         ; @MMC_CAP_4_BIT_DATA
	.comm	_TIFM_MMCSD_MAX_BLOCK_SIZE,4,2  ; @TIFM_MMCSD_MAX_BLOCK_SIZE
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_tifm_sd_card_event,4,2         ; @tifm_sd_card_event
	.comm	_tifm_sd_data_event,4,2         ; @tifm_sd_data_event
	.no_dead_strip	_tifm_sd_probe
.subsections_via_symbols
