	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_target_timeout
_sdhci_target_timeout:                  ## @sdhci_target_timeout
	.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
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movl	8(%rdx), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_DIV_ROUND_UP
	movl	%eax, %r14d
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	imulq	$1000000, %rax, %rbx            ## imm = 0xF4240
	movq	%rbx, %rdi
	callq	_do_div
	addl	%ebx, %r14d
	cmpq	$1, %rax
	sbbl	$-1, %r14d
	jmp	LBB0_5
LBB0_1:
	imull	$1000, (%rsi), %r14d            ## imm = 0x3E8
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sdhci_target_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_target_timeout
_sdhci_target_timeout:                  ; @sdhci_target_timeout
	.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
	cbz	x2, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x21, x0
	ldr	w0, [x2, #8]
	mov	w1, #1000
	bl	_DIV_ROUND_UP
	mov	x19, x0
	ldr	x1, [x21]
	cbz	x1, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.3:
	mov	w9, #16960
	movk	w9, #15, lsl #16
	mul	x20, x8, x9
	mov	x0, x20
	bl	_do_div
	cmp	x0, #0
	add	w8, w19, w20
	cinc	w19, w8, ne
	b	LBB0_5
LBB0_4:
	ldr	w8, [x1]
	mov	w9, #1000
	mul	w19, w8, w9
LBB0_5:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sdhci_target_timeout
.subsections_via_symbols
