	.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
	subq	$16, %rsp
	movl	%esi, %eax
	xorl	$255, %eax
	movl	%esi, %ecx
	andl	$127, %ecx
	cmpl	$127, %esi
	cmovlel	%eax, %ecx
	movl	%ecx, -4(%rbp)
	leaq	-4(%rbp), %rdx
	movl	$152, %esi
	movl	$1, %ecx
	callq	_i2c_write
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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:
	sub	sp, sp, #32
	.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
	eor	w8, w1, #0xff
	and	w9, w1, #0x7f
	cmp	w1, #127
	csel	w8, w9, w8, gt
	stur	w8, [x29, #-4]
	sub	x2, x29, #4
	mov	w1, #152
	mov	w3, #1
	bl	_i2c_write
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_setbrightness
.subsections_via_symbols
