	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_5
## %bb.2:
	movl	$0, -12(%rbp)
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$3, %esi
	movl	$1, %ecx
	callq	_i2c_write
	movl	4(%rbx), %eax
	testl	%eax, %eax
	leal	181(%rax,%rax,2), %ecx
	movl	$106, %eax
	cmovnsl	%ecx, %eax
	movl	$97, %esi
	jmp	LBB0_4
LBB0_3:
	movl	4(%rbx), %eax
	testl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	leal	96(%rax,%rax,2), %ecx
	movl	$126, %eax
	cmovnsl	%ecx, %eax
	movl	$89, %esi
LBB0_4:
	movl	%eax, -12(%rbp)
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_i2c_write
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	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, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	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]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #3
	mov	w3, #1
	bl	_i2c_write
	ldr	w8, [x19, #4]
	add	w9, w8, w8, lsl #1
	add	w9, w9, #181
	mov	w10, #106
	cmp	w8, #0
	csel	w8, w10, w9, lt
	mov	w1, #97
	b	LBB0_4
LBB0_3:
	ldr	w8, [x19, #4]
	lsl	w9, w8, #4
	sub	w9, w9, w8
	add	w9, w9, #96
	mov	w10, #126
	cmp	w8, #0
	csel	w8, w10, w9, lt
	mov	w1, #89
LBB0_4:
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w3, #1
	bl	_i2c_write
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_setsharpness
.subsections_via_symbols
