	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gdPutColors                   ## -- Begin function _gdPutColors
	.p2align	4, 0x90
__gdPutColors:                          ## @_gdPutColors
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movzbl	(%rdi), %edi
	callq	_gdPutC
	cmpb	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	movl	44(%r12), %edi
	movq	%r14, %rsi
	callq	_gdPutWord
LBB0_2:
	movl	40(%r12), %edi
	movq	%r14, %rsi
	callq	_gdPutInt
	cmpb	$0, (%r12)
	jne	LBB0_6
## %bb.3:
	movq	_gdMaxColors@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rax
	movzbl	(%rax,%rbx,8), %edi
	movq	%r14, %rsi
	callq	_gdPutC
	movq	24(%r12), %rax
	movzbl	(%rax,%rbx,8), %edi
	movq	%r14, %rsi
	callq	_gdPutC
	movq	16(%r12), %rax
	movzbl	(%rax,%rbx,8), %edi
	movq	%r14, %rsi
	callq	_gdPutC
	movq	8(%r12), %rax
	movzbl	(%rax,%rbx,8), %edi
	movq	%r14, %rsi
	callq	_gdPutC
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gdMaxColors,4,2                ## @gdMaxColors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gdPutColors                   ; -- Begin function _gdPutColors
	.p2align	2
__gdPutColors:                          ; @_gdPutColors
	.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, x1
	mov	x20, x0
	ldrb	w0, [x0]
	bl	_gdPutC
	ldrb	w8, [x20]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x20, #44]
	mov	x1, x19
	bl	_gdPutWord
LBB0_2:
	ldr	w0, [x20, #40]
	mov	x1, x19
	bl	_gdPutInt
	ldrb	w8, [x20]
Lloh0:
	adrp	x21, _gdMaxColors@GOTPAGE
Lloh1:
	ldr	x21, [x21, _gdMaxColors@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, #0
	ccmp	w9, #1, #8, eq
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	lsl	x23, x22, #3
	ldrb	w0, [x8, x23]
	mov	x1, x19
	bl	_gdPutC
	ldr	x8, [x20, #24]
	ldrb	w0, [x8, x23]
	mov	x1, x19
	bl	_gdPutC
	ldr	x8, [x20, #16]
	ldrb	w0, [x8, x23]
	mov	x1, x19
	bl	_gdPutC
	ldr	x8, [x20, #8]
	ldrb	w0, [x8, x23]
	mov	x1, x19
	bl	_gdPutC
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	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	_gdMaxColors,4,2                ; @gdMaxColors
.subsections_via_symbols
