	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function icl_calc_voltage_level
_icl_calc_voltage_level:                ## @icl_calc_voltage_level
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_IS_ELKHARTLAKE
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$2, %eax
	cmpl	$312000, %ebx                   ## imm = 0x4C2C0
	jg	LBB0_6
## %bb.2:
	xorl	%eax, %eax
	cmpl	$180001, %ebx                   ## imm = 0x2BF21
	jmp	LBB0_5
LBB0_3:
	movl	$2, %eax
	cmpl	$556800, %ebx                   ## imm = 0x87F00
	jg	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	cmpl	$312001, %ebx                   ## imm = 0x4C2C1
LBB0_5:
	setge	%al
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_icl_calc_voltage_level
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function icl_calc_voltage_level
_icl_calc_voltage_level:                ; @icl_calc_voltage_level
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_IS_ELKHARTLAKE
	mov	w8, #2
	mov	w9, #32512
	movk	w9, #8, lsl #16
	mov	w10, #49856
	movk	w10, #4, lsl #16
	cmp	w19, w10
	cset	w11, gt
	cmp	w19, w9
	csel	w8, w8, w11, gt
	mov	w9, #2
	mov	w11, #48928
	movk	w11, #2, lsl #16
	cmp	w19, w11
	cset	w11, gt
	cmp	w19, w10
	csel	w9, w9, w11, gt
	cmp	x0, #0
	csel	w0, w8, w9, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_icl_calc_voltage_level
.subsections_via_symbols
