	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_ga_colormap
_make_ga_colormap:                      ## @make_ga_colormap
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%esi, %esi
	movl	$115, %ebx
	movq	_P_sRGB@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	imulq	$464823301, %rax, %rax          ## imm = 0x1BB4A405
	shrq	$32, %rax
	movl	%ebx, %ecx
	subl	%eax, %ecx
	shrl	%ecx
	addl	%eax, %ecx
	shrl	$7, %ecx
	leal	1(%rsi), %r15d
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ecx, %edx
	movl	%ecx, %r8d
	movl	$255, %r9d
	callq	_png_create_colormap_entry
	addl	$256, %ebx                      ## imm = 0x100
	movl	%r15d, %esi
	cmpl	$231, %r15d
	jne	LBB0_1
## %bb.2:
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	$231, %esi
	movl	$255, %edx
	movl	$255, %ecx
	movl	$255, %r8d
	xorl	%r9d, %r9d
	callq	_png_create_colormap_entry
	movl	$232, %r15d
	movl	$51, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%ebx, %r9d
	callq	_png_create_colormap_entry
	movl	(%r12), %eax
	leal	1(%r15), %esi
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	$51, %edx
	movl	$51, %ecx
	movl	$51, %r8d
	movl	%ebx, %r9d
	callq	_png_create_colormap_entry
	movl	(%r12), %eax
	leal	2(%r15), %esi
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	$102, %edx
	movl	$102, %ecx
	movl	$102, %r8d
	movl	%ebx, %r9d
	callq	_png_create_colormap_entry
	movl	(%r12), %eax
	leal	3(%r15), %esi
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	$153, %edx
	movl	$153, %ecx
	movl	$153, %r8d
	movl	%ebx, %r9d
	callq	_png_create_colormap_entry
	movl	(%r12), %eax
	leal	4(%r15), %esi
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	$204, %edx
	movl	$204, %ecx
	movl	$204, %r8d
	movl	%ebx, %r9d
	callq	_png_create_colormap_entry
	movl	(%r12), %eax
	leal	5(%r15), %esi
	movl	%eax, (%rsp)
	movq	%r14, %rdi
	movl	$255, %edx
	movl	$255, %ecx
	movl	$255, %r8d
	movl	%ebx, %r9d
	callq	_png_create_colormap_entry
	addl	$51, %ebx
	leal	6(%r15), %eax
	cmpl	$250, %r15d
	movl	%eax, %r15d
	jne	LBB0_3
## %bb.4:
	movl	$256, %eax                      ## imm = 0x100
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_sRGB,4,2                     ## @P_sRGB
	.no_dead_strip	_make_ga_colormap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_ga_colormap
_make_ga_colormap:                      ; @make_ga_colormap
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	mov	w1, #0
	mov	w20, #115
	mov	w21, #41989
	movk	w21, #7092, lsl #16
Lloh0:
	adrp	x22, _P_sRGB@GOTPAGE
Lloh1:
	ldr	x22, [x22, _P_sRGB@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	umull	x8, w20, w21
	lsr	x8, x8, #32
	sub	w9, w20, w8
	add	w8, w8, w9, lsr #1
	lsr	w2, w8, #7
	add	w23, w1, #1
	ldr	w6, [x22]
	mov	x0, x19
	mov	x3, x2
	mov	x4, x2
	mov	w5, #255
	bl	_png_create_colormap_entry
	add	w20, w20, #256
	mov	x1, x23
	cmp	w23, #231
	b.ne	LBB0_1
; %bb.2:
	ldr	w6, [x22]
	mov	x0, x19
	mov	w2, #255
	mov	w3, #255
	mov	w4, #255
	mov	w5, #0
	bl	_png_create_colormap_entry
	mov	w21, #232
	mov	w20, #51
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w6, [x22]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, x20
	bl	_png_create_colormap_entry
	ldr	w6, [x22]
	add	w1, w21, #1
	mov	x0, x19
	mov	w2, #51
	mov	w3, #51
	mov	w4, #51
	mov	x5, x20
	bl	_png_create_colormap_entry
	ldr	w6, [x22]
	add	w1, w21, #2
	mov	x0, x19
	mov	w2, #102
	mov	w3, #102
	mov	w4, #102
	mov	x5, x20
	bl	_png_create_colormap_entry
	ldr	w6, [x22]
	add	w1, w21, #3
	mov	x0, x19
	mov	w2, #153
	mov	w3, #153
	mov	w4, #153
	mov	x5, x20
	bl	_png_create_colormap_entry
	ldr	w6, [x22]
	add	w1, w21, #4
	mov	x0, x19
	mov	w2, #204
	mov	w3, #204
	mov	w4, #204
	mov	x5, x20
	bl	_png_create_colormap_entry
	ldr	w6, [x22]
	add	w1, w21, #5
	mov	x0, x19
	mov	w2, #255
	mov	w3, #255
	mov	w4, #255
	mov	x5, x20
	bl	_png_create_colormap_entry
	add	w20, w20, #51
	add	w8, w21, #6
	cmp	w21, #250
	mov	x21, x8
	b.ne	LBB0_3
; %bb.4:
	mov	w0, #256
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P_sRGB,4,2                     ; @P_sRGB
	.no_dead_strip	_make_ga_colormap
.subsections_via_symbols
