	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_GammaCorrect                 ## -- Begin function R_GammaCorrect
	.p2align	4, 0x90
_R_GammaCorrect:                        ## @R_GammaCorrect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	movq	_s_gammatable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %r9d
	leaq	-1(%r9), %rsi
	movl	%r9d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %r9d
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rsi,8), %rcx
	movq	8(%rdi,%rsi,8), %rdx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, (%rdi,%rsi,8)
	movq	(%rax,%rdx,8), %rcx
	movq	%rcx, 8(%rdi,%rsi,8)
	movq	16(%rdi,%rsi,8), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, 16(%rdi,%rsi,8)
	movq	24(%rdi,%rsi,8), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, 24(%rdi,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rdi,%rsi,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	%rcx, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_gammatable,8,3               ## @s_gammatable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_R_GammaCorrect                 ; -- Begin function R_GammaCorrect
	.p2align	2
_R_GammaCorrect:                        ; @R_GammaCorrect
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _s_gammatable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s_gammatable@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0]
	ldr	x10, [x8, x10, lsl #3]
	str	x10, [x0], #8
	subs	x9, x9, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_s_gammatable,8,3               ; @s_gammatable
.subsections_via_symbols
