	.file	"extr_hpdf_pages.c_HPDF_Page_GetExtGStateName.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" HPDF_Page_GetExtGStateName\n"
.LC1:
	.string	"Resources"
.LC2:
	.string	"ExtGState"
.LC3:
	.string	"E"
	.text
	.p2align 4
	.globl	HPDF_Page_GetExtGStateName
	.type	HPDF_Page_GetExtGStateName, @function
HPDF_Page_GetExtGStateName:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	push	rbx
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	movsx	r14, DWORD PTR 4[rdi]
	lea	rdi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	HPDF_PTRACE@PLT
	mov	r12, QWORD PTR [r14]
	test	r12, r12
	je	.L20
.L2:
	mov	rdi, r12
	mov	rsi, r13
	call	HPDF_Dict_GetKeyByObj@PLT
	mov	r12, rax
	test	rax, rax
	je	.L21
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	lea	rsp, -40[rbp]
	mov	rax, r12
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	edx, DWORD PTR HPDF_OCLASS_DICT[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rbx
	call	HPDF_Page_GetInheritableItem@PLT
	mov	r15, rax
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR [rbx]
	call	HPDF_Dict_New@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L1
	mov	rdx, rax
	lea	rsi, .LC2[rip]
	mov	rdi, r15
	call	HPDF_Dict_Add@PLT
	cmp	rax, QWORD PTR HPDF_OK[rip]
	jne	.L1
	mov	QWORD PTR [r14], rbx
	mov	r12, rbx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L21:
	movsx	rdx, DWORD PTR HPDF_LIMIT_MAX_NAME_LEN[rip]
	mov	rsi, rsp
	mov	rbx, rsp
	lea	eax, 1[rdx]
	cdqe
	add	rax, 15
	mov	rcx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rcx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L7
.L23:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L23
.L7:
	and	ecx, 4095
	sub	rsp, rcx
	test	rcx, rcx
	je	.L8
	or	QWORD PTR -8[rsp+rcx], 0
.L8:
	lea	r15, [rsp+rdx]
	lea	rsi, .LC3[rip]
	mov	rdi, rsp
	mov	rdx, r15
	call	HPDF_StrCpy@PLT
	mov	rdx, r15
	mov	rdi, rax
	mov	rax, QWORD PTR [r14]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR [rax]
	add	rsi, 1
	call	HPDF_IToA@PLT
	mov	rdi, QWORD PTR [r14]
	mov	rdx, r13
	mov	rsi, rsp
	call	HPDF_Dict_Add@PLT
	cmp	rax, QWORD PTR HPDF_OK[rip]
	jne	.L18
	mov	rdi, QWORD PTR [r14]
	mov	rsi, r13
	call	HPDF_Dict_GetKeyByObj@PLT
	mov	r12, rax
.L18:
	mov	rsp, rbx
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	HPDF_Page_GetExtGStateName, .-HPDF_Page_GetExtGStateName
	.comm	HPDF_OK,8,8
	.comm	HPDF_OCLASS_DICT,4,4
	.comm	HPDF_LIMIT_MAX_NAME_LEN,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_HPDF_Page_GetExtGStateName.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" HPDF_Page_GetExtGStateName\012\000"
	.align	2
.LC1:
	.ascii	"Resources\000"
	.align	2
.LC2:
	.ascii	"ExtGState\000"
	.align	2
.LC3:
	.ascii	"E\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	HPDF_Page_GetExtGStateName
	.syntax unified
	.arm
	.fpu softvfp
	.type	HPDF_Page_GetExtGStateName, %function
HPDF_Page_GetExtGStateName:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #12
	ldr	r3, .L17
	ldr	r7, [r0, #4]
	mov	r5, r0
	ldr	r0, .L17+4
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	HPDF_PTRACE
	ldr	r4, [r7]
	cmp	r4, #0
	beq	.L13
.L2:
	mov	r0, r4
	mov	r1, r6
	bl	HPDF_Dict_GetKeyByObj
	subs	r4, r0, #0
	beq	.L14
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L13:
	ldr	r3, .L17+8
	mov	r0, r5
	ldr	r1, .L17+12
	ldr	r2, [r3]
	bl	HPDF_Page_GetInheritableItem
	subs	r8, r0, #0
	beq	.L1
	ldr	r0, [r5]
	bl	HPDF_Dict_New
	subs	r5, r0, #0
	beq	.L1
	mov	r0, r8
	mov	r2, r5
	ldr	r1, .L17+16
	bl	HPDF_Dict_Add
	ldr	r3, .L17+20
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L1
	mov	r4, r5
	str	r5, [r7]
	b	.L2
.L14:
	ldr	r3, .L17+24
	mov	r8, sp
	ldr	r5, [r3]
	ldr	r1, .L17+28
	add	r3, r5, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	add	r5, sp, r5
	mov	r2, r5
	mov	r0, sp
	bl	HPDF_StrCpy
	ldr	r3, [r7]
	mov	r2, r5
	ldr	r3, [r3]
	ldr	r1, [r3]
	add	r1, r1, #1
	bl	HPDF_IToA
	mov	r2, r6
	mov	r1, sp
	ldr	r0, [r7]
	bl	HPDF_Dict_Add
	ldr	r3, .L17+20
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L16
	mov	r1, r6
	ldr	r0, [r7]
	bl	HPDF_Dict_GetKeyByObj
	mov	r4, r0
	mov	sp, r8
	b	.L1
.L16:
	mov	sp, r8
	b	.L1
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	.LC0
	.word	HPDF_OCLASS_DICT
	.word	.LC1
	.word	.LC2
	.word	HPDF_OK
	.word	HPDF_LIMIT_MAX_NAME_LEN
	.word	.LC3
	.size	HPDF_Page_GetExtGStateName, .-HPDF_Page_GetExtGStateName
	.comm	HPDF_OK,4,4
	.comm	HPDF_OCLASS_DICT,4,4
	.comm	HPDF_LIMIT_MAX_NAME_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
