	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_exposure
_set_exposure:                          ## @set_exposure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rdi), %eax
	movl	4(%rdi), %ecx
	movl	%ecx, -76(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movl	$0, -56(%rbp)
	cmpq	$0, (%rdi)
	movl	$16, %ecx
	movl	$30, %edx
	cmovel	%ecx, %edx
	movl	%edx, -52(%rbp)
	movl	8(%rdi), %ecx
	leal	-128(%rcx), %edx
	cmpl	$4, %edx
	jb	LBB0_4
## %bb.1:
	leal	-132(%rcx), %edx
	cmpl	$3, %edx
	jae	LBB0_2
## %bb.5:
	orl	$48, %eax
	movl	%eax, -80(%rbp)
	movl	$9, -72(%rbp)
	movl	%r14d, %eax
	sarl	$8, %eax
	movl	%eax, -68(%rbp)
	jmp	LBB0_6
LBB0_4:
	cmpl	$547, %r14d                     ## imm = 0x223
	movl	$547, %r12d                     ## imm = 0x223
	cmovll	%r14d, %r12d
	orl	$32, %eax
	movl	%eax, -80(%rbp)
	movl	$16, -72(%rbp)
	movl	%r12d, %eax
	sarl	$2, %eax
	movl	%eax, -68(%rbp)
	movl	$16, -52(%rbp)
	leaq	-80(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i2c_w
	movl	$4, -72(%rbp)
	movl	%r12d, %eax
	andl	$3, %eax
	movl	%eax, -68(%rbp)
	movl	$16, -52(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i2c_w
	movl	$30, -52(%rbp)
	orb	$48, -80(%rbp)
	subl	%r12d, %r14d
	movl	$45, -72(%rbp)
	movl	%r14d, -68(%rbp)
	sarl	$8, %r14d
LBB0_6:
	movl	%r14d, -64(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_i2c_w
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpl	$135, %ecx
	jne	LBB0_7
## %bb.3:
	orl	$64, %eax
	movl	%eax, -80(%rbp)
	movl	$37, -72(%rbp)
	movl	%r14d, %eax
	sarl	$5, %eax
	movl	%eax, -68(%rbp)
	shll	$3, %r14d
	jmp	LBB0_6
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_exposure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_exposure
_set_exposure:                          ; @set_exposure
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldp	w8, w10, [x0]
	ldr	w9, [x0, #8]
	str	w10, [sp, #12]
	stp	xzr, xzr, [sp, #16]
	ldr	x10, [x0]
	cmp	x10, #0
	mov	w21, #30
	mov	w22, #16
	csel	w10, w22, w21, eq
	stp	wzr, w10, [sp, #32]
	sub	w10, w9, #128
	cmp	w10, #4
	b.lo	LBB0_3
; %bb.1:
	sub	w10, w9, #132
	cmp	w10, #3
	b.hs	LBB0_7
; %bb.2:
	orr	w8, w8, #0x30
	mov	w9, #9
	str	w8, [sp, #8]
	asr	w8, w20, #8
	stp	w9, w8, [sp, #16]
	b	LBB0_4
LBB0_3:
	mov	w9, #547
	cmp	w20, #547
	csel	w23, w20, w9, lt
	orr	w8, w8, #0x20
	str	w8, [sp, #8]
	asr	w8, w23, #2
	stp	w22, w8, [sp, #16]
	str	w22, [sp, #36]
	add	x1, sp, #8
	mov	x0, x19
	bl	_i2c_w
	mov	w8, #4
	and	w9, w23, #0x3
	stp	w8, w9, [sp, #16]
	str	w22, [sp, #36]
	add	x1, sp, #8
	mov	x0, x19
	bl	_i2c_w
	sub	w8, w20, w23
	ldr	w9, [sp, #8]
	orr	w9, w9, #0x30
	mov	w10, #45
	str	w9, [sp, #8]
	stp	w10, w8, [sp, #16]
	str	w21, [sp, #36]
	asr	w20, w8, #8
LBB0_4:
	str	w20, [sp, #24]
	add	x1, sp, #8
	mov	x0, x19
	bl	_i2c_w
LBB0_5:
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	cmp	w9, #135
	b.ne	LBB0_5
; %bb.8:
	orr	w8, w8, #0x40
	mov	w9, #37
	str	w8, [sp, #8]
	asr	w8, w20, #5
	stp	w9, w8, [sp, #16]
	lsl	w20, w20, #3
	b	LBB0_4
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_exposure
.subsections_via_symbols
