	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_mmc_get_timeout_msecs
_meson_mmc_get_timeout_msecs:           ## @meson_mmc_get_timeout_msecs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_NSEC_PER_MSEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%eax, %ecx
	jbe	LBB0_2
## %bb.1:
	movq	_SD_EMMC_CMD_TIMEOUT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_2:
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %edi
	callq	_roundup_pow_of_two
	movl	%eax, %edi
	movl	$32768, %esi                    ## imm = 0x8000
	popq	%rbp
	jmp	_min                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NSEC_PER_MSEC,4,2              ## @NSEC_PER_MSEC
	.comm	_SD_EMMC_CMD_TIMEOUT_DATA,4,2   ## @SD_EMMC_CMD_TIMEOUT_DATA
	.no_dead_strip	_meson_mmc_get_timeout_msecs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_mmc_get_timeout_msecs
_meson_mmc_get_timeout_msecs:           ; @meson_mmc_get_timeout_msecs
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _NSEC_PER_MSEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NSEC_PER_MSEC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w8
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SD_EMMC_CMD_TIMEOUT_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SD_EMMC_CMD_TIMEOUT_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	udiv	w0, w8, w9
	bl	_roundup_pow_of_two
	mov	w1, #32768
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_min
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NSEC_PER_MSEC,4,2              ; @NSEC_PER_MSEC
	.comm	_SD_EMMC_CMD_TIMEOUT_DATA,4,2   ; @SD_EMMC_CMD_TIMEOUT_DATA
	.no_dead_strip	_meson_mmc_get_timeout_msecs
.subsections_via_symbols
