	.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
	movq	%rsi, %rax
	movq	(%rdi), %rcx
	movq	_SENSOR_OV767x@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	$128, %edx
	subq	%rax, %rdx
	testq	%rax, %rax
	cmovnsq	%rax, %rdx
	movl	$85, %esi
	popq	%rbp
	jmp	_sccb_reg_write                 ## TAILCALL
LBB0_2:
	movl	$155, %esi
	movq	%rax, %rdx
	popq	%rbp
	jmp	_sccb_reg_write                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SENSOR_OV767x,8,3              ## @SENSOR_OV767x
	.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:
	mov	x2, x1
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SENSOR_OV767x@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SENSOR_OV767x@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #128
	sub	x8, x8, x2
	cmp	x2, #0
	csel	x2, x8, x2, lt
	mov	w1, #85
	b	_sccb_reg_write
LBB0_2:
	mov	w1, #155
	b	_sccb_reg_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SENSOR_OV767x,8,3              ; @SENSOR_OV767x
	.no_dead_strip	_setbrightness
.subsections_via_symbols
