	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_List_Add                  ## -- Begin function HPDF_List_Add
	.p2align	4, 0x90
_HPDF_List_Add:                         ## @HPDF_List_Add
	.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
	movq	(%rbx), %rax
	movq	8(%rbx), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_3
## %bb.1:
	addq	16(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_Resize
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
LBB0_3:
	movq	24(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rbx)
	movq	%r14, (%rcx,%rax,8)
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_List_Add\n"

	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_List_Add                  ; -- Begin function HPDF_List_Add
	.p2align	2
_HPDF_List_Add:                         ; @HPDF_List_Add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldp	x8, x9, [x20]
Lloh2:
	adrp	x21, _HPDF_OK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HPDF_OK@GOTPAGEOFF]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x20, #16]
	add	x1, x8, x9
	mov	x0, x20
	bl	_Resize
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20]
LBB0_3:
	ldr	x9, [x20, #24]
	add	x10, x8, #1
	str	x10, [x20]
	str	x19, [x9, x8, lsl #3]
	ldr	x0, [x21]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_List_Add\n"

	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
.subsections_via_symbols
