	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LoadPngData
_LoadPngData:                           ## @LoadPngData
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	_PNG_LIBPNG_VER_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	movq	_PngErrorFunc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, %edx
	callq	_png_create_read_struct
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_png_create_info_struct
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movq	%rax, %rbx
	movq	_HPDF_PNG_BYTES_TO_CHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_png_set_sig_bytes
	movl	_PngReadFunc@GOTPCREL(%rip), %edx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_png_set_read_fn
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_png_read_info
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_HPDF_OK@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_19
## %bb.3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	$0, 16(%rsp)
	leaq	-56(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	leaq	-60(%rbp), %r8
	leaq	-64(%rbp), %r9
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_png_get_IHDR
	cmpl	$16, -60(%rbp)
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_png_set_strip_16
LBB0_5:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_png_read_update_info
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_19
## %bb.6:
	testq	%r13, %r13
	je	LBB0_23
## %bb.7:
	movq	_PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rcx
	movl	-64(%rbp), %eax
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.8:
	movq	_PNG_INFO_tRNS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_png_get_valid
	testl	%eax, %eax
	je	LBB0_24
## %bb.9:
	leaq	-96(%rbp), %rdx
	leaq	-92(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_png_get_tRNS
	testl	%eax, %eax
	je	LBB0_24
## %bb.10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movq	%r13, %rsi
	callq	_HPDF_DictStream_New
	testq	%rax, %rax
	je	LBB0_45
## %bb.11:
	movq	%rax, %r13
	movq	_HPDF_OSUBCLASS_XOBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r13)
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r15
	addq	%r14, %r15
	movl	-56(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r14
	addq	%r15, %r14
	movl	-52(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r15
	addq	%r14, %r15
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r14
	addq	%r15, %r14
	movl	-60(%rbp), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddNumber
	addq	%r14, %rax
	movq	_HPDF_OK@GOTPCREL(%rip), %r14
	movq	_HPDF_INVALID_PNG_IMAGE@GOTPCREL(%rip), %r15
	cmpq	(%r14), %rax
	jne	LBB0_59
## %bb.12:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movl	-52(%rbp), %esi
	imull	-56(%rbp), %esi
	callq	_HPDF_GetMem
	testl	%eax, %eax
	je	LBB0_54
## %bb.13:
	movl	%eax, %r14d
	movl	-96(%rbp), %r8d
	movl	-92(%rbp), %r9d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_ReadTransparentPaletteData
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_55
## %bb.14:
	movl	20(%r13), %edi
	movl	-52(%rbp), %edx
	imull	-56(%rbp), %edx
	movl	%r14d, %esi
	callq	_HPDF_Stream_Write
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movl	%r14d, %esi
	callq	_HPDF_FreeMem
	cmpq	%r15, -88(%rbp)                 ## 8-byte Folded Reload
	movq	_HPDF_OK@GOTPCREL(%rip), %r14
	jne	LBB0_58
## %bb.15:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_CreatePallet
	movl	-56(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddNumber
	movl	-52(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddNumber
	movl	-60(%rbp), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddNumber
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_HPDF_Dict_Add
	jmp	LBB0_51
LBB0_16:
	movq	(%rbx), %rdi
	movq	_HPDF_FAILD_TO_ALLOC_MEM@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	xorl	%edx, %edx
	callq	_HPDF_SetError
	movq	(%rbx), %r15
	jmp	LBB0_22
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	_HPDF_FAILD_TO_ALLOC_MEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	callq	_HPDF_SetError
LBB0_18:
	movq	_HPDF_OK@GOTPCREL(%rip), %r14
LBB0_19:
	leaq	-80(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_png_destroy_read_struct
	cmpq	(%r14), %r15
	jne	LBB0_22
## %bb.20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
LBB0_21:
	movq	(%rax), %r15
LBB0_22:
	movq	%r15, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	-64(%rbp), %eax
	jmp	LBB0_32
LBB0_24:
	movl	-64(%rbp), %eax
LBB0_25:
	movq	_PNG_COLOR_MASK_ALPHA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
## %bb.26:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movq	%r13, %rsi
	callq	_HPDF_DictStream_New
	testq	%rax, %rax
	je	LBB0_41
## %bb.27:
	movq	%rax, %r13
	movq	_HPDF_OSUBCLASS_XOBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r13)
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r14
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r15
	addq	%r14, %r15
	movl	-56(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r14
	addq	%r15, %r14
	movl	-52(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddNumber
	movq	%rax, %r15
	addq	%r14, %r15
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddName
	movq	%rax, %r14
	addq	%r15, %r14
	movl	-60(%rbp), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddNumber
	addq	%r14, %rax
	movq	_HPDF_OK@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_44
## %bb.28:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	16(%r15), %edi
	movl	-52(%rbp), %esi
	imull	-56(%rbp), %esi
	callq	_HPDF_GetMem
	testl	%eax, %eax
	je	LBB0_52
## %bb.29:
	movl	%eax, %r14d
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_ReadTransparentPngData
	movq	_HPDF_OK@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_53
## %bb.30:
	movl	20(%r13), %edi
	movl	-52(%rbp), %edx
	imull	-56(%rbp), %edx
	movl	%r14d, %esi
	callq	_HPDF_Stream_Write
	movq	%rax, %rbx
	movq	(%r12), %r12
	movl	16(%r15), %edi
	movl	%r14d, %esi
	callq	_HPDF_FreeMem
	cmpq	%r12, %rbx
	jne	LBB0_56
## %bb.31:
	movl	-64(%rbp), %eax
	movq	_PNG_COLOR_TYPE_GRAY_ALPHA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	leaq	L_.str.11(%rip), %rdx
	leaq	L_.str.8(%rip), %rax
	cmoveq	%rax, %rdx
	leaq	L_.str.7(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddName
	movl	-56(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddNumber
	movl	-52(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddNumber
	movl	-60(%rbp), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%r15, %rdi
	callq	_HPDF_Dict_AddNumber
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_HPDF_Dict_Add
	leaq	-80(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_png_destroy_read_struct
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_32:
	movq	_PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_34
## %bb.33:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_CreatePallet
	jmp	LBB0_38
LBB0_34:
	movq	_PNG_COLOR_TYPE_GRAY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_36
## %bb.35:
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_37
LBB0_36:
	leaq	L_.str.7(%rip), %rsi
	leaq	L_.str.11(%rip), %rdx
LBB0_37:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_HPDF_Dict_AddName
LBB0_38:
	movq	%rax, %r15
	cmpq	(%r14), %rax
	jne	LBB0_19
## %bb.39:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_42
## %bb.40:
	movq	_PngBeforeWrite@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 12(%rcx)
	movq	_PngAfterWrite@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	jmp	LBB0_48
LBB0_41:
	movq	_HPDF_FAILD_TO_ALLOC_MEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_19
LBB0_42:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_png_get_interlace_type
	movq	_PNG_INTERLACE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_46
## %bb.43:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_ReadPngData
	jmp	LBB0_47
LBB0_44:
	movq	%r13, %rdi
	callq	_HPDF_Dict_Free
	movq	_HPDF_INVALID_PNG_IMAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_19
LBB0_45:
	movq	_HPDF_FAILD_TO_ALLOC_MEM@GOTPCREL(%rip), %r15
	jmp	LBB0_60
LBB0_46:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_ReadPngData_Interlaced
LBB0_47:
	movq	%rax, %r15
	cmpq	(%r14), %rax
	jne	LBB0_19
LBB0_48:
	movl	-56(%rbp), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddNumber
	cmpq	(%r14), %rax
	jne	LBB0_19
## %bb.49:
	movl	-52(%rbp), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddNumber
	cmpq	(%r14), %rax
	jne	LBB0_19
## %bb.50:
	movl	-60(%rbp), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_HPDF_Dict_AddNumber
	cmpq	(%r14), %rax
	jne	LBB0_19
LBB0_51:
	leaq	-80(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_png_destroy_read_struct
	movq	(%r14), %r15
	jmp	LBB0_22
LBB0_52:
	movq	%r13, %rdi
	callq	_HPDF_Dict_Free
	movq	_HPDF_FAILD_TO_ALLOC_MEM@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_53:
	movl	16(%r15), %edi
	movl	%r14d, %esi
	callq	_HPDF_FreeMem
	movq	%r13, %rdi
	callq	_HPDF_Dict_Free
	movq	_HPDF_INVALID_PNG_IMAGE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r12, %r14
	jmp	LBB0_19
LBB0_54:
	movq	_HPDF_FAILD_TO_ALLOC_MEM@GOTPCREL(%rip), %r15
	movq	_HPDF_OK@GOTPCREL(%rip), %r14
	jmp	LBB0_59
LBB0_55:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edi
	movl	%r14d, %esi
	movq	%rcx, %r14
	callq	_HPDF_FreeMem
	jmp	LBB0_59
LBB0_56:
	movq	%r13, %rdi
	callq	_HPDF_Dict_Free
	movq	_HPDF_FILE_IO_ERROR@GOTPCREL(%rip), %rax
LBB0_57:
	movq	(%rax), %r15
	jmp	LBB0_18
LBB0_58:
	movq	_HPDF_FILE_IO_ERROR@GOTPCREL(%rip), %r15
LBB0_59:
	movq	%r13, %rdi
	callq	_HPDF_Dict_Free
LBB0_60:
	movq	(%r15), %r15
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_Image_LoadPngImage\n"

	.comm	_PNG_LIBPNG_VER_STRING,4,2      ## @PNG_LIBPNG_VER_STRING
	.comm	_PngErrorFunc,4,2               ## @PngErrorFunc
	.comm	_HPDF_FAILD_TO_ALLOC_MEM,8,3    ## @HPDF_FAILD_TO_ALLOC_MEM
	.comm	_HPDF_PNG_BYTES_TO_CHECK,4,2    ## @HPDF_PNG_BYTES_TO_CHECK
	.comm	_PngReadFunc,4,2                ## @PngReadFunc
	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ## @PNG_COLOR_TYPE_PALETTE
	.comm	_PNG_INFO_tRNS,4,2              ## @PNG_INFO_tRNS
	.comm	_HPDF_OSUBCLASS_XOBJECT,4,2     ## @HPDF_OSUBCLASS_XOBJECT
L_.str.1:                               ## @.str.1
	.asciz	"Type"

L_.str.2:                               ## @.str.2
	.asciz	"XObject"

L_.str.3:                               ## @.str.3
	.asciz	"Subtype"

L_.str.4:                               ## @.str.4
	.asciz	"Image"

L_.str.5:                               ## @.str.5
	.asciz	"Width"

L_.str.6:                               ## @.str.6
	.asciz	"Height"

L_.str.7:                               ## @.str.7
	.asciz	"ColorSpace"

L_.str.8:                               ## @.str.8
	.asciz	"DeviceGray"

L_.str.9:                               ## @.str.9
	.asciz	"BitsPerComponent"

	.comm	_HPDF_INVALID_PNG_IMAGE,8,3     ## @HPDF_INVALID_PNG_IMAGE
	.comm	_HPDF_FILE_IO_ERROR,8,3         ## @HPDF_FILE_IO_ERROR
L_.str.10:                              ## @.str.10
	.asciz	"SMask"

	.comm	_PNG_COLOR_MASK_ALPHA,4,2       ## @PNG_COLOR_MASK_ALPHA
	.comm	_PNG_COLOR_TYPE_GRAY_ALPHA,4,2  ## @PNG_COLOR_TYPE_GRAY_ALPHA
L_.str.11:                              ## @.str.11
	.asciz	"DeviceRGB"

	.comm	_PNG_COLOR_TYPE_GRAY,4,2        ## @PNG_COLOR_TYPE_GRAY
	.comm	_PngBeforeWrite,4,2             ## @PngBeforeWrite
	.comm	_PngAfterWrite,4,2              ## @PngAfterWrite
	.comm	_PNG_INTERLACE_NONE,8,3         ## @PNG_INTERLACE_NONE
	.no_dead_strip	_LoadPngData
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LoadPngData
_LoadPngData:                           ; @LoadPngData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x23, x3
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _HPDF_OK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _HPDF_OK@GOTPAGEOFF]
	ldr	x22, [x26]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
Lloh4:
	adrp	x8, _PNG_LIBPNG_VER_STRING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PNG_LIBPNG_VER_STRING@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x1, [x19]
Lloh7:
	adrp	x8, _PngErrorFunc@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PngErrorFunc@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x3, x2
	bl	_png_create_read_struct
	str	x0, [sp, #24]
	cbz	x0, LBB0_16
; %bb.1:
	mov	x20, x0
	bl	_png_create_info_struct
	str	x0, [sp, #16]
	cbz	x0, LBB0_17
; %bb.2:
	mov	x21, x0
Lloh10:
	adrp	x8, _HPDF_PNG_BYTES_TO_CHECK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HPDF_PNG_BYTES_TO_CHECK@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_png_set_sig_bytes
Lloh13:
	adrp	x2, _PngReadFunc@GOTPAGE
Lloh14:
	ldr	x2, [x2, _PngReadFunc@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x25
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_png_set_read_fn
	mov	x0, x20
	mov	x1, x21
	bl	_png_read_info
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.3:
	str	xzr, [sp]
	add	x2, sp, #44
	add	x3, sp, #40
	add	x4, sp, #36
	add	x5, sp, #32
	mov	x0, x20
	mov	x1, x21
	mov	x6, #0
	mov	x7, #0
	bl	_png_get_IHDR
	ldr	w8, [sp, #36]
	cmp	w8, #16
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_png_set_strip_16
LBB0_5:
	mov	x0, x20
	mov	x1, x21
	bl	_png_read_update_info
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.6:
Lloh15:
	adrp	x22, _PNG_COLOR_TYPE_PALETTE@GOTPAGE
Lloh16:
	ldr	x22, [x22, _PNG_COLOR_TYPE_PALETTE@GOTPAGEOFF]
	cbz	x24, LBB0_21
; %bb.7:
	ldr	w9, [x22]
	ldr	w8, [sp, #32]
	tst	w8, w9
	b.eq	LBB0_23
; %bb.8:
Lloh17:
	adrp	x8, _PNG_INFO_tRNS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PNG_INFO_tRNS@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_png_get_valid
	cbz	w0, LBB0_22
; %bb.9:
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	x4, #0
	bl	_png_get_tRNS
	cbz	w0, LBB0_22
; %bb.10:
	ldr	w0, [x19, #16]
	mov	x1, x24
	bl	_HPDF_DictStream_New
	cbz	x0, LBB0_42
; %bb.11:
	mov	x22, x0
Lloh20:
	adrp	x8, _HPDF_OSUBCLASS_XOBJECT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HPDF_OSUBCLASS_XOBJECT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
	str	w8, [x0, #24]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh25:
	adrp	x2, l_.str.2@PAGE
Lloh26:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_HPDF_Dict_AddName
	mov	x23, x0
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh29:
	adrp	x2, l_.str.4@PAGE
Lloh30:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddName
	add	x23, x0, x23
	ldr	w2, [sp, #44]
Lloh31:
	adrp	x1, l_.str.5@PAGE
Lloh32:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddNumber
	add	x23, x23, x0
	ldr	w2, [sp, #40]
Lloh33:
	adrp	x1, l_.str.6@PAGE
Lloh34:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddNumber
	add	x23, x23, x0
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh37:
	adrp	x2, l_.str.8@PAGE
Lloh38:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddName
	add	x23, x23, x0
	ldr	w2, [sp, #36]
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddNumber
	ldr	x8, [x26]
	add	x9, x23, x0
	cmp	x9, x8
	b.ne	LBB0_55
; %bb.12:
	ldr	w0, [x19, #16]
	ldp	w9, w8, [sp, #40]
	mul	w1, w9, w8
	bl	_HPDF_GetMem
	cbz	w0, LBB0_53
; %bb.13:
	mov	x23, x0
	ldp	w5, w4, [sp, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x23
	bl	_ReadTransparentPaletteData
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_54
; %bb.14:
	ldr	w0, [x22, #20]
	ldp	w9, w8, [sp, #40]
	mul	w2, w9, w8
	mov	x1, x23
	bl	_HPDF_Stream_Write
	mov	x24, x0
	ldr	x25, [x26]
	ldr	w0, [x19, #16]
	mov	x1, x23
	bl	_HPDF_FreeMem
	cmp	x24, x25
	b.ne	LBB0_59
; %bb.15:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_CreatePallet
	b	LBB0_30
LBB0_16:
	ldr	x0, [x19]
Lloh41:
	adrp	x19, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGE
Lloh42:
	ldr	x19, [x19, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGEOFF]
	ldr	x1, [x19]
	mov	w2, #0
	bl	_HPDF_SetError
	ldr	x22, [x19]
	b	LBB0_20
LBB0_17:
	ldr	x0, [x19]
Lloh43:
	adrp	x8, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGE
Lloh44:
	ldr	x8, [x8, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGEOFF]
Lloh45:
	ldr	x1, [x8]
	mov	w2, #0
	bl	_HPDF_SetError
LBB0_18:
	add	x0, sp, #24
	add	x1, sp, #16
	mov	x2, #0
	bl	_png_destroy_read_struct
	ldr	x8, [x26]
	cmp	x22, x8
	b.ne	LBB0_20
; %bb.19:
	ldr	x8, [x19]
	ldr	x22, [x8]
LBB0_20:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
	ldr	w8, [sp, #32]
	b	LBB0_31
LBB0_22:
	ldr	w8, [sp, #32]
LBB0_23:
Lloh46:
	adrp	x9, _PNG_COLOR_MASK_ALPHA@GOTPAGE
Lloh47:
	ldr	x9, [x9, _PNG_COLOR_MASK_ALPHA@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_31
; %bb.24:
	ldr	w0, [x19, #16]
	mov	x1, x24
	bl	_HPDF_DictStream_New
	cbz	x0, LBB0_50
; %bb.25:
	mov	x22, x0
Lloh49:
	adrp	x8, _HPDF_OSUBCLASS_XOBJECT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _HPDF_OSUBCLASS_XOBJECT@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
	orr	w8, w9, w8
	str	w8, [x0, #24]
Lloh52:
	adrp	x1, l_.str.1@PAGE
Lloh53:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh54:
	adrp	x2, l_.str.2@PAGE
Lloh55:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_HPDF_Dict_AddName
	mov	x23, x0
Lloh56:
	adrp	x1, l_.str.3@PAGE
Lloh57:
	add	x1, x1, l_.str.3@PAGEOFF
Lloh58:
	adrp	x2, l_.str.4@PAGE
Lloh59:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddName
	add	x23, x0, x23
	ldr	w2, [sp, #44]
Lloh60:
	adrp	x1, l_.str.5@PAGE
Lloh61:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddNumber
	add	x23, x23, x0
	ldr	w2, [sp, #40]
Lloh62:
	adrp	x1, l_.str.6@PAGE
Lloh63:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddNumber
	add	x24, x23, x0
Lloh64:
	adrp	x1, l_.str.7@PAGE
Lloh65:
	add	x1, x1, l_.str.7@PAGEOFF
Lloh66:
	adrp	x23, l_.str.8@PAGE
Lloh67:
	add	x23, x23, l_.str.8@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_HPDF_Dict_AddName
	add	x24, x24, x0
	ldr	w2, [sp, #36]
Lloh68:
	adrp	x1, l_.str.9@PAGE
Lloh69:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_HPDF_Dict_AddNumber
	ldr	x8, [x26]
	add	x9, x24, x0
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.26:
	ldr	w0, [x19, #16]
	ldp	w9, w8, [sp, #40]
	mul	w1, w9, w8
	bl	_HPDF_GetMem
	cbz	w0, LBB0_49
; %bb.27:
	mov	x24, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x24
	bl	_ReadTransparentPngData
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_51
; %bb.28:
	ldr	w0, [x22, #20]
	ldp	w9, w8, [sp, #40]
	mul	w2, w9, w8
	mov	x1, x24
	bl	_HPDF_Stream_Write
	mov	x20, x0
	ldr	x21, [x26]
	ldr	w0, [x19, #16]
	mov	x1, x24
	bl	_HPDF_FreeMem
	cmp	x20, x21
	b.ne	LBB0_58
; %bb.29:
Lloh70:
	adrp	x8, _PNG_COLOR_TYPE_GRAY_ALPHA@GOTPAGE
Lloh71:
	ldr	x8, [x8, _PNG_COLOR_TYPE_GRAY_ALPHA@GOTPAGEOFF]
	ldr	w9, [sp, #32]
Lloh72:
	ldr	w8, [x8]
Lloh73:
	adrp	x10, l_.str.11@PAGE
Lloh74:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	w9, w8
	csel	x2, x23, x10, eq
Lloh75:
	adrp	x1, l_.str.7@PAGE
Lloh76:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddName
LBB0_30:
	ldr	w2, [sp, #44]
Lloh77:
	adrp	x1, l_.str.5@PAGE
Lloh78:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddNumber
	ldr	w2, [sp, #40]
Lloh79:
	adrp	x1, l_.str.6@PAGE
Lloh80:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddNumber
	ldr	w2, [sp, #36]
Lloh81:
	adrp	x1, l_.str.9@PAGE
Lloh82:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddNumber
Lloh83:
	adrp	x1, l_.str.10@PAGE
Lloh84:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_HPDF_Dict_Add
	b	LBB0_48
LBB0_31:
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_33
; %bb.32:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_CreatePallet
	b	LBB0_37
LBB0_33:
Lloh85:
	adrp	x9, _PNG_COLOR_TYPE_GRAY@GOTPAGE
Lloh86:
	ldr	x9, [x9, _PNG_COLOR_TYPE_GRAY@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
Lloh88:
	adrp	x1, l_.str.7@PAGE
Lloh89:
	add	x1, x1, l_.str.7@PAGEOFF
	cmp	w8, w9
	b.ne	LBB0_35
; %bb.34:
Lloh90:
	adrp	x2, l_.str.8@PAGE
Lloh91:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_36
LBB0_35:
Lloh92:
	adrp	x2, l_.str.11@PAGE
Lloh93:
	add	x2, x2, l_.str.11@PAGEOFF
LBB0_36:
	mov	x0, x19
	bl	_HPDF_Dict_AddName
LBB0_37:
	mov	x22, x0
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.38:
	cbz	x23, LBB0_40
; %bb.39:
Lloh94:
	adrp	x8, _PngBeforeWrite@GOTPAGE
Lloh95:
	ldr	x8, [x8, _PngBeforeWrite@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
Lloh97:
	adrp	x9, _PngAfterWrite@GOTPAGE
Lloh98:
	ldr	x9, [x9, _PngAfterWrite@GOTPAGEOFF]
Lloh99:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	b	LBB0_45
LBB0_40:
	mov	x0, x20
	mov	x1, x21
	bl	_png_get_interlace_type
Lloh100:
	adrp	x8, _PNG_INTERLACE_NONE@GOTPAGE
Lloh101:
	ldr	x8, [x8, _PNG_INTERLACE_NONE@GOTPAGEOFF]
Lloh102:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_43
; %bb.41:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ReadPngData
	b	LBB0_44
LBB0_42:
Lloh103:
	adrp	x20, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGE
Lloh104:
	ldr	x20, [x20, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGEOFF]
	b	LBB0_57
LBB0_43:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_ReadPngData_Interlaced
LBB0_44:
	mov	x22, x0
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_18
LBB0_45:
	ldr	w2, [sp, #44]
Lloh105:
	adrp	x1, l_.str.5@PAGE
Lloh106:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddNumber
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.46:
	ldr	w2, [sp, #40]
Lloh107:
	adrp	x1, l_.str.6@PAGE
Lloh108:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddNumber
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.47:
	ldr	w2, [sp, #36]
Lloh109:
	adrp	x1, l_.str.9@PAGE
Lloh110:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_AddNumber
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_18
LBB0_48:
	add	x0, sp, #24
	add	x1, sp, #16
	mov	x2, #0
	bl	_png_destroy_read_struct
	ldr	x22, [x26]
	b	LBB0_20
LBB0_49:
	mov	x0, x22
	bl	_HPDF_Dict_Free
LBB0_50:
Lloh111:
	adrp	x8, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGE
Lloh112:
	ldr	x8, [x8, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGEOFF]
Lloh113:
	ldr	x22, [x8]
	b	LBB0_18
LBB0_51:
	ldr	w0, [x19, #16]
	mov	x1, x24
	bl	_HPDF_FreeMem
LBB0_52:
	mov	x0, x22
	bl	_HPDF_Dict_Free
Lloh114:
	adrp	x8, _HPDF_INVALID_PNG_IMAGE@GOTPAGE
Lloh115:
	ldr	x8, [x8, _HPDF_INVALID_PNG_IMAGE@GOTPAGEOFF]
Lloh116:
	ldr	x22, [x8]
	b	LBB0_18
LBB0_53:
Lloh117:
	adrp	x20, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGE
Lloh118:
	ldr	x20, [x20, _HPDF_FAILD_TO_ALLOC_MEM@GOTPAGEOFF]
	b	LBB0_56
LBB0_54:
	ldr	w0, [x19, #16]
	mov	x1, x23
	bl	_HPDF_FreeMem
LBB0_55:
Lloh119:
	adrp	x20, _HPDF_INVALID_PNG_IMAGE@GOTPAGE
Lloh120:
	ldr	x20, [x20, _HPDF_INVALID_PNG_IMAGE@GOTPAGEOFF]
LBB0_56:
	mov	x0, x22
	bl	_HPDF_Dict_Free
LBB0_57:
	ldr	x22, [x20]
	b	LBB0_18
LBB0_58:
	mov	x0, x22
	bl	_HPDF_Dict_Free
Lloh121:
	adrp	x8, _HPDF_FILE_IO_ERROR@GOTPAGE
Lloh122:
	ldr	x8, [x8, _HPDF_FILE_IO_ERROR@GOTPAGEOFF]
Lloh123:
	ldr	x22, [x8]
	b	LBB0_18
LBB0_59:
Lloh124:
	adrp	x20, _HPDF_FILE_IO_ERROR@GOTPAGE
Lloh125:
	ldr	x20, [x20, _HPDF_FILE_IO_ERROR@GOTPAGEOFF]
	b	LBB0_56
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh124, Lloh125
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_Image_LoadPngImage\n"

	.comm	_PNG_LIBPNG_VER_STRING,4,2      ; @PNG_LIBPNG_VER_STRING
	.comm	_PngErrorFunc,4,2               ; @PngErrorFunc
	.comm	_HPDF_FAILD_TO_ALLOC_MEM,8,3    ; @HPDF_FAILD_TO_ALLOC_MEM
	.comm	_HPDF_PNG_BYTES_TO_CHECK,4,2    ; @HPDF_PNG_BYTES_TO_CHECK
	.comm	_PngReadFunc,4,2                ; @PngReadFunc
	.comm	_PNG_COLOR_TYPE_PALETTE,4,2     ; @PNG_COLOR_TYPE_PALETTE
	.comm	_PNG_INFO_tRNS,4,2              ; @PNG_INFO_tRNS
	.comm	_HPDF_OSUBCLASS_XOBJECT,4,2     ; @HPDF_OSUBCLASS_XOBJECT
l_.str.1:                               ; @.str.1
	.asciz	"Type"

l_.str.2:                               ; @.str.2
	.asciz	"XObject"

l_.str.3:                               ; @.str.3
	.asciz	"Subtype"

l_.str.4:                               ; @.str.4
	.asciz	"Image"

l_.str.5:                               ; @.str.5
	.asciz	"Width"

l_.str.6:                               ; @.str.6
	.asciz	"Height"

l_.str.7:                               ; @.str.7
	.asciz	"ColorSpace"

l_.str.8:                               ; @.str.8
	.asciz	"DeviceGray"

l_.str.9:                               ; @.str.9
	.asciz	"BitsPerComponent"

	.comm	_HPDF_INVALID_PNG_IMAGE,8,3     ; @HPDF_INVALID_PNG_IMAGE
	.comm	_HPDF_FILE_IO_ERROR,8,3         ; @HPDF_FILE_IO_ERROR
l_.str.10:                              ; @.str.10
	.asciz	"SMask"

	.comm	_PNG_COLOR_MASK_ALPHA,4,2       ; @PNG_COLOR_MASK_ALPHA
	.comm	_PNG_COLOR_TYPE_GRAY_ALPHA,4,2  ; @PNG_COLOR_TYPE_GRAY_ALPHA
l_.str.11:                              ; @.str.11
	.asciz	"DeviceRGB"

	.comm	_PNG_COLOR_TYPE_GRAY,4,2        ; @PNG_COLOR_TYPE_GRAY
	.comm	_PngBeforeWrite,4,2             ; @PngBeforeWrite
	.comm	_PngAfterWrite,4,2              ; @PngAfterWrite
	.comm	_PNG_INTERLACE_NONE,8,3         ; @PNG_INTERLACE_NONE
	.no_dead_strip	_LoadPngData
.subsections_via_symbols
