	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CallbackReader_New        ## -- Begin function HPDF_CallbackReader_New
	.p2align	4, 0x90
_HPDF_CallbackReader_New:               ## @HPDF_CallbackReader_New
	.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	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_HPDF_GetMem
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_HPDF_MemSet
	movq	_HPDF_STREAM_SIG_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movl	(%r14), %eax
	movl	%eax, 40(%r15)
	movq	%r14, 32(%r15)
	movl	%ebx, 28(%r15)
	movl	%r13d, 24(%r15)
	movl	%r12d, 20(%r15)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	_HPDF_STREAM_CALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_2:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_CallbackReader_New\n"

	.comm	_HPDF_STREAM_SIG_BYTES,4,2      ## @HPDF_STREAM_SIG_BYTES
	.comm	_HPDF_STREAM_CALLBACK,4,2       ## @HPDF_STREAM_CALLBACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CallbackReader_New        ; -- Begin function HPDF_CallbackReader_New
	.p2align	2
_HPDF_CallbackReader_New:               ; @HPDF_CallbackReader_New
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	mov	x0, x24
	mov	w1, #4
	bl	_HPDF_GetMem
	mov	x25, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x25
	mov	w1, #0
	mov	w2, #4
	bl	_HPDF_MemSet
Lloh2:
	adrp	x8, _HPDF_STREAM_SIG_BYTES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_STREAM_SIG_BYTES@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x24]
	stp	w9, w8, [x25, #40]
	str	x24, [x25, #32]
	stp	w22, w23, [x25, #24]
	stp	w20, w21, [x25, #16]
	str	x19, [x25, #8]
Lloh5:
	adrp	x8, _HPDF_STREAM_CALLBACK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HPDF_STREAM_CALLBACK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x25]
LBB0_2:
	mov	x0, x25
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CallbackReader_New\n"

	.comm	_HPDF_STREAM_SIG_BYTES,4,2      ; @HPDF_STREAM_SIG_BYTES
	.comm	_HPDF_STREAM_CALLBACK,4,2       ; @HPDF_STREAM_CALLBACK
.subsections_via_symbols
