	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_rgb_colormap
_make_rgb_colormap:                     ## @make_rgb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%eax, %eax
	movq	_P_sRGB@GOTPCREL(%rip), %r14
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	imull	$51, %eax, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %r12d
	leal	1(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movl	%ecx, %esi
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	movl	$255, %r9d
	callq	_png_create_colormap_entry
	movl	(%r14), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	$51, %r8d
	movl	$255, %r9d
	callq	_png_create_colormap_entry
	movl	(%r14), %eax
	leal	2(%r12), %esi
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	$102, %r8d
	movl	$255, %r9d
	callq	_png_create_colormap_entry
	movl	(%r14), %eax
	leal	3(%r12), %esi
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	$153, %r8d
	movl	$255, %r9d
	callq	_png_create_colormap_entry
	movl	(%r14), %eax
	leal	4(%r12), %esi
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	$204, %r8d
	movl	$255, %r9d
	callq	_png_create_colormap_entry
	leal	6(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r14), %eax
	addl	$5, %r12d
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	$255, %r8d
	movl	$255, %r9d
	callq	_png_create_colormap_entry
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	$51, %ebx
	cmpl	$306, %ebx                      ## imm = 0x132
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	cmpl	$6, %eax
	jne	LBB0_1
## %bb.4:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_sRGB,4,2                     ## @P_sRGB
	.no_dead_strip	_make_rgb_colormap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_rgb_colormap
_make_rgb_colormap:                     ; @make_rgb_colormap
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	mov	w24, #0
	mov	w23, #0
	mov	w25, #51
Lloh0:
	adrp	x26, _P_sRGB@GOTPAGE
Lloh1:
	ldr	x26, [x26, _P_sRGB@GOTPAGEOFF]
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	w20, #0
	mul	w21, w24, w25
	mov	x22, x23
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w23, w22, #1
	ldr	w6, [x26]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #255
	bl	_png_create_colormap_entry
	ldr	w6, [x26]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	mov	w4, #51
	mov	w5, #255
	bl	_png_create_colormap_entry
	ldr	w6, [x26]
	add	w1, w22, #2
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #102
	mov	w5, #255
	bl	_png_create_colormap_entry
	ldr	w6, [x26]
	add	w1, w22, #3
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #153
	mov	w5, #255
	bl	_png_create_colormap_entry
	ldr	w6, [x26]
	add	w1, w22, #4
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #204
	mov	w5, #255
	bl	_png_create_colormap_entry
	add	w23, w22, #6
	ldr	w6, [x26]
	add	w1, w22, #5
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #255
	mov	w5, #255
	bl	_png_create_colormap_entry
	add	w20, w20, #51
	mov	x22, x23
	cmp	w20, #306
	b.ne	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w24, w24, #1
	cmp	w24, #6
	b.ne	LBB0_1
; %bb.4:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P_sRGB,4,2                     ; @P_sRGB
	.no_dead_strip	_make_rgb_colormap
.subsections_via_symbols
