	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setsharpness
_setsharpness:                          ## @setsharpness
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.3:
	movl	$0, -28(%rbp)
	movl	$3, %ebx
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	movl	$3, %esi
	movl	$1, %ecx
	callq	_i2c_write
	movl	$97, %esi
	movl	$106, %eax
	movl	$181, %ecx
	jmp	LBB0_4
LBB0_1:
	movl	$89, %esi
	movl	$126, %eax
	movl	$96, %ecx
	movl	$15, %ebx
LBB0_4:
	imull	%r14d, %ebx
	addl	%ecx, %ebx
	testl	%r14d, %r14d
	cmovsl	%eax, %ebx
	movl	%ebx, -28(%rbp)
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %ecx
	callq	_i2c_write
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_setsharpness
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setsharpness
_setsharpness:                          ; @setsharpness
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
	str	wzr, [sp, #12]
	mov	w21, #3
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #3
	mov	w3, #1
	bl	_i2c_write
	mov	w1, #97
	mov	w8, #106
	mov	w9, #181
	b	LBB0_4
LBB0_3:
	mov	w1, #89
	mov	w8, #126
	mov	w9, #96
	mov	w21, #15
LBB0_4:
	madd	w9, w21, w20, w9
	cmp	w20, #0
	csel	w8, w8, w9, lt
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #1
	bl	_i2c_write
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_setsharpness
.subsections_via_symbols
