	.file	"extr_pdf-form.c_reset_form_field.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reset_form_field, @function
reset_form_field:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, DWORD PTR DV[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	PDF_NAME@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	call	pdf_dict_get@PLT
	mov	edi, DWORD PTR Kids[rip]
	mov	r13, rax
	call	PDF_NAME@PLT
	mov	rdi, rbp
	mov	rsi, r12
	mov	rdx, rax
	call	pdf_dict_get@PLT
	mov	edi, DWORD PTR V[rip]
	mov	r14, rax
	test	r13, r13
	je	.L2
	call	PDF_NAME@PLT
	mov	rcx, r13
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	call	pdf_dict_put@PLT
	test	r14, r14
	je	.L21
.L4:
	mov	rdx, r12
	mov	rsi, rbx
	mov	rdi, rbp
	call	pdf_field_dirties_document@PLT
	test	rax, rax
	je	.L1
	mov	DWORD PTR [rbx], 1
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	PDF_NAME@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	call	pdf_dict_del@PLT
	test	r14, r14
	jne	.L4
.L21:
	mov	rsi, r12
	mov	rdi, rbp
	call	pdf_field_type@PLT
	cmp	eax, 130
	jg	.L5
	cmp	eax, 128
	jg	.L6
	je	.L4
.L7:
	mov	rsi, r12
	mov	rdi, rbp
	call	pdf_field_mark_dirty@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	cmp	eax, 131
	je	.L4
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edi, DWORD PTR V[rip]
	call	PDF_NAME@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rdx, rax
	call	pdf_dict_get_inheritable@PLT
	mov	r13, rax
	test	rax, rax
	je	.L22
.L8:
	mov	edi, DWORD PTR AS[rip]
	call	PDF_NAME@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	rcx, r13
	mov	rdx, rax
	call	pdf_dict_put@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	pdf_field_mark_dirty@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR Off[rip]
	call	PDF_NAME@PLT
	mov	r13, rax
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	reset_form_field, .-reset_form_field
	.comm	V,4,4
	.comm	Off,4,4
	.comm	Kids,4,4
	.comm	DV,4,4
	.comm	AS,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_pdf-form.c_reset_form_field.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_form_field, %function
reset_form_field:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r0, [r3]
	mov	r5, r2
	mov	r7, r1
	bl	PDF_NAME
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	pdf_dict_get
	ldr	r2, .L22+4
	mov	r6, r0
	ldr	r0, [r2]
	bl	PDF_NAME
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	pdf_dict_get
	ldr	r9, .L22+8
	cmp	r6, #0
	mov	r8, r0
	ldr	r0, [r9]
	beq	.L2
	bl	PDF_NAME
	mov	r3, r6
	mov	r2, r0
	mov	r1, r5
	mov	r0, r4
	bl	pdf_dict_put
	cmp	r8, #0
	beq	.L20
.L4:
	mov	r2, r5
	mov	r0, r4
	mov	r1, r7
	bl	pdf_field_dirties_document
	cmp	r0, #0
	movne	r3, #1
	strne	r3, [r7]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	bl	PDF_NAME
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	pdf_dict_del
	cmp	r8, #0
	bne	.L4
.L20:
	mov	r1, r5
	mov	r0, r4
	bl	pdf_field_type
	cmp	r0, #130
	bgt	.L5
	cmp	r0, #128
	bgt	.L6
.L18:
	beq	.L4
	mov	r1, r5
	mov	r0, r4
	bl	pdf_field_mark_dirty
	b	.L4
.L5:
	cmp	r0, #131
	b	.L18
.L6:
	ldr	r0, [r9]
	bl	PDF_NAME
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	pdf_dict_get_inheritable
	subs	r6, r0, #0
	beq	.L21
.L8:
	ldr	r3, .L22+12
	ldr	r0, [r3]
	bl	PDF_NAME
	mov	r1, r5
	mov	r2, r0
	mov	r3, r6
	mov	r0, r4
	bl	pdf_dict_put
	mov	r1, r5
	mov	r0, r4
	bl	pdf_field_mark_dirty
	b	.L4
.L21:
	ldr	r3, .L22+16
	ldr	r0, [r3]
	bl	PDF_NAME
	mov	r6, r0
	b	.L8
.L23:
	.align	2
.L22:
	.word	DV
	.word	Kids
	.word	V
	.word	AS
	.word	Off
	.size	reset_form_field, .-reset_form_field
	.comm	V,4,4
	.comm	Off,4,4
	.comm	Kids,4,4
	.comm	DV,4,4
	.comm	AS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
