	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vadc_hw_settle_time_from_dt
_vadc_hw_settle_time_from_dt:           ## @vadc_hw_settle_time_from_dt
	.cfi_startproc
## %bb.0:
	movslq	%edi, %rcx
	imulq	$1374389535, %rcx, %rax         ## imm = 0x51EB851F
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$37, %rax
	addl	%edx, %eax
	cmpl	$1000, %edi                     ## imm = 0x3E8
	jg	LBB0_2
## %bb.1:
	imull	$100, %eax, %edx
	movl	%edi, %esi
	subl	%edx, %esi
	jne	LBB0_4
LBB0_2:
	cmpl	$1001, %edi                     ## imm = 0x3E9
	jl	LBB0_5
## %bb.3:
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$39, %rcx
	addl	%edx, %ecx
	imull	$2000, %ecx, %ecx               ## imm = 0x7D0
	movl	%edi, %edx
	subl	%ecx, %edx
	je	LBB0_5
LBB0_4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
                                        ## kill: def $eax killed $eax killed $rax
	retq
LBB0_5:
	cmpl	$1001, %edi                     ## imm = 0x3E9
	jl	LBB0_7
## %bb.6:
	movl	%edi, %eax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	shrq	$39, %rax
	addl	$10, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vadc_hw_settle_time_from_dt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vadc_hw_settle_time_from_dt
_vadc_hw_settle_time_from_dt:           ; @vadc_hw_settle_time_from_dt
	.cfi_startproc
; %bb.0:
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	cmp	w0, #1000
	b.gt	LBB0_2
; %bb.1:
	mov	w9, #100
	msub	w9, w8, w9, w0
	cbnz	w9, LBB0_4
LBB0_2:
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	cmp	w0, #1001
	b.lt	LBB0_5
; %bb.3:
	smull	x10, w0, w9
	lsr	x11, x10, #63
	asr	x10, x10, #39
	add	w10, w10, w11
	mov	w11, #2000
	msub	w10, w10, w11, w0
	cbz	w10, LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
	umull	x9, w0, w9
	lsr	x9, x9, #39
	add	w9, w9, #10
	cmp	w0, #1001
	csel	w0, w8, w9, lt
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vadc_hw_settle_time_from_dt
.subsections_via_symbols
