	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_XYZ_normalize
_png_XYZ_normalize:                     ## @png_XYZ_normalize
	.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	(%rdi), %rdx
	movl	$1, %r14d
	testq	%rdx, %rdx
	js	LBB0_22
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	testq	%rax, %rax
	js	LBB0_22
## %bb.2:
	movq	16(%rbx), %r15
	testq	%r15, %r15
	js	LBB0_22
## %bb.3:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	js	LBB0_22
## %bb.4:
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	js	LBB0_22
## %bb.5:
	movq	40(%rbx), %r10
	testq	%r10, %r10
	js	LBB0_22
## %bb.6:
	cmpq	$0, 48(%rbx)
	js	LBB0_22
## %bb.7:
	cmpq	$0, 56(%rbx)
	js	LBB0_22
## %bb.8:
	cmpq	$0, 64(%rbx)
	js	LBB0_22
## %bb.9:
	movabsq	$-4294967296, %r8               ## imm = 0xFFFFFFFF00000000
	movabsq	$9223372032559808512, %r9       ## imm = 0x7FFFFFFF00000000
	movq	%rdx, %rcx
	imulq	%r8, %rcx
	addq	%r9, %rcx
	sarq	$32, %rcx
	cmpq	%rdi, %rcx
	jl	LBB0_22
## %bb.10:
	addq	%rdx, %rax
	imulq	%rax, %r8
	addq	%r9, %r8
	sarq	$32, %r8
	cmpq	%r10, %r8
	jl	LBB0_22
## %bb.11:
	addl	%eax, %r15d
	movq	_PNG_FP_1@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	cmpl	%r15d, %edx
	jne	LBB0_12
LBB0_21:
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_12:
	leaq	24(%rbx), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.14:
	leaq	48(%rbx), %rdi
	movl	(%rdi), %esi
	movl	(%r12), %edx
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:
	leaq	32(%rbx), %rdi
	movl	(%rdi), %esi
	movl	(%r12), %edx
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:
	leaq	8(%rbx), %rdi
	movl	(%rdi), %esi
	movl	(%r12), %edx
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.17:
	leaq	56(%rbx), %rdi
	movl	(%rdi), %esi
	movl	(%r12), %edx
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:
	leaq	40(%rbx), %rdi
	movl	(%rdi), %esi
	movl	(%r12), %edx
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:
	leaq	16(%rbx), %rdi
	movl	(%rdi), %esi
	movl	(%r12), %edx
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	addq	$64, %rbx
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_png_muldiv
	testq	%rax, %rax
	jne	LBB0_21
LBB0_22:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FP_1,4,2                   ## @PNG_FP_1
	.no_dead_strip	_png_XYZ_normalize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_XYZ_normalize
_png_XYZ_normalize:                     ; @png_XYZ_normalize
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x9, [x0]
	tbnz	x9, #63, LBB0_11
; %bb.1:
	mov	x26, x0
	mov	x23, x0
	ldr	x10, [x23, #8]!
	tbnz	x10, #63, LBB0_11
; %bb.2:
	mov	x19, x26
	ldr	x8, [x19, #16]!
	tbnz	x8, #63, LBB0_11
; %bb.3:
	mov	x0, x26
	ldr	x1, [x0, #24]!
	tbnz	x1, #63, LBB0_11
; %bb.4:
	mov	x25, x26
	ldr	x12, [x25, #32]!
	tbnz	x12, #63, LBB0_11
; %bb.5:
	mov	x21, x26
	ldr	x11, [x21, #40]!
	tbnz	x11, #63, LBB0_11
; %bb.6:
	mov	x27, x26
	ldr	x13, [x27, #48]!
	tbnz	x13, #63, LBB0_11
; %bb.7:
	mov	x24, x26
	ldr	x13, [x24, #56]!
	tbnz	x13, #63, LBB0_11
; %bb.8:
	mov	x20, x26
	ldr	x13, [x20, #64]!
	tbnz	x13, #63, LBB0_11
; %bb.9:
	mov	x13, #9223372032559808512
	sub	x14, x13, x9, lsl #32
	cmp	x12, x14, asr #32
	b.gt	LBB0_11
; %bb.10:
	add	x9, x10, x9
	sub	x10, x13, x9, lsl #32
	cmp	x11, x10, asr #32
	b.le	LBB0_13
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh0:
	adrp	x28, _PNG_FP_1@GOTPAGE
Lloh1:
	ldr	x28, [x28, _PNG_FP_1@GOTPAGEOFF]
	ldr	w2, [x28]
	add	w22, w8, w9
	cmp	w2, w22
	b.ne	LBB0_15
LBB0_14:
	mov	w0, #0
	b	LBB0_12
LBB0_15:
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.16:
	ldr	w1, [x26]
	ldr	w2, [x28]
	mov	x0, x26
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.17:
	ldr	w1, [x27]
	ldr	w2, [x28]
	mov	x0, x27
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.18:
	ldr	w1, [x25]
	ldr	w2, [x28]
	mov	x0, x25
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.19:
	ldr	w1, [x23]
	ldr	w2, [x28]
	mov	x0, x23
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.20:
	ldr	w1, [x24]
	ldr	w2, [x28]
	mov	x0, x24
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.21:
	ldr	w1, [x21]
	ldr	w2, [x28]
	mov	x0, x21
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.22:
	ldr	w1, [x19]
	ldr	w2, [x28]
	mov	x0, x19
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_11
; %bb.23:
	ldr	w1, [x20]
	ldr	w2, [x28]
	mov	x0, x20
	mov	x3, x22
	bl	_png_muldiv
	cbnz	x0, LBB0_14
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FP_1,4,2                   ; @PNG_FP_1
	.no_dead_strip	_png_XYZ_normalize
.subsections_via_symbols
