	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isl29501_set_shadow_coeff
_isl29501_set_shadow_coeff:             ## @isl29501_set_shadow_coeff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	addl	$-128, %esi
	cmpl	$4, %esi
	jae	LBB0_1
## %bb.2:
	movslq	%esi, %rax
	leaq	l_switch.table.isl29501_set_shadow_coeff(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rcx
	movl	%edx, (%rcx,%rax,4)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COEFF_TEMP_A,4,2               ## @COEFF_TEMP_A
	.comm	_COEFF_TEMP_B,4,2               ## @COEFF_TEMP_B
	.comm	_COEFF_LIGHT_A,4,2              ## @COEFF_LIGHT_A
	.comm	_COEFF_LIGHT_B,4,2              ## @COEFF_LIGHT_B
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_isl29501_set_shadow_coeff
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.isl29501_set_shadow_coeff
l_switch.table.isl29501_set_shadow_coeff:
	.quad	_COEFF_TEMP_B
	.quad	_COEFF_TEMP_A
	.quad	_COEFF_LIGHT_B
	.quad	_COEFF_LIGHT_A

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isl29501_set_shadow_coeff
_isl29501_set_shadow_coeff:             ; @isl29501_set_shadow_coeff
	.cfi_startproc
; %bb.0:
	sub	w9, w1, #128
	cmp	w9, #4
	b.hs	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh0:
	adrp	x10, l_switch.table.isl29501_set_shadow_coeff@PAGE
Lloh1:
	add	x10, x10, l_switch.table.isl29501_set_shadow_coeff@PAGEOFF
	ldr	x9, [x10, w9, sxtw #3]
	ldr	w9, [x9]
	ldr	x8, [x8]
	str	w2, [x8, x9, lsl #2]
	ret
LBB0_2:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_COEFF_TEMP_A,4,2               ; @COEFF_TEMP_A
	.comm	_COEFF_TEMP_B,4,2               ; @COEFF_TEMP_B
	.comm	_COEFF_LIGHT_A,4,2              ; @COEFF_LIGHT_A
	.comm	_COEFF_LIGHT_B,4,2              ; @COEFF_LIGHT_B
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_isl29501_set_shadow_coeff
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.isl29501_set_shadow_coeff
l_switch.table.isl29501_set_shadow_coeff:
	.quad	_COEFF_TEMP_B
	.quad	_COEFF_TEMP_A
	.quad	_COEFF_LIGHT_B
	.quad	_COEFF_LIGHT_A

.subsections_via_symbols
