	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_List_New                  ## -- Begin function HPDF_List_New
	.p2align	4, 0x90
_HPDF_List_New:                         ## @HPDF_List_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_HPDF_GetMem
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, 40(%rax)
	movl	(%rbx), %ecx
	movl	%ecx, 32(%rax)
	movq	$0, 24(%rax)
	testq	%r14, %r14
	jg	LBB0_5
## %bb.4:
	movq	_HPDF_DEF_ITEMS_PER_BLOCK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
LBB0_5:
	movq	%r14, 16(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_List_New\n"

	.comm	_HPDF_DEF_ITEMS_PER_BLOCK,8,3   ## @HPDF_DEF_ITEMS_PER_BLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_List_New                  ; -- Begin function HPDF_List_New
	.p2align	2
_HPDF_List_New:                         ; @HPDF_List_New
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	x20, LBB0_3
; %bb.1:
	mov	x0, x20
	mov	w1, #4
	bl	_HPDF_GetMem
	cbz	x0, LBB0_4
; %bb.2:
	str	x20, [x0, #40]
	ldr	w8, [x20]
	str	w8, [x0, #32]
Lloh2:
	adrp	x8, _HPDF_DEF_ITEMS_PER_BLOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_DEF_ITEMS_PER_BLOCK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x19, #1
	csel	x8, x8, x19, lt
	stp	x8, xzr, [x0, #16]
	stp	xzr, xzr, [x0]
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_List_New\n"

	.comm	_HPDF_DEF_ITEMS_PER_BLOCK,8,3   ; @HPDF_DEF_ITEMS_PER_BLOCK
.subsections_via_symbols
