	.file	"extr_hpdf_pages.c_AddAnnotation.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" HPDF_Pages\n"
.LC1:
	.string	"Annots"
.LC2:
	.string	"P"
	.text
	.p2align 4
	.type	AddAnnotation, @function
AddAnnotation:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	lea	rdi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	call	HPDF_PTRACE@PLT
	mov	edx, DWORD PTR HPDF_OCLASS_ARRAY[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	HPDF_Dict_GetItem@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L9
.L2:
	mov	rsi, r13
	mov	rdi, rbp
	call	HPDF_Array_Add@PLT
	cmp	QWORD PTR HPDF_OK[rip], rax
	je	.L10
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[r12]
	call	HPDF_Array_New@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L11
	mov	rdx, rax
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	HPDF_Dict_Add@PLT
	cmp	QWORD PTR HPDF_OK[rip], rax
	je	.L2
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	mov	rdi, r13
	pop	r12
	.cfi_def_cfa_offset 16
	lea	rsi, .LC2[rip]
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	HPDF_Dict_Add@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR [r12]
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	HPDF_Error_GetCode@PLT
	.cfi_endproc
.LFE0:
	.size	AddAnnotation, .-AddAnnotation
	.comm	HPDF_OK,8,8
	.comm	HPDF_OCLASS_ARRAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hpdf_pages.c_AddAnnotation.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" HPDF_Pages\012\000"
	.align	2
.LC1:
	.ascii	"Annots\000"
	.align	2
.LC2:
	.ascii	"P\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AddAnnotation, %function
AddAnnotation:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, .L10
	mov	r6, r1
	bl	HPDF_PTRACE
	ldr	r3, .L10+4
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r1, .L10+8
	bl	HPDF_Dict_GetItem
	subs	r4, r0, #0
	beq	.L6
	ldr	r7, .L10+12
.L2:
	mov	r0, r4
	mov	r1, r6
	bl	HPDF_Array_Add
	ldr	r3, [r7]
	cmp	r3, r0
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r2, r5
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r1, .L10+16
	b	HPDF_Dict_Add
.L6:
	ldr	r0, [r5, #4]
	bl	HPDF_Array_New
	subs	r4, r0, #0
	beq	.L9
	mov	r2, r4
	mov	r0, r5
	ldr	r1, .L10+8
	bl	HPDF_Dict_Add
	ldr	r7, .L10+12
	ldr	r3, [r7]
	cmp	r3, r0
	popne	{r4, r5, r6, r7, r8, pc}
	b	.L2
.L9:
	ldr	r0, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	b	HPDF_Error_GetCode
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	HPDF_OCLASS_ARRAY
	.word	.LC1
	.word	HPDF_OK
	.word	.LC2
	.size	AddAnnotation, .-AddAnnotation
	.comm	HPDF_OK,4,4
	.comm	HPDF_OCLASS_ARRAY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
