	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setbrightness
_setbrightness:                         ## @setbrightness
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_6
## %bb.1:
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_OV7610_REG_BRT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i2c_w                          ## TAILCALL
LBB0_5:
	movq	_OV7670_R55_BRIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rdx, %rdi
	callq	_ov7670_abs_to_sm
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	jmp	LBB0_3
LBB0_4:
	imulq	$392, %rdx, %r14                ## imm = 0x188
	leaq	_setbrightness.brit_7660(%rip), %rdi
	addq	%rdi, %r14
	callq	_ARRAY_SIZE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_i2c_regvals              ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @setbrightness.brit_7660
_setbrightness.brit_7660:
	.long	15                              ## 0xf
	.long	106                             ## 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ## 0x24
	.long	64                              ## 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ## 0x25
	.long	43                              ## 0x2b
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ## 0x26
	.long	144                             ## 0x90
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ## 0x27
	.long	224                             ## 0xe0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ## 0x28
	.long	224                             ## 0xe0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ## 0x2c
	.long	224                             ## 0xe0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ## 0xf
	.long	106                             ## 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ## 0x24
	.long	80                              ## 0x50
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ## 0x25
	.long	64                              ## 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ## 0x26
	.long	161                             ## 0xa1
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ## 0x27
	.long	192                             ## 0xc0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ## 0x28
	.long	192                             ## 0xc0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ## 0x2c
	.long	192                             ## 0xc0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ## 0xf
	.long	106                             ## 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ## 0x24
	.long	104                             ## 0x68
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ## 0x25
	.long	88                              ## 0x58
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ## 0x26
	.long	194                             ## 0xc2
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ## 0x27
	.long	160                             ## 0xa0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ## 0x28
	.long	160                             ## 0xa0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ## 0x2c
	.long	160                             ## 0xa0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ## 0xf
	.long	106                             ## 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ## 0x24
	.long	112                             ## 0x70
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ## 0x25
	.long	104                             ## 0x68
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ## 0x26
	.long	211                             ## 0xd3
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ## 0x27
	.long	128                             ## 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ## 0x28
	.long	128                             ## 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ## 0x2c
	.long	128                             ## 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ## 0xf
	.long	106                             ## 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ## 0x24
	.long	128                             ## 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ## 0x25
	.long	112                             ## 0x70
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ## 0x26
	.long	211                             ## 0xd3
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ## 0x27
	.long	32                              ## 0x20
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ## 0x28
	.long	32                              ## 0x20
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ## 0x2c
	.long	32                              ## 0x20
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ## 0xf
	.long	106                             ## 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ## 0x24
	.long	136                             ## 0x88
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ## 0x25
	.long	120                             ## 0x78
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ## 0x26
	.long	211                             ## 0xd3
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ## 0x27
	.long	64                              ## 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ## 0x28
	.long	64                              ## 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ## 0x2c
	.long	64                              ## 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ## 0xf
	.long	106                             ## 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ## 0x24
	.long	144                             ## 0x90
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ## 0x25
	.long	128                             ## 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ## 0x26
	.long	212                             ## 0xd4
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ## 0x27
	.long	96                              ## 0x60
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ## 0x28
	.long	96                              ## 0x60
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ## 0x2c
	.long	96                              ## 0x60
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8

	.comm	_OV7610_REG_BRT,4,2             ## @OV7610_REG_BRT
	.comm	_OV7670_R55_BRIGHT,4,2          ## @OV7670_R55_BRIGHT
	.no_dead_strip	_setbrightness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setbrightness
_setbrightness:                         ; @setbrightness
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_6
; %bb.1:
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _OV7610_REG_BRT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OV7610_REG_BRT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i2c_w
LBB0_4:
Lloh5:
	adrp	x8, _OV7670_R55_BRIGHT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OV7670_R55_BRIGHT@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	mov	x0, x2
	bl	_ov7670_abs_to_sm
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	b	LBB0_3
LBB0_5:
	mov	w8, #392
Lloh8:
	adrp	x0, _setbrightness.brit_7660@PAGE
Lloh9:
	add	x0, x0, _setbrightness.brit_7660@PAGEOFF
	madd	x20, x2, x8, x0
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_i2c_regvals
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.p2align	2                               ; @setbrightness.brit_7660
_setbrightness.brit_7660:
	.long	15                              ; 0xf
	.long	106                             ; 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ; 0x24
	.long	64                              ; 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ; 0x25
	.long	43                              ; 0x2b
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ; 0x26
	.long	144                             ; 0x90
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ; 0x27
	.long	224                             ; 0xe0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ; 0x28
	.long	224                             ; 0xe0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ; 0x2c
	.long	224                             ; 0xe0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ; 0xf
	.long	106                             ; 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ; 0x24
	.long	80                              ; 0x50
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ; 0x25
	.long	64                              ; 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ; 0x26
	.long	161                             ; 0xa1
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ; 0x27
	.long	192                             ; 0xc0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ; 0x28
	.long	192                             ; 0xc0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ; 0x2c
	.long	192                             ; 0xc0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ; 0xf
	.long	106                             ; 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ; 0x24
	.long	104                             ; 0x68
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ; 0x25
	.long	88                              ; 0x58
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ; 0x26
	.long	194                             ; 0xc2
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ; 0x27
	.long	160                             ; 0xa0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ; 0x28
	.long	160                             ; 0xa0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ; 0x2c
	.long	160                             ; 0xa0
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ; 0xf
	.long	106                             ; 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ; 0x24
	.long	112                             ; 0x70
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ; 0x25
	.long	104                             ; 0x68
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ; 0x26
	.long	211                             ; 0xd3
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ; 0x27
	.long	128                             ; 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ; 0x28
	.long	128                             ; 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ; 0x2c
	.long	128                             ; 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ; 0xf
	.long	106                             ; 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ; 0x24
	.long	128                             ; 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ; 0x25
	.long	112                             ; 0x70
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ; 0x26
	.long	211                             ; 0xd3
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ; 0x27
	.long	32                              ; 0x20
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ; 0x28
	.long	32                              ; 0x20
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ; 0x2c
	.long	32                              ; 0x20
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ; 0xf
	.long	106                             ; 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ; 0x24
	.long	136                             ; 0x88
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ; 0x25
	.long	120                             ; 0x78
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ; 0x26
	.long	211                             ; 0xd3
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ; 0x27
	.long	64                              ; 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ; 0x28
	.long	64                              ; 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ; 0x2c
	.long	64                              ; 0x40
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	15                              ; 0xf
	.long	106                             ; 0x6a
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	36                              ; 0x24
	.long	144                             ; 0x90
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	37                              ; 0x25
	.long	128                             ; 0x80
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	38                              ; 0x26
	.long	212                             ; 0xd4
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	39                              ; 0x27
	.long	96                              ; 0x60
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	40                              ; 0x28
	.long	96                              ; 0x60
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.long	44                              ; 0x2c
	.long	96                              ; 0x60
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8
	.space	8

	.comm	_OV7610_REG_BRT,4,2             ; @OV7610_REG_BRT
	.comm	_OV7670_R55_BRIGHT,4,2          ; @OV7670_R55_BRIGHT
	.no_dead_strip	_setbrightness
.subsections_via_symbols
