	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PngErrorFunc
_PngErrorFunc:                          ## @PngErrorFunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_HPDF_MemSet
	movb	(%rbx), %al
	movb	%al, -48(%rbp)
	movb	1(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.1:
	movb	%al, -47(%rbp)
	movb	2(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.2:
	movb	%al, -46(%rbp)
	movb	3(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.3:
	movb	%al, -45(%rbp)
	movb	4(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.4:
	movb	%al, -44(%rbp)
	movb	5(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.5:
	movb	%al, -43(%rbp)
	movb	6(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.6:
	movb	%al, -42(%rbp)
	movb	7(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.7:
	movb	%al, -41(%rbp)
	movb	8(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.8:
	movb	%al, -40(%rbp)
	movb	9(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.9:
	movb	%al, -39(%rbp)
	movb	10(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.10:
	movb	%al, -38(%rbp)
	movb	11(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.11:
	movb	%al, -37(%rbp)
	movb	12(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.12:
	movb	%al, -36(%rbp)
	movb	13(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.13:
	movb	%al, -35(%rbp)
	movb	14(%rbx), %al
	cmpb	$32, %al
	je	LBB0_15
## %bb.14:
	movb	%al, -34(%rbp)
LBB0_15:
	movl	%r14d, %edi
	callq	_png_get_error_ptr
	movq	%rax, %rbx
	leaq	-48(%rbp), %rdi
	callq	_HPDF_AToI
	movq	_HPDF_LIBPNG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_HPDF_SetError
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_LIBPNG_ERROR,4,2          ## @HPDF_LIBPNG_ERROR
	.no_dead_strip	_PngErrorFunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PngErrorFunc
_PngErrorFunc:                          ; @PngErrorFunc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #16
	bl	_HPDF_MemSet
	ldrb	w8, [x20]
	strb	w8, [sp, #8]
	ldrb	w8, [x20, #1]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.1:
	strb	w8, [sp, #9]
	ldrb	w8, [x20, #2]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.2:
	strb	w8, [sp, #10]
	ldrb	w8, [x20, #3]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.3:
	strb	w8, [sp, #11]
	ldrb	w8, [x20, #4]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.4:
	strb	w8, [sp, #12]
	ldrb	w8, [x20, #5]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.5:
	strb	w8, [sp, #13]
	ldrb	w8, [x20, #6]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.6:
	strb	w8, [sp, #14]
	ldrb	w8, [x20, #7]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.7:
	strb	w8, [sp, #15]
	ldrb	w8, [x20, #8]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.8:
	strb	w8, [sp, #16]
	ldrb	w8, [x20, #9]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.9:
	strb	w8, [sp, #17]
	ldrb	w8, [x20, #10]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.10:
	strb	w8, [sp, #18]
	ldrb	w8, [x20, #11]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.11:
	strb	w8, [sp, #19]
	ldrb	w8, [x20, #12]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.12:
	strb	w8, [sp, #20]
	ldrb	w8, [x20, #13]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.13:
	strb	w8, [sp, #21]
	ldrb	w8, [x20, #14]
	cmp	w8, #32
	b.eq	LBB0_15
; %bb.14:
	strb	w8, [sp, #22]
LBB0_15:
	mov	x0, x19
	bl	_png_get_error_ptr
	mov	x19, x0
	add	x0, sp, #8
	bl	_HPDF_AToI
	mov	x2, x0
Lloh3:
	adrp	x8, _HPDF_LIBPNG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HPDF_LIBPNG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_HPDF_SetError
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_LIBPNG_ERROR,4,2          ; @HPDF_LIBPNG_ERROR
	.no_dead_strip	_PngErrorFunc
.subsections_via_symbols
