	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cit_set_contrast
_cit_set_contrast:                      ## @cit_set_contrast
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-129, %eax
	addl	(%rdi), %eax
	cmpl	$4, %eax
	ja	LBB0_9
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movslq	%r14d, %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	cltq
	leaq	(%rax,%rax,2), %rbx
	leaq	_cit_set_contrast.cv(%rip), %r14
	movzwl	(%r14,%rbx,2), %edx
	movq	%r15, %rdi
	movl	$103, %esi
	callq	_cit_model3_Packet1
	movzwl	2(%r14,%rbx,2), %edx
	movq	%r15, %rdi
	movl	$91, %esi
	callq	_cit_model3_Packet1
	movzwl	4(%r14,%rbx,2), %edx
	movq	%r15, %rdi
	movl	$92, %esi
	jmp	LBB0_8
LBB0_3:
	movq	_cit_model1_ntries@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.4:
	movl	$20, %eax
	subl	%r14d, %eax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	cltq
	imulq	$824839931, %rax, %r14          ## imm = 0x312A0EFB
	movq	%r14, %rax
	shrq	$63, %rax
	sarq	$40, %r14
	addl	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$20, %esi
	movl	%r14d, %edx
	callq	_cit_Packet_Format1
	movq	%r15, %rdi
	callq	_cit_send_FF_04_02
	incl	%ebx
	cmpl	(%r12), %ebx
	jl	LBB0_5
	jmp	LBB0_9
LBB0_2:
	imull	$1000, %r14d, %eax              ## imm = 0x3E8
	cltq
	imulq	$824839931, %rax, %rsi          ## imm = 0x312A0EFB
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$40, %rsi
	addl	%eax, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1058, %edx                     ## imm = 0x422
	callq	_cit_write_reg
	imull	$2000, %r14d, %eax              ## imm = 0x7D0
	cltq
	imulq	$824839931, %rax, %rsi          ## imm = 0x312A0EFB
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$40, %rsi
	addl	%eax, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1059, %edx                     ## imm = 0x423
	callq	_cit_write_reg
	imull	$4000, %r14d, %eax              ## imm = 0xFA0
	cltq
	imulq	$824839931, %rax, %rsi          ## imm = 0x312A0EFB
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$40, %rsi
	addl	%eax, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1060, %edx                     ## imm = 0x424
	callq	_cit_write_reg
	imull	$8000, %r14d, %eax              ## imm = 0x1F40
	cltq
	imulq	$824839931, %rax, %rsi          ## imm = 0x312A0EFB
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$40, %rsi
	addl	%eax, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1061, %edx                     ## imm = 0x425
	callq	_cit_write_reg
	jmp	LBB0_9
LBB0_7:
	incl	%r14d
	movzwl	%r14w, %edx
	movq	%r15, %rdi
	movl	$91, %esi
LBB0_8:
	callq	_cit_model3_Packet1
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_2
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_cit_model1_ntries,4,2          ## @cit_model1_ntries
	.section	__TEXT,__const
	.p2align	4                               ## @cit_set_contrast.cv
_cit_set_contrast.cv:
	.short	5                               ## 0x5
	.short	5                               ## 0x5
	.short	15                              ## 0xf
	.short	4                               ## 0x4
	.short	4                               ## 0x4
	.short	22                              ## 0x16
	.short	2                               ## 0x2
	.short	3                               ## 0x3
	.short	22                              ## 0x16
	.short	2                               ## 0x2
	.short	8                               ## 0x8
	.short	22                              ## 0x16
	.short	1                               ## 0x1
	.short	12                              ## 0xc
	.short	22                              ## 0x16
	.short	1                               ## 0x1
	.short	14                              ## 0xe
	.short	22                              ## 0x16
	.short	1                               ## 0x1
	.short	16                              ## 0x10
	.short	22                              ## 0x16

	.no_dead_strip	_cit_set_contrast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cit_set_contrast
_cit_set_contrast:                      ; @cit_set_contrast
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x0]
	sub	w8, w8, #129
	cmp	w8, #4
	b.hi	LBB0_9
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
Lloh2:
	adrp	x9, _cit_set_contrast.cv@PAGE
Lloh3:
	add	x9, x9, _cit_set_contrast.cv@PAGEOFF
	mov	w10, #6
	smaddl	x20, w8, w10, x9
	ldrh	w2, [x20]
	mov	x0, x19
	mov	w1, #103
	bl	_cit_model3_Packet1
	ldrh	w2, [x20, #2]
	mov	x0, x19
	mov	w1, #91
	bl	_cit_model3_Packet1
	ldrh	w2, [x20, #4]
	mov	x0, x19
	mov	w1, #92
	b	LBB0_8
LBB0_3:
Lloh4:
	adrp	x21, _cit_model1_ntries@GOTPAGE
Lloh5:
	ldr	x21, [x21, _cit_model1_ntries@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	w22, #0
	mov	w8, #20
	sub	w8, w8, w20
	mov	w9, #1000
	mul	w8, w8, w9
	mov	w9, #3835
	movk	w9, #12586, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #40
	add	w20, w8, w9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #20
	mov	x2, x20
	bl	_cit_Packet_Format1
	mov	x0, x19
	bl	_cit_send_FF_04_02
	add	w22, w22, #1
	ldr	w8, [x21]
	cmp	w22, w8
	b.lt	LBB0_5
	b	LBB0_9
LBB0_6:
	mov	w8, #1000
	mul	w8, w20, w8
	mov	w21, #3835
	movk	w21, #12586, lsl #16
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #40
	add	w1, w8, w9
	mov	x0, x19
	mov	w2, #1058
	bl	_cit_write_reg
	mov	w8, #2000
	mul	w8, w20, w8
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #40
	add	w1, w8, w9
	mov	x0, x19
	mov	w2, #1059
	bl	_cit_write_reg
	mov	w8, #4000
	mul	w8, w20, w8
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #40
	add	w1, w8, w9
	mov	x0, x19
	mov	w2, #1060
	bl	_cit_write_reg
	mov	w8, #8000
	mul	w8, w20, w8
	smull	x8, w8, w21
	lsr	x9, x8, #63
	asr	x8, x8, #40
	add	w1, w8, w9
	mov	x0, x19
	mov	w2, #1061
	bl	_cit_write_reg
	b	LBB0_9
LBB0_7:
	add	w8, w20, #1
	and	w2, w8, #0xffff
	mov	x0, x19
	mov	w1, #91
LBB0_8:
	bl	_cit_model3_Packet1
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_cit_model1_ntries,4,2          ; @cit_model1_ntries
	.p2align	1                               ; @cit_set_contrast.cv
_cit_set_contrast.cv:
	.short	5                               ; 0x5
	.short	5                               ; 0x5
	.short	15                              ; 0xf
	.short	4                               ; 0x4
	.short	4                               ; 0x4
	.short	22                              ; 0x16
	.short	2                               ; 0x2
	.short	3                               ; 0x3
	.short	22                              ; 0x16
	.short	2                               ; 0x2
	.short	8                               ; 0x8
	.short	22                              ; 0x16
	.short	1                               ; 0x1
	.short	12                              ; 0xc
	.short	22                              ; 0x16
	.short	1                               ; 0x1
	.short	14                              ; 0xe
	.short	22                              ; 0x16
	.short	1                               ; 0x1
	.short	16                              ; 0x10
	.short	22                              ; 0x16

	.no_dead_strip	_cit_set_contrast
.subsections_via_symbols
