	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function gpc_bckg
LCPI0_0:
	.quad	0x406fe00000000000              ## double 255
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gpc_bckg:                              ## @gpc_bckg
	.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	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	cmpl	$255, %eax
	jb	LBB0_4
## %bb.3:
	movq	16(%rsi), %rax
	jmp	LBB0_5
LBB0_1:
	movq	(%rdx), %rax
	jmp	LBB0_5
LBB0_4:
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	movq	_sRGB_to_d@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rsi), %rcx
	cvtsi2sdl	8(%rdx), %xmm1
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	subsd	%xmm0, %xmm2
	mulsd	%xmm1, %xmm2
	mulsd	(%rax,%rcx,8), %xmm0
	addsd	%xmm2, %xmm0
	callq	_sRGB
LBB0_5:
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
	movl	$255, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sRGB_to_d,8,3                  ## @sRGB_to_d
	.no_dead_strip	_gpc_bckg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpc_bckg
_gpc_bckg:                              ; @gpc_bckg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, [x1]
	cmp	w8, #0
	b.le	LBB0_3
; %bb.1:
	cmp	w8, #255
	b.lo	LBB0_4
; %bb.2:
	ldr	x0, [x1, #16]
	b	LBB0_5
LBB0_3:
	ldr	x0, [x2]
	b	LBB0_5
LBB0_4:
	scvtf	d0, w8
	mov	x8, #246290604621824
	movk	x8, #16495, lsl #48
	fmov	d1, x8
Lloh0:
	adrp	x8, _sRGB_to_d@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sRGB_to_d@GOTPAGEOFF]
	fdiv	d0, d0, d1
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x1, #16]
	ldr	d1, [x8, x9, lsl #3]
	ldr	s2, [x2, #8]
	sshll.2d	v2, v2, #0
	scvtf	d2, d2
	fmov	d3, #1.00000000
	fsub	d3, d3, d0
	fmul	d2, d3, d2
	fmadd	d0, d1, d0, d2
	bl	_sRGB
LBB0_5:
	stp	x0, x0, [x19, #16]
	str	x0, [x19, #8]
	mov	w8, #255
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sRGB_to_d,8,3                  ; @sRGB_to_d
	.no_dead_strip	_gpc_bckg
.subsections_via_symbols
