	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmu_backlight_get_level_brightness
_pmu_backlight_get_level_brightness:    ## @pmu_backlight_get_level_brightness
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_bl_curve@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%edi, %rdx
	movq	_FB_BACKLIGHT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	(%rcx,%rdx,4), %eax
	movq	_MAX_PMU_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cltd
	idivl	%esi
	cmpl	%esi, %eax
	cmovll	%eax, %esi
	xorl	%ecx, %ecx
	testl	%eax, %eax
	cmovnsl	%esi, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bl_curve,8,3                   ## @bl_curve
	.comm	_FB_BACKLIGHT_MAX,4,2           ## @FB_BACKLIGHT_MAX
	.comm	_MAX_PMU_LEVEL,4,2              ## @MAX_PMU_LEVEL
	.no_dead_strip	_pmu_backlight_get_level_brightness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmu_backlight_get_level_brightness
_pmu_backlight_get_level_brightness:    ; @pmu_backlight_get_level_brightness
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _bl_curve@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bl_curve@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x8, w0, sxtw #2]
Lloh3:
	adrp	x9, _FB_BACKLIGHT_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FB_BACKLIGHT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w8, w9, w8
Lloh6:
	adrp	x9, _MAX_PMU_LEVEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_PMU_LEVEL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	cmp	w8, w9
	csel	w9, w8, w9, lt
	cmp	w8, #0
	csel	w0, wzr, w9, lt
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bl_curve,8,3                   ; @bl_curve
	.comm	_FB_BACKLIGHT_MAX,4,2           ; @FB_BACKLIGHT_MAX
	.comm	_MAX_PMU_LEVEL,4,2              ; @MAX_PMU_LEVEL
	.no_dead_strip	_pmu_backlight_get_level_brightness
.subsections_via_symbols
