	.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
	subq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movabsq	$128849018880, %rax             ## imm = 0x1E00000000
	movq	%rax, -24(%rbp)
	movl	4(%rdi), %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	jb	LBB0_4
## %bb.1:
	leal	-132(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_2
## %bb.5:
	movl	$177, -48(%rbp)
	movl	$9, -40(%rbp)
	movl	8(%rdi), %ecx
	movzbl	%cl, %eax
	sarl	$8, %ecx
	movl	%ecx, -36(%rbp)
	jmp	LBB0_6
LBB0_4:
	movl	$177, -48(%rbp)
	movl	$45, -40(%rbp)
	movl	8(%rdi), %eax
	movzbl	%al, %ecx
	movl	%ecx, -36(%rbp)
	sarl	$8, %eax
LBB0_6:
	movl	%eax, -32(%rbp)
	leaq	-48(%rbp), %rsi
	callq	_i2c_w
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_2:
	cmpl	$135, %eax
	jne	LBB0_7
## %bb.3:
	movl	$193, -48(%rbp)
	movl	$37, -40(%rbp)
	movl	8(%rdi), %eax
	movl	%eax, %ecx
	shrl	$5, %ecx
	movzbl	%cl, %ecx
	movl	%ecx, -36(%rbp)
	shll	$3, %eax
	movzbl	%al, %eax
	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, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	ldp	w9, w8, [x0]
	str	w9, [sp, #12]
	stp	xzr, xzr, [sp, #16]
	mov	x9, #128849018880
	str	x9, [sp, #32]
	sub	w9, w8, #128
	cmp	w9, #4
	b.lo	LBB0_3
; %bb.1:
	sub	w9, w8, #132
	cmp	w9, #3
	b.hs	LBB0_7
; %bb.2:
	mov	w8, #177
	mov	w10, #9
	str	w8, [sp, #8]
	ldr	w8, [x0, #8]
	asr	w9, w8, #8
	stp	w10, w9, [sp, #16]
	and	w8, w8, #0xff
	b	LBB0_4
LBB0_3:
	mov	w8, #177
	mov	w10, #45
	str	w8, [sp, #8]
	ldr	w8, [x0, #8]
	and	w9, w8, #0xff
	stp	w10, w9, [sp, #16]
	asr	w8, w8, #8
LBB0_4:
	str	w8, [sp, #24]
	add	x1, sp, #8
	bl	_i2c_w
LBB0_5:
	ldur	x8, [x29, #-8]
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:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	cmp	w8, #135
	b.ne	LBB0_5
; %bb.8:
	mov	w8, #193
	mov	w10, #37
	str	w8, [sp, #8]
	ldr	w8, [x0, #8]
	ubfx	w9, w8, #5, #8
	stp	w10, w9, [sp, #16]
	ubfiz	w8, w8, #3, #5
	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
