	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setbacklight
_setbacklight:                          ## @setbacklight
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	%esi, %eax
	shll	$4, %eax
	orl	$15, %eax
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %r14
	movl	$170, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	leal	(,%r15,4), %eax
	leal	(%rax,%rax,2), %r12d
	leal	(%rax,%rax,2), %ebx
	addl	$613, %ebx                      ## imm = 0x265
	movl	%ebx, %eax
	sarl	$8, %eax
	movl	%eax, -44(%rbp)
	movq	%r13, %rdi
	movl	$196, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	movl	%ebx, -44(%rbp)
	movq	%r13, %rdi
	movl	$197, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	movl	$1093, %ebx                     ## imm = 0x445
	subl	%r12d, %ebx
	movl	%ebx, %eax
	sarl	$8, %eax
	movl	%eax, -44(%rbp)
	movq	%r13, %rdi
	movl	$198, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	movl	%ebx, -44(%rbp)
	movq	%r13, %rdi
	movl	$199, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	leal	(%r15,%r15,8), %r12d
	leal	(%r15,%r15,8), %ebx
	addl	$342, %ebx                      ## imm = 0x156
	movl	%ebx, %eax
	sarl	$8, %eax
	movl	%eax, -44(%rbp)
	movq	%r13, %rdi
	movl	$200, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	movl	%ebx, -44(%rbp)
	movq	%r13, %rdi
	movl	$201, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	movl	$702, %ebx                      ## imm = 0x2BE
	subl	%r12d, %ebx
	movl	%ebx, %eax
	sarl	$8, %eax
	movl	%eax, -44(%rbp)
	movq	%r13, %rdi
	movl	$202, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	movl	%ebx, -44(%rbp)
	movq	%r13, %rdi
	movl	$203, %esi
	movq	%r14, %rdx
	movl	$1, %ecx
	callq	_i2c_write
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_setbacklight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setbacklight
_setbacklight:                          ; @setbacklight
	.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
	mov	w8, #15
	bfi	w8, w1, #4, #28
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	w1, #170
	mov	w3, #1
	bl	_i2c_write
	add	w8, w20, w20, lsl #1
	lsl	w21, w8, #2
	add	w22, w21, #613
	asr	w8, w22, #8
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #196
	mov	w3, #1
	bl	_i2c_write
	str	w22, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #197
	mov	w3, #1
	bl	_i2c_write
	mov	w8, #1093
	sub	w21, w8, w21
	asr	w8, w21, #8
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #198
	mov	w3, #1
	bl	_i2c_write
	str	w21, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #199
	mov	w3, #1
	bl	_i2c_write
	add	w20, w20, w20, lsl #3
	add	w21, w20, #342
	asr	w8, w21, #8
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #200
	mov	w3, #1
	bl	_i2c_write
	str	w21, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #201
	mov	w3, #1
	bl	_i2c_write
	mov	w8, #702
	sub	w20, w8, w20
	asr	w8, w20, #8
	str	w8, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #202
	mov	w3, #1
	bl	_i2c_write
	str	w20, [sp, #12]
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #203
	mov	w3, #1
	bl	_i2c_write
	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	_setbacklight
.subsections_via_symbols
