	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function png_xy_from_XYZ
_png_xy_from_XYZ:                       ## @png_xy_from_XYZ
	.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	%rsi, %rbx
	movq	56(%rsi), %rsi
	movq	48(%rbx), %r12
	addq	%rsi, %r12
	addq	64(%rbx), %r12
	movq	%rdi, %r15
	addq	$28, %rdi
	movq	_PNG_FP_1@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r12, %rcx
	callq	_png_muldiv
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	leaq	24(%r15), %rdi
	movq	48(%rbx), %rsi
	movl	(%r13), %edx
	movq	%r12, %rcx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	56(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	32(%rbx), %rsi
	movq	48(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rax
	movq	24(%rbx), %r13
	addq	%rsi, %r13
	addq	40(%rbx), %r13
	leaq	20(%r15), %rdi
	movl	(%rax), %edx
	movq	%r13, %rcx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	leaq	16(%r15), %rdi
	movq	24(%rbx), %rsi
	movq	_PNG_FP_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rcx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	32(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	24(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rsi
	movq	(%rbx), %r14
	addq	%rsi, %r14
	addq	16(%rbx), %r14
	leaq	12(%r15), %rdi
	movq	_PNG_FP_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	leaq	8(%r15), %rdi
	movq	(%rbx), %rsi
	movq	_PNG_FP_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_png_muldiv
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	addq	%r12, %r13
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	8(%rbx), %rsi
	addq	%r14, %r13
	movq	(%rbx), %rbx
	leaq	4(%r15), %rdi
	movq	_PNG_FP_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rcx
	callq	_png_muldiv
	testq	%rax, %rax
	movl	$1, %r14d
	je	LBB0_10
## %bb.7:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	%rbx, %rsi
	movq	_PNG_FP_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r13, %rcx
	callq	_png_muldiv
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
	jmp	LBB0_10
LBB0_9:
	movl	$1, %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PNG_FP_1,4,2                   ## @PNG_FP_1
	.no_dead_strip	_png_xy_from_XYZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function png_xy_from_XYZ
_png_xy_from_XYZ:                       ; @png_xy_from_XYZ
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x1, [x1, #56]
	ldr	x8, [x20, #48]
	ldr	x9, [x20, #64]
	add	x8, x8, x1
	add	x21, x8, x9
	add	x0, x0, #28
Lloh0:
	adrp	x24, _PNG_FP_1@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PNG_FP_1@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x3, x21
	bl	_png_muldiv
	cbz	x0, LBB0_8
; %bb.1:
	add	x0, x19, #24
	ldr	x1, [x20, #48]
	ldr	w2, [x24]
	mov	x3, x21
	bl	_png_muldiv
	cbz	x0, LBB0_8
; %bb.2:
	ldp	x25, x26, [x20, #48]
	ldp	x8, x1, [x20, #24]
	ldr	x9, [x20, #40]
	add	x8, x8, x1
	add	x22, x8, x9
	add	x0, x19, #20
	ldr	w2, [x24]
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_8
; %bb.3:
	add	x0, x19, #16
	ldr	x1, [x20, #24]
	ldr	w2, [x24]
	mov	x3, x22
	bl	_png_muldiv
	cbz	x0, LBB0_8
; %bb.4:
	ldp	x27, x28, [x20, #24]
	ldp	x8, x1, [x20]
	ldr	x9, [x20, #16]
	add	x8, x8, x1
	add	x23, x8, x9
	add	x0, x19, #12
	ldr	w2, [x24]
	mov	x3, x23
	bl	_png_muldiv
	cbz	x0, LBB0_8
; %bb.5:
	add	x0, x19, #8
	ldr	x1, [x20]
	ldr	w2, [x24]
	mov	x3, x23
	bl	_png_muldiv
	cbz	x0, LBB0_8
; %bb.6:
	add	x8, x22, x21
	add	x21, x8, x23
	ldp	x20, x8, [x20]
	add	x9, x28, x26
	add	x1, x9, x8
	add	x0, x19, #4
	ldr	w2, [x24]
	mov	x3, x21
	bl	_png_muldiv
	cbz	x0, LBB0_8
; %bb.7:
	add	x8, x27, x25
	add	x1, x8, x20
	ldr	w2, [x24]
	mov	x0, x19
	mov	x3, x21
	bl	_png_muldiv
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PNG_FP_1,4,2                   ; @PNG_FP_1
	.no_dead_strip	_png_xy_from_XYZ
.subsections_via_symbols
