	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setcontrast
_setcontrast:                           ## @setcontrast
	.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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movq	_GAMMA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rax,%rcx,4), %rdx
	movq	_CONTRAST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r13d
	leal	-128(%r13), %r15d
	movq	_BRIGHTNESS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ebx
	addl	$-128, %ebx
	xorl	%eax, %eax
	cmpl	$128, %r13d
	setne	%al
	movl	$-1, %ecx
	cmovlel	%eax, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movl	%ebx, %eax
	shll	$4, %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rax,4), %r12d
	addl	$255, %r12d
	testl	%ecx, %ecx
	cmovnsl	%ecx, %r12d
	leaq	_setcontrast.gamma_tb(%rip), %rsi
	sarl	$8, %r12d
	imull	$44, %r15d, %eax
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$8, %ecx
	shlq	$6, %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	addl	-64(%rdx,%rsi), %r12d
	subl	%ecx, %r12d
	xorl	%r14d, %r14d
	testl	%r12d, %r12d
	cmovlel	%r14d, %r12d
	cmpl	$255, %r12d
	movl	$255, %eax
	cmovgel	%eax, %r12d
	movl	%r12d, %esi
	movl	$288, %edx                      ## imm = 0x120
	callq	_reg_w
	movl	%ebx, -116(%rbp)                ## 4-byte Spill
	imull	$56, %ebx, %eax
	leal	255(%rax), %ebx
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$8, %ebx
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	leal	(%r15,%r15,4), %eax
	leal	(%rax,%rax,4), %eax
	leal	(%rax,%r13), %ecx
	addl	$-128, %ecx
	addl	%r13d, %eax
	addl	$127, %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$8, %eax
	leaq	_setcontrast.gamma_tb(%rip), %rcx
	movq	-128(%rbp), %r15                ## 8-byte Reload
	addl	-60(%r15,%rcx), %ebx
	subl	%eax, %ebx
	testl	%ebx, %ebx
	cmovlel	%r14d, %ebx
	cmpl	$255, %ebx
	movl	$255, %eax
	cmovgel	%eax, %ebx
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	movl	$289, %edx                      ## imm = 0x121
	callq	_reg_w
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rax), %r13d
	movl	%ebx, %eax
	subl	%r12d, %eax
	testl	%r12d, %r12d
	cmovel	%r12d, %eax
	movl	%eax, -112(%rbp)
	leaq	_setcontrast.gamma_tb(%rip), %rax
	addq	%r15, %rax
	addq	$-56, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	290(%r14), %edx
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	callq	_reg_w
	addl	-136(%rbp), %r13d               ## 4-byte Folded Reload
	movl	%ebx, %eax
	subl	%r12d, %eax
	movzwl	%ax, %ecx
	shrl	$15, %ecx
	addl	%eax, %ecx
	movswl	%cx, %eax
	sarl	%eax
	movl	%eax, -108(%rbp,%r14,4)
	incq	%r14
	movl	%r15d, %r12d
	cmpq	$14, %r14
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r15d
	leaq	_setcontrast.delta_b(%rip), %rax
	movl	8(%rax,%r14,4), %eax
	imull	-116(%rbp), %eax                ## 4-byte Folded Reload
	leal	255(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r14,4), %ebx
	sarl	$8, %ecx
	leaq	_setcontrast.delta_c(%rip), %rax
	movl	8(%rax,%r14,4), %eax
	imull	-144(%rbp), %eax                ## 4-byte Folded Reload
	leal	255(%rax), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$8, %edx
	movl	%r13d, %eax
	shrl	$31, %eax
	addl	%r13d, %eax
	sarl	%eax
	subl	%eax, %ebx
	addl	%ecx, %ebx
	subl	%edx, %ebx
	testl	%ebx, %ebx
	jg	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$255, %ebx
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$255, %ebx
	jmp	LBB0_5
LBB0_6:
	movl	-112(%rbp), %esi
	movl	-108(%rbp), %r13d
	movl	-104(%rbp), %r12d
	movl	-100(%rbp), %r14d
	movl	-96(%rbp), %eax
	movl	%eax, -156(%rbp)                ## 4-byte Spill
	movl	-92(%rbp), %eax
	movl	%eax, -160(%rbp)                ## 4-byte Spill
	movl	-88(%rbp), %eax
	movl	%eax, -164(%rbp)                ## 4-byte Spill
	movl	-84(%rbp), %eax
	movl	%eax, -168(%rbp)                ## 4-byte Spill
	movl	-80(%rbp), %eax
	movl	%eax, -172(%rbp)                ## 4-byte Spill
	movl	-76(%rbp), %eax
	movl	%eax, -176(%rbp)                ## 4-byte Spill
	movl	-72(%rbp), %eax
	movl	%eax, -180(%rbp)                ## 4-byte Spill
	movl	-68(%rbp), %eax
	movl	%eax, -128(%rbp)                ## 4-byte Spill
	movl	-64(%rbp), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movl	-60(%rbp), %eax
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	movl	-56(%rbp), %eax
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$304, %edx                      ## imm = 0x130
	callq	_reg_w
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	$305, %edx                      ## imm = 0x131
	callq	_reg_w
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$306, %edx                      ## imm = 0x132
	callq	_reg_w
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$307, %edx                      ## imm = 0x133
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-156(%rbp), %esi                ## 4-byte Reload
	movl	$308, %edx                      ## imm = 0x134
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-160(%rbp), %esi                ## 4-byte Reload
	movl	$309, %edx                      ## imm = 0x135
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-164(%rbp), %esi                ## 4-byte Reload
	movl	$310, %edx                      ## imm = 0x136
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-168(%rbp), %esi                ## 4-byte Reload
	movl	$311, %edx                      ## imm = 0x137
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-172(%rbp), %esi                ## 4-byte Reload
	movl	$312, %edx                      ## imm = 0x138
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-176(%rbp), %esi                ## 4-byte Reload
	movl	$313, %edx                      ## imm = 0x139
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-180(%rbp), %esi                ## 4-byte Reload
	movl	$314, %edx                      ## imm = 0x13A
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-128(%rbp), %esi                ## 4-byte Reload
	movl	$315, %edx                      ## imm = 0x13B
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-116(%rbp), %esi                ## 4-byte Reload
	movl	$316, %edx                      ## imm = 0x13C
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-144(%rbp), %esi                ## 4-byte Reload
	movl	$317, %edx                      ## imm = 0x13D
	callq	_reg_w
	movq	%rbx, %rdi
	movl	-136(%rbp), %esi                ## 4-byte Reload
	movl	$318, %edx                      ## imm = 0x13E
	callq	_reg_w
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.8:
	shrl	%r15d
	xorl	$127, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$319, %edx                      ## imm = 0x13F
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reg_w                          ## TAILCALL
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @setcontrast.delta_b
_setcontrast.delta_b:
	.long	80                              ## 0x50
	.long	56                              ## 0x38
	.long	45                              ## 0x2d
	.long	40                              ## 0x28
	.long	36                              ## 0x24
	.long	33                              ## 0x21
	.long	30                              ## 0x1e
	.long	29                              ## 0x1d
	.long	29                              ## 0x1d
	.long	27                              ## 0x1b
	.long	27                              ## 0x1b
	.long	27                              ## 0x1b
	.long	25                              ## 0x19
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18

	.p2align	4                               ## @setcontrast.delta_c
_setcontrast.delta_c:
	.long	44                              ## 0x2c
	.long	26                              ## 0x1a
	.long	18                              ## 0x12
	.long	12                              ## 0xc
	.long	10                              ## 0xa
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.long	6                               ## 0x6
	.long	4                               ## 0x4
	.long	6                               ## 0x6
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	2                               ## 0x2

	.p2align	4                               ## @setcontrast.gamma_tb
_setcontrast.gamma_tb:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	3                               ## 0x3
	.long	13                              ## 0xd
	.long	27                              ## 0x1b
	.long	46                              ## 0x2e
	.long	69                              ## 0x45
	.long	95                              ## 0x5f
	.long	121                             ## 0x79
	.long	147                             ## 0x93
	.long	171                             ## 0xab
	.long	193                             ## 0xc1
	.long	212                             ## 0xd4
	.long	229                             ## 0xe5
	.long	243                             ## 0xf3
	.long	255                             ## 0xff
	.long	1                               ## 0x1
	.long	12                              ## 0xc
	.long	31                              ## 0x1f
	.long	58                              ## 0x3a
	.long	83                              ## 0x53
	.long	109                             ## 0x6d
	.long	133                             ## 0x85
	.long	156                             ## 0x9c
	.long	176                             ## 0xb0
	.long	194                             ## 0xc2
	.long	209                             ## 0xd1
	.long	222                             ## 0xde
	.long	233                             ## 0xe9
	.long	242                             ## 0xf2
	.long	249                             ## 0xf9
	.long	255                             ## 0xff
	.long	4                               ## 0x4
	.long	22                              ## 0x16
	.long	48                              ## 0x30
	.long	78                              ## 0x4e
	.long	104                             ## 0x68
	.long	129                             ## 0x81
	.long	152                             ## 0x98
	.long	172                             ## 0xac
	.long	190                             ## 0xbe
	.long	205                             ## 0xcd
	.long	218                             ## 0xda
	.long	228                             ## 0xe4
	.long	237                             ## 0xed
	.long	245                             ## 0xf5
	.long	251                             ## 0xfb
	.long	255                             ## 0xff
	.long	19                              ## 0x13
	.long	56                              ## 0x38
	.long	89                              ## 0x59
	.long	121                             ## 0x79
	.long	146                             ## 0x92
	.long	167                             ## 0xa7
	.long	185                             ## 0xb9
	.long	200                             ## 0xc8
	.long	212                             ## 0xd4
	.long	223                             ## 0xdf
	.long	231                             ## 0xe7
	.long	238                             ## 0xee
	.long	244                             ## 0xf4
	.long	249                             ## 0xf9
	.long	252                             ## 0xfc
	.long	255                             ## 0xff
	.long	32                              ## 0x20
	.long	75                              ## 0x4b
	.long	110                             ## 0x6e
	.long	141                             ## 0x8d
	.long	163                             ## 0xa3
	.long	181                             ## 0xb5
	.long	197                             ## 0xc5
	.long	210                             ## 0xd2
	.long	220                             ## 0xdc
	.long	229                             ## 0xe5
	.long	236                             ## 0xec
	.long	242                             ## 0xf2
	.long	246                             ## 0xf6
	.long	250                             ## 0xfa
	.long	253                             ## 0xfd
	.long	255                             ## 0xff
	.long	36                              ## 0x24
	.long	68                              ## 0x44
	.long	100                             ## 0x64
	.long	132                             ## 0x84
	.long	157                             ## 0x9d
	.long	178                             ## 0xb2
	.long	196                             ## 0xc4
	.long	211                             ## 0xd3
	.long	224                             ## 0xe0
	.long	235                             ## 0xeb
	.long	244                             ## 0xf4
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff

	.comm	_GAMMA,8,3                      ## @GAMMA
	.comm	_CONTRAST,8,3                   ## @CONTRAST
	.comm	_BRIGHTNESS,8,3                 ## @BRIGHTNESS
	.no_dead_strip	_setcontrast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setcontrast
_setcontrast:                           ; @setcontrast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _GAMMA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GAMMA@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldrsw	x9, [x8, x9, lsl #2]
Lloh6:
	adrp	x10, _CONTRAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _CONTRAST@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w10, [x8, x10, lsl #2]
Lloh9:
	adrp	x11, _BRIGHTNESS@GOTPAGE
Lloh10:
	ldr	x11, [x11, _BRIGHTNESS@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	ldr	w8, [x8, x11, lsl #2]
	sub	w21, w8, #128
	subs	w22, w10, #128
	cset	w8, ne
	csinv	w25, w8, wzr, le
Lloh12:
	adrp	x8, _setcontrast.gamma_tb@PAGE
Lloh13:
	add	x8, x8, _setcontrast.gamma_tb@PAGEOFF
	add	x19, x8, x9, lsl #6
	ldur	w8, [x19, #-64]
	add	w9, w21, w21, lsl #2
	lsl	w9, w9, #4
	add	w10, w9, #255
	cmp	w9, #0
	csel	w9, w10, w9, lt
	mov	w10, #44
	mul	w10, w22, w10
	add	w11, w10, #255
	cmp	w10, #0
	csel	w10, w11, w10, lt
	add	w8, w8, w9, asr #8
	sub	w8, w8, w10, asr #8
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	mov	w26, #255
	cmp	w8, #255
	csel	w20, w8, w26, lt
	mov	x1, x20
	mov	w2, #288
	bl	_reg_w
	ldur	w8, [x19, #-60]
	mov	w9, #56
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	mul	w9, w21, w9
	add	w10, w9, #255
	cmp	w9, #0
	csel	w9, w10, w9, lt
	mov	w10, #26
	mov	x23, x22
	mul	w10, w22, w10
	add	w11, w10, #255
	cmp	w10, #0
	csel	w10, w11, w10, lt
	add	w8, w8, w9, asr #8
	sub	w8, w8, w10, asr #8
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	cmp	w8, #255
	csel	w21, w8, w26, lt
	str	x24, [sp, #32]                  ; 8-byte Folded Spill
	mov	x0, x24
	mov	x1, x21
	mov	w2, #289
	bl	_reg_w
	mov	x27, #0
	mov	x22, x25
	lsl	w28, w25, #1
	sub	w8, w21, w20
	cmp	w20, #0
	csel	w8, wzr, w8, eq
	str	w8, [sp, #40]
	add	x8, sp, #40
	add	x26, x8, #4
	sub	x19, x19, #56
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x21
	lsl	x24, x27, #2
	ldr	w8, [x19, x24]
Lloh14:
	adrp	x9, _setcontrast.delta_b@PAGE
Lloh15:
	add	x9, x9, _setcontrast.delta_b@PAGEOFF
	add	x9, x9, x24
	ldr	w9, [x9, #8]
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	add	w10, w9, #255
	cmp	w9, #0
	csel	w9, w10, w9, lt
Lloh16:
	adrp	x10, _setcontrast.delta_c@PAGE
Lloh17:
	add	x10, x10, _setcontrast.delta_c@PAGEOFF
	add	x10, x10, x24
	ldr	w10, [x10, #8]
	mul	w10, w10, w23
	add	w11, w10, #255
	cmp	w10, #0
	csel	w10, w11, w10, lt
	cmp	w28, #0
	cinc	w11, w28, lt
	sub	w8, w8, w11, asr #1
	add	w8, w8, w9, asr #8
	sub	w8, w8, w10, asr #8
	cmp	w8, #0
	csel	w8, w8, wzr, gt
	cmp	w8, #255
	mov	w9, #255
	csel	w21, w8, w9, lt
	add	w2, w27, #290
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x21
	bl	_reg_w
	add	w28, w28, w22
	sub	w8, w21, w20
	and	w9, w8, #0x8000
	add	w8, w8, w9, lsr #15
	sbfx	w8, w8, #1, #15
	str	w8, [x26, x24]
	add	x27, x27, #1
	mov	x20, x25
	cmp	x27, #14
	b.ne	LBB0_1
; %bb.2:
	ldp	w1, w28, [sp, #40]
	ldp	w20, w21, [sp, #48]
	ldp	w22, w23, [sp, #56]
	ldp	w24, w27, [sp, #64]
	ldp	w26, w9, [sp, #72]
	ldr	w8, [sp, #80]
	stp	w9, w8, [sp, #8]                ; 8-byte Folded Spill
	ldr	w9, [sp, #84]
	ldr	w8, [sp, #88]
	stp	w9, w8, [sp, #16]               ; 8-byte Folded Spill
	ldr	w9, [sp, #92]
	ldr	w8, [sp, #96]
	stp	w9, w8, [sp, #24]               ; 8-byte Folded Spill
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	mov	x0, x19
	mov	w2, #304
	bl	_reg_w
	mov	x0, x19
	mov	x1, x28
	mov	w2, #305
	bl	_reg_w
	mov	x0, x19
	mov	x1, x20
	mov	w2, #306
	bl	_reg_w
	mov	x0, x19
	mov	x1, x21
	mov	w2, #307
	bl	_reg_w
	mov	x0, x19
	mov	x1, x22
	mov	w2, #308
	bl	_reg_w
	mov	x0, x19
	mov	x1, x23
	mov	w2, #309
	bl	_reg_w
	mov	x0, x19
	mov	x1, x24
	mov	w2, #310
	bl	_reg_w
	mov	x0, x19
	mov	x1, x27
	mov	w2, #311
	bl	_reg_w
	mov	x0, x19
	mov	x1, x26
	mov	w2, #312
	bl	_reg_w
	mov	x0, x19
	ldr	w1, [sp, #8]                    ; 4-byte Folded Reload
	mov	w2, #313
	bl	_reg_w
	mov	x0, x19
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	w2, #314
	bl	_reg_w
	mov	x0, x19
	ldr	w1, [sp, #16]                   ; 4-byte Folded Reload
	mov	w2, #315
	bl	_reg_w
	mov	x0, x19
	ldr	w1, [sp, #20]                   ; 4-byte Folded Reload
	mov	w2, #316
	bl	_reg_w
	mov	x0, x19
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	mov	w2, #317
	bl	_reg_w
	mov	x0, x19
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	mov	w2, #318
	bl	_reg_w
	ldur	x8, [x29, #-88]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	lsr	w8, w25, #1
	eor	w1, w8, #0x7f
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	w2, #319
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_reg_w
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @setcontrast.delta_b
_setcontrast.delta_b:
	.long	80                              ; 0x50
	.long	56                              ; 0x38
	.long	45                              ; 0x2d
	.long	40                              ; 0x28
	.long	36                              ; 0x24
	.long	33                              ; 0x21
	.long	30                              ; 0x1e
	.long	29                              ; 0x1d
	.long	29                              ; 0x1d
	.long	27                              ; 0x1b
	.long	27                              ; 0x1b
	.long	27                              ; 0x1b
	.long	25                              ; 0x19
	.long	24                              ; 0x18
	.long	24                              ; 0x18
	.long	24                              ; 0x18

	.p2align	2                               ; @setcontrast.delta_c
_setcontrast.delta_c:
	.long	44                              ; 0x2c
	.long	26                              ; 0x1a
	.long	18                              ; 0x12
	.long	12                              ; 0xc
	.long	10                              ; 0xa
	.long	6                               ; 0x6
	.long	6                               ; 0x6
	.long	6                               ; 0x6
	.long	4                               ; 0x4
	.long	6                               ; 0x6
	.long	4                               ; 0x4
	.long	4                               ; 0x4
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	2                               ; 0x2

	.p2align	2                               ; @setcontrast.gamma_tb
_setcontrast.gamma_tb:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.long	13                              ; 0xd
	.long	27                              ; 0x1b
	.long	46                              ; 0x2e
	.long	69                              ; 0x45
	.long	95                              ; 0x5f
	.long	121                             ; 0x79
	.long	147                             ; 0x93
	.long	171                             ; 0xab
	.long	193                             ; 0xc1
	.long	212                             ; 0xd4
	.long	229                             ; 0xe5
	.long	243                             ; 0xf3
	.long	255                             ; 0xff
	.long	1                               ; 0x1
	.long	12                              ; 0xc
	.long	31                              ; 0x1f
	.long	58                              ; 0x3a
	.long	83                              ; 0x53
	.long	109                             ; 0x6d
	.long	133                             ; 0x85
	.long	156                             ; 0x9c
	.long	176                             ; 0xb0
	.long	194                             ; 0xc2
	.long	209                             ; 0xd1
	.long	222                             ; 0xde
	.long	233                             ; 0xe9
	.long	242                             ; 0xf2
	.long	249                             ; 0xf9
	.long	255                             ; 0xff
	.long	4                               ; 0x4
	.long	22                              ; 0x16
	.long	48                              ; 0x30
	.long	78                              ; 0x4e
	.long	104                             ; 0x68
	.long	129                             ; 0x81
	.long	152                             ; 0x98
	.long	172                             ; 0xac
	.long	190                             ; 0xbe
	.long	205                             ; 0xcd
	.long	218                             ; 0xda
	.long	228                             ; 0xe4
	.long	237                             ; 0xed
	.long	245                             ; 0xf5
	.long	251                             ; 0xfb
	.long	255                             ; 0xff
	.long	19                              ; 0x13
	.long	56                              ; 0x38
	.long	89                              ; 0x59
	.long	121                             ; 0x79
	.long	146                             ; 0x92
	.long	167                             ; 0xa7
	.long	185                             ; 0xb9
	.long	200                             ; 0xc8
	.long	212                             ; 0xd4
	.long	223                             ; 0xdf
	.long	231                             ; 0xe7
	.long	238                             ; 0xee
	.long	244                             ; 0xf4
	.long	249                             ; 0xf9
	.long	252                             ; 0xfc
	.long	255                             ; 0xff
	.long	32                              ; 0x20
	.long	75                              ; 0x4b
	.long	110                             ; 0x6e
	.long	141                             ; 0x8d
	.long	163                             ; 0xa3
	.long	181                             ; 0xb5
	.long	197                             ; 0xc5
	.long	210                             ; 0xd2
	.long	220                             ; 0xdc
	.long	229                             ; 0xe5
	.long	236                             ; 0xec
	.long	242                             ; 0xf2
	.long	246                             ; 0xf6
	.long	250                             ; 0xfa
	.long	253                             ; 0xfd
	.long	255                             ; 0xff
	.long	36                              ; 0x24
	.long	68                              ; 0x44
	.long	100                             ; 0x64
	.long	132                             ; 0x84
	.long	157                             ; 0x9d
	.long	178                             ; 0xb2
	.long	196                             ; 0xc4
	.long	211                             ; 0xd3
	.long	224                             ; 0xe0
	.long	235                             ; 0xeb
	.long	244                             ; 0xf4
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff

	.comm	_GAMMA,8,3                      ; @GAMMA
	.comm	_CONTRAST,8,3                   ; @CONTRAST
	.comm	_BRIGHTNESS,8,3                 ; @BRIGHTNESS
	.no_dead_strip	_setcontrast
.subsections_via_symbols
