	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdw_calc_voltage_level
_bdw_calc_voltage_level:                ## @bdw_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
	cmpl	$675000, %edi                   ## imm = 0xA4CB8
	je	LBB0_5
## %bb.1:
	cmpl	$540000, %edi                   ## imm = 0x83D60
	je	LBB0_4
## %bb.2:
	movl	$2, %eax
	cmpl	$450000, %edi                   ## imm = 0x6DDD0
	jne	LBB0_6
## %bb.3:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	$3, %eax
LBB0_6:
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bdw_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 bdw_calc_voltage_level
_bdw_calc_voltage_level:                ; @bdw_calc_voltage_level
	.cfi_startproc
; %bb.0:
	mov	w8, #2
	mov	w9, #3
	mov	w10, #1
	sub	w11, w0, #109, lsl #12          ; =446464
	cmp	w11, #3536
	csel	w8, w8, wzr, ne
	sub	w11, w0, #131, lsl #12          ; =536576
	cmp	w11, #3424
	csel	w8, w10, w8, eq
	sub	w10, w0, #164, lsl #12          ; =671744
	cmp	w10, #3256
	csel	w0, w9, w8, eq
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bdw_calc_voltage_level
.subsections_via_symbols
