	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6e3ha2_get_brightness_index
_s6e3ha2_get_brightness_index:          ## @s6e3ha2_get_brightness_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_S6E3HA2_NUM_GAMMA_STEPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	imull	%edi, %eax
	movq	_S6E3HA2_MAX_BRIGHTNESS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S6E3HA2_NUM_GAMMA_STEPS,4,2    ## @S6E3HA2_NUM_GAMMA_STEPS
	.comm	_S6E3HA2_MAX_BRIGHTNESS,4,2     ## @S6E3HA2_MAX_BRIGHTNESS
	.no_dead_strip	_s6e3ha2_get_brightness_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6e3ha2_get_brightness_index
_s6e3ha2_get_brightness_index:          ; @s6e3ha2_get_brightness_index
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _S6E3HA2_NUM_GAMMA_STEPS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S6E3HA2_NUM_GAMMA_STEPS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
	mul	w8, w8, w0
Lloh3:
	adrp	x9, _S6E3HA2_MAX_BRIGHTNESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _S6E3HA2_MAX_BRIGHTNESS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	udiv	w0, w8, w9
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S6E3HA2_NUM_GAMMA_STEPS,4,2    ; @S6E3HA2_NUM_GAMMA_STEPS
	.comm	_S6E3HA2_MAX_BRIGHTNESS,4,2     ; @S6E3HA2_MAX_BRIGHTNESS
	.no_dead_strip	_s6e3ha2_get_brightness_index
.subsections_via_symbols
