	.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_unpg
LCPI0_0:
	.quad	0x4070100000000000              ## double 257
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_gpc_unpg:                              ## @gpc_unpg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rsi), %eax
	cmpl	$128, %eax
	jg	LBB0_2
## %bb.1:
	movl	$255, 12(%rbx)
	movabsq	$1095216660735, %rax            ## imm = 0xFF000000FF
	movq	%rax, 4(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rsi, %r14
	cvtsi2sdl	8(%rsi), %xmm0
	cvtsi2sd	%eax, %xmm1
	divsd	%xmm1, %xmm0
	callq	_sRGB
	movl	%eax, 12(%rbx)
	movl	%eax, 8(%rbx)
	movl	%eax, 4(%rbx)
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%r14), %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %edi
	callq	_u8d
	cvttsd2si	%xmm0, %eax
LBB0_3:
	movl	%eax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gpc_unpg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpc_unpg
_gpc_unpg:                              ; @gpc_unpg
	.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, #128
	b.gt	LBB0_2
; %bb.1:
	mov	w8, #0
	mov	w9, #255
	str	w9, [x19, #12]
	movi	d0, #0x0000ff000000ff
	stur	d0, [x19, #4]
	b	LBB0_3
LBB0_2:
	mov	x20, x1
	ldr	s0, [x1, #8]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	scvtf	d1, w8
	fdiv	d0, d0, d1
	bl	_sRGB
	stp	w0, w0, [x19, #8]
	str	w0, [x19, #4]
	ldr	s0, [x20]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	mov	x8, #17592186044416
	movk	x8, #16496, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fcvtzs	w0, d0
	bl	_u8d
	fcvtzs	w8, d0
LBB0_3:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gpc_unpg
.subsections_via_symbols
