	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function png_ascii_from_fixed
LCPI0_0:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_png_ascii_from_fixed
	.p2align	4, 0x90
_png_ascii_from_fixed:                  ## @png_ascii_from_fixed
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	cmpl	$13, %edx
	jl	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	testq	%rcx, %rcx
	js	LBB0_12
## %bb.2:
	cmpl	$-2147483648, %ecx              ## imm = 0x80000000
	ja	LBB0_13
LBB0_3:
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.4:
	xorl	%r15d, %r15d
	movl	$16, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edx
	movslq	%ecx, %rax
	imulq	$1717986919, %rax, %rcx         ## imm = 0x66666667
	movq	%rcx, %rsi
	shrq	$63, %rsi
	sarq	$34, %rcx
	addl	%esi, %ecx
	leal	(%rcx,%rcx), %esi
	leal	(%rsi,%rsi,4), %esi
	movl	%eax, %edi
	subl	%esi, %edi
	leal	48(%rdi), %esi
	movl	%r15d, %ebx
	incl	%r15d
	movb	%sil, -50(%rbp,%rbx)
	testl	%edi, %edi
	movl	%edx, %ebx
	cmovgl	%r15d, %ebx
	cmpl	$16, %edx
	cmovnel	%edx, %ebx
	addl	$9, %eax
	cmpl	$18, %eax
	ja	LBB0_5
## %bb.6:
	testl	%r15d, %r15d
	je	LBB0_15
## %bb.7:
	cmpl	$6, %r15d
	jb	LBB0_23
## %bb.8:
	movl	%r15d, %eax
	leaq	-5(%rax), %r8
	cmpq	$4, %r8
	jb	LBB0_21
## %bb.9:
	movq	%r8, %r9
	andq	$-4, %r9
	leaq	-4(%r9), %rcx
	movq	%rcx, %r10
	shrq	$2, %r10
	incq	%r10
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.10:
	leaq	(%rax,%rbp), %rcx
	addq	$-52, %rcx
	movq	%rax, %r11
	addq	$-5, %r11
	andq	$-4, %r11
	addq	$-4, %r11
	shrq	$2, %r11
	incq	%r11
	andq	$-2, %r11
	negq	%r11
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,0,0]
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movzwl	(%rcx,%rsi,4), %edx
	movd	%edx, %xmm1
	pshufb	%xmm0, %xmm1
	movzwl	-2(%rcx,%rsi,4), %edx
	movd	%edx, %xmm2
	pshufb	%xmm0, %xmm2
	pmovsxbq	%xmm1, %xmm1
	pmovsxbq	%xmm2, %xmm2
	movdqu	%xmm1, (%r14,%rdi,8)
	movdqu	%xmm2, 16(%r14,%rdi,8)
	movzwl	-4(%rcx,%rsi,4), %edx
	movd	%edx, %xmm1
	pshufb	%xmm0, %xmm1
	movzwl	-6(%rcx,%rsi,4), %edx
	movd	%edx, %xmm2
	pshufb	%xmm0, %xmm2
	pmovsxbq	%xmm1, %xmm1
	pmovsxbq	%xmm2, %xmm2
	movdqu	%xmm1, 32(%r14,%rdi,8)
	movdqu	%xmm2, 48(%r14,%rdi,8)
	addq	$8, %rdi
	addq	$-2, %rsi
	cmpq	%rsi, %r11
	jne	LBB0_11
	jmp	LBB0_17
LBB0_12:
	movq	$45, (%r14)
	addq	$8, %r14
	negq	%rcx
	cmpl	$-2147483648, %ecx              ## imm = 0x80000000
	jbe	LBB0_3
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_45
## %bb.14:
	leaq	L_.str(%rip), %rsi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_png_error                      ## TAILCALL
LBB0_15:
	movq	$48, (%r14)
	addq	$8, %r14
	jmp	LBB0_43
LBB0_16:
	xorl	%edi, %edi
LBB0_17:
	testb	$1, %r10b
	je	LBB0_19
## %bb.18:
	movq	%rdi, %rcx
	notq	%rcx
	addq	%rax, %rcx
	movzwl	-51(%rbp,%rcx), %edx
	movd	%edx, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,0,0,0]
	pshufb	%xmm1, %xmm0
	movzwl	-53(%rbp,%rcx), %ecx
	movd	%ecx, %xmm2
	pshufb	%xmm1, %xmm2
	pmovsxbq	%xmm0, %xmm0
	pmovsxbq	%xmm2, %xmm1
	movdqu	%xmm0, (%r14,%rdi,8)
	movdqu	%xmm1, 16(%r14,%rdi,8)
LBB0_19:
	leaq	(%r14,%r9,8), %r14
	movl	$5, %r15d
	cmpq	%r9, %r8
	je	LBB0_23
## %bb.20:
	subq	%r9, %rax
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movsbq	-51(%rbp,%rax), %rcx
	decq	%rax
	movq	%rcx, (%r14)
	addq	$8, %r14
	cmpq	$5, %rax
	ja	LBB0_21
## %bb.22:
	movl	$5, %r15d
LBB0_23:
	cmpl	$5, %ebx
	ja	LBB0_43
## %bb.24:
	movq	$46, (%r14)
	leaq	8(%r14), %rdi
	cmpl	$4, %r15d
	ja	LBB0_26
## %bb.25:
	movl	$4, %r12d
	subl	%r15d, %r12d
	leaq	8(,%r12,8), %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
	leaq	(%r14,%r12,8), %rdi
	addq	$16, %rdi
LBB0_26:
	cmpl	%ebx, %r15d
	jae	LBB0_28
LBB0_27:
	movq	%rdi, %r14
	jmp	LBB0_43
LBB0_28:
	movl	%ebx, %ecx
	negl	%ecx
	movl	%r15d, %r10d
	negl	%r10d
	cmpl	%r10d, %ecx
	cmoval	%ecx, %r10d
	addl	%r15d, %r10d
	cmpl	$3, %r10d
	jb	LBB0_41
## %bb.29:
	leal	-1(%rbx), %ecx
	leal	-1(%r15), %edx
	cmpl	%edx, %ecx
	movl	%edx, %esi
	cmovbl	%ecx, %esi
	notl	%esi
	addl	%r15d, %esi
	cmpl	%edx, %esi
	ja	LBB0_41
## %bb.30:
	cmpl	%edx, %ecx
	cmovael	%edx, %ecx
	leaq	-50(%rbp), %rsi
	addq	%rdx, %rsi
	incq	%rsi
	cmpq	%rdi, %rsi
	jbe	LBB0_32
## %bb.31:
	notl	%ecx
	addl	%r15d, %ecx
	leaq	(%rdi,%rcx,8), %rsi
	addq	$8, %rsi
	subq	%rcx, %rdx
	leaq	(%rdx,%rbp), %rcx
	addq	$-50, %rcx
	cmpq	%rsi, %rcx
	jb	LBB0_41
LBB0_32:
	incq	%r10
	movq	%r10, %r8
	andq	$-4, %r8
	leaq	-4(%r8), %rcx
	movq	%rcx, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rcx, %rcx
	je	LBB0_35
## %bb.33:
	movq	%r9, %r11
	andq	$-2, %r11
	leal	-5(%r15), %ecx
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,0,0]
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	leal	4(%rcx), %eax
	movzwl	-51(%rbp,%rax), %esi
	movd	%esi, %xmm1
	pshufb	%xmm0, %xmm1
	movzwl	-53(%rbp,%rax), %eax
	movd	%eax, %xmm2
	pshufb	%xmm0, %xmm2
	pmovsxbq	%xmm1, %xmm1
	pmovsxbq	%xmm2, %xmm2
	movdqu	%xmm1, (%rdi,%rdx,8)
	movdqu	%xmm2, 16(%rdi,%rdx,8)
	movl	%ecx, %eax
	movzwl	-51(%rbp,%rax), %esi
	movd	%esi, %xmm1
	pshufb	%xmm0, %xmm1
	movzwl	-53(%rbp,%rax), %eax
	movd	%eax, %xmm2
	pshufb	%xmm0, %xmm2
	pmovsxbq	%xmm1, %xmm1
	pmovsxbq	%xmm2, %xmm2
	movdqu	%xmm1, 32(%rdi,%rdx,8)
	movdqu	%xmm2, 48(%rdi,%rdx,8)
	addq	$8, %rdx
	addl	$-8, %ecx
	addq	$-2, %r11
	jne	LBB0_34
	jmp	LBB0_36
LBB0_35:
	xorl	%edx, %edx
LBB0_36:
	testb	$1, %r9b
	je	LBB0_38
## %bb.37:
	movl	%edx, %eax
	notl	%eax
	addl	%r15d, %eax
	movzwl	-51(%rbp,%rax), %ecx
	movd	%ecx, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1,0,0,0]
	pshufb	%xmm1, %xmm0
	movzwl	-53(%rbp,%rax), %eax
	movd	%eax, %xmm2
	pshufb	%xmm1, %xmm2
	pmovsxbq	%xmm0, %xmm0
	pmovsxbq	%xmm2, %xmm1
	movdqu	%xmm0, (%rdi,%rdx,8)
	movdqu	%xmm1, 16(%rdi,%rdx,8)
LBB0_38:
	leaq	(%rdi,%r8,8), %rdi
	cmpq	%r8, %r10
	je	LBB0_27
## %bb.40:
	subl	%r8d, %r15d
LBB0_41:
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_42:                                ## =>This Inner Loop Header: Depth=1
	decl	%r15d
	movsbq	-50(%rbp,%r15), %rax
	movq	%rax, (%r14)
	addq	$8, %r14
	cmpl	%ebx, %r15d
	jae	LBB0_42
LBB0_43:
	movq	$0, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_45
## %bb.44:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_45:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ASCII conversion buffer too small"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.quad	48                              ## 0x30
	.quad	48                              ## 0x30

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_png_ascii_from_fixed           ; -- Begin function png_ascii_from_fixed
	.p2align	2
_png_ascii_from_fixed:                  ; @png_ascii_from_fixed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	w2, #13
	b.lt	LBB0_11
; %bb.1:
	tbz	x3, #63, LBB0_3
; %bb.2:
	mov	w8, #45
	str	x8, [x1], #8
	neg	x3, x3
LBB0_3:
	mov	w8, #-2147483648
	cmp	w3, w8
	b.hi	LBB0_11
; %bb.4:
	cbz	w3, LBB0_13
; %bb.5:
	mov	w20, #0
	mov	w19, #16
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	mov	w9, #-10
	add	x10, sp, #14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x20
	smull	x12, w3, w8
	lsr	x13, x12, #63
	asr	x12, x12, #34
	add	w12, w12, w13
	madd	w13, w12, w9, w3
	add	w14, w13, #48
	strb	w14, [x10, w20, uxtw]
	cmp	w13, #0
	ccmp	w19, #16, #0, gt
	csinc	w19, w19, w20, ne
	add	w20, w20, #1
	add	w11, w3, #9
	mov	x3, x12
	cmp	w11, #18
	b.hi	LBB0_6
; %bb.7:
	cbz	w20, LBB0_13
; %bb.8:
	cmp	w20, #6
	b.lo	LBB0_16
; %bb.9:
	sub	x8, x20, #5
	cmp	x8, #8
	b.hs	LBB0_17
; %bb.10:
	mov	x21, x1
	b	LBB0_21
LBB0_11:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.12:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	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
	add	sp, sp, #80
	b	_png_error
LBB0_13:
	mov	w8, #48
	str	x8, [x1], #8
	mov	x21, x1
LBB0_14:
	str	xzr, [x21]
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.15:
	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
	add	sp, sp, #80
	ret
LBB0_16:
	mov	x21, x1
	cmp	w19, #5
	b.ls	LBB0_24
	b	LBB0_14
LBB0_17:
	and	x10, x8, #0xfffffffffffffff8
	sub	x9, x20, x10
	add	x21, x1, x10, lsl #3
	sub	x11, x20, #5
	and	x11, x11, #0xfffffffffffffff8
	add	x12, x1, #32
	add	x13, sp, #14
	add	x13, x13, x20
	sub	x13, x13, #4
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x13, #2
	add	x15, x13, #3
	ld1.b	{ v0 }[0], [x15]
	ld1.b	{ v0 }[4], [x14]
	add	x14, x13, #1
	ld1.b	{ v1 }[0], [x14]
	ld1.b	{ v1 }[4], [x13]
	sub	x14, x13, #2
	sub	x15, x13, #1
	ld1.b	{ v2 }[0], [x15]
	ld1.b	{ v2 }[4], [x14]
	sub	x14, x13, #4
	sub	x15, x13, #3
	ld1.b	{ v3 }[0], [x15]
	ld1.b	{ v3 }[4], [x14]
	ushll.2d	v0, v0, #0
	shl.2d	v0, v0, #56
	sshr.2d	v0, v0, #56
	ushll.2d	v1, v1, #0
	shl.2d	v1, v1, #56
	sshr.2d	v1, v1, #56
	ushll.2d	v2, v2, #0
	shl.2d	v2, v2, #56
	sshr.2d	v2, v2, #56
	ushll.2d	v3, v3, #0
	shl.2d	v3, v3, #56
	stp	q0, q1, [x12, #-32]
	sshr.2d	v0, v3, #56
	stp	q2, q0, [x12], #64
	sub	x13, x13, #8
	sub	x11, x11, #8
	cbnz	x11, LBB0_18
; %bb.19:
	cmp	x8, x10
	b.eq	LBB0_23
; %bb.20:
	mov	x20, x9
LBB0_21:
	add	x8, sp, #14
	sub	x8, x8, #1
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	x9, [x8, x20]
	sub	x10, x20, #1
	str	x9, [x21], #8
	mov	x20, x10
	cmp	x10, #5
	b.hi	LBB0_22
LBB0_23:
	mov	w20, #5
	cmp	w19, #5
	b.hi	LBB0_14
LBB0_24:
	mov	w8, #46
	mov	x0, x21
	str	x8, [x0], #8
	cmp	w20, #4
	b.hi	LBB0_26
; %bb.25:
	mov	w8, #4
	sub	w8, w8, w20
	lsl	x22, x8, #3
	add	x2, x22, #8
Lloh11:
	adrp	x1, l_.memset_pattern@PAGE
Lloh12:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
	add	x8, x22, x21
	add	x0, x8, #16
LBB0_26:
	cmp	w20, w19
	b.hs	LBB0_28
; %bb.27:
	mov	x21, x0
	b	LBB0_14
LBB0_28:
	neg	w8, w19
	neg	w9, w20
	cmp	w8, w9
	csneg	w8, w9, w19, ls
	add	w10, w8, w20
	cmp	w10, #7
	b.lo	LBB0_32
; %bb.29:
	sub	w9, w19, #1
	sub	w8, w20, #1
	cmp	w9, w8
	csel	w11, w9, w8, lo
	mvn	w11, w11
	add	w11, w20, w11
	cmp	w11, w8
	b.hi	LBB0_32
; %bb.30:
	cmp	w9, w8
	csel	w11, w9, w8, lo
	add	x9, sp, #14
	add	x12, x8, x9
	add	x12, x12, #1
	cmp	x12, x0
	b.ls	LBB0_35
; %bb.31:
	mvn	w11, w11
	add	w11, w20, w11
	sub	x12, x8, x11
	add	x11, x0, w11, uxtw #3
	add	x11, x11, #8
	add	x12, x9, x12
	cmp	x12, x11
	b.hs	LBB0_35
LBB0_32:
	mov	x21, x0
LBB0_33:
	add	x8, sp, #14
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	ldrsb	x9, [x8, w20, uxtw]
	str	x9, [x21], #8
	cmp	w20, w19
	b.hs	LBB0_34
	b	LBB0_14
LBB0_35:
	add	x10, x10, #1
	and	x11, x10, #0x1fffffff8
	add	x21, x0, x11, lsl #3
	sub	w20, w20, w11
	add	x12, x0, #32
	mov	x13, x11
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	add	x14, x9, w8, uxtw
	sub	x15, x14, #1
	ld1.b	{ v0 }[0], [x14]
	ld1.b	{ v0 }[4], [x15]
	sub	x15, x14, #3
	sub	x16, x14, #2
	ld1.b	{ v1 }[0], [x16]
	ld1.b	{ v1 }[4], [x15]
	sub	x15, x14, #5
	sub	x16, x14, #4
	ld1.b	{ v2 }[0], [x16]
	ld1.b	{ v2 }[4], [x15]
	sub	x15, x14, #7
	sub	x14, x14, #6
	ld1.b	{ v3 }[0], [x14]
	ld1.b	{ v3 }[4], [x15]
	ushll.2d	v0, v0, #0
	shl.2d	v0, v0, #56
	sshr.2d	v0, v0, #56
	ushll.2d	v1, v1, #0
	shl.2d	v1, v1, #56
	sshr.2d	v1, v1, #56
	ushll.2d	v2, v2, #0
	shl.2d	v2, v2, #56
	sshr.2d	v2, v2, #56
	ushll.2d	v3, v3, #0
	shl.2d	v3, v3, #56
	stp	q0, q1, [x12, #-32]
	sshr.2d	v0, v3, #56
	stp	q2, q0, [x12], #64
	sub	w8, w8, #8
	sub	x13, x13, #8
	cbnz	x13, LBB0_36
; %bb.37:
	cmp	x10, x11
	b.eq	LBB0_14
	b	LBB0_33
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ASCII conversion buffer too small"

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.quad	48                              ; 0x30
	.quad	48                              ; 0x30

.subsections_via_symbols
