	.file	"extr_pdf-form.c_pdf_field_set_button_caption.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pdf_field_set_button_caption
	.type	pdf_field_set_button_caption, @function
pdf_field_set_button_caption:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	pdf_field_type@PLT
	cmp	rax, QWORD PTR PDF_WIDGET_TYPE_BUTTON[rip]
	je	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L5:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, rbp
	call	pdf_new_text_string@PLT
	mov	edi, DWORD PTR CA[rip]
	mov	r13, rax
	call	PDF_NAME@PLT
	mov	edi, DWORD PTR MK[rip]
	mov	ebx, eax
	call	PDF_NAME@PLT
	mov	rsi, r12
	mov	rdi, rbp
	mov	r8d, ebx
	mov	rdx, r13
	mov	ecx, eax
	xor	r9d, r9d
	call	pdf_dict_putl_drop@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	pdf_field_mark_dirty@PLT
	.cfi_endproc
.LFE0:
	.size	pdf_field_set_button_caption, .-pdf_field_set_button_caption
	.comm	PDF_WIDGET_TYPE_BUTTON,8,8
	.comm	MK,4,4
	.comm	CA,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_pdf_field_set_button_caption.c"
	.text
	.align	2
	.global	pdf_field_set_button_caption
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdf_field_set_button_caption, %function
pdf_field_set_button_caption:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #12
	mov	r4, r2
	mov	r6, r0
	mov	r5, r1
	bl	pdf_field_type
	ldr	r3, .L6
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	mov	r1, r4
	mov	r0, r6
	bl	pdf_new_text_string
	ldr	r3, .L6+4
	mov	r4, r0
	ldr	r0, [r3]
	bl	PDF_NAME
	ldr	r3, .L6+8
	mov	r7, r0
	ldr	r0, [r3]
	bl	PDF_NAME
	mov	r1, #0
	mov	r3, r7
	stm	sp, {r0, r1}
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	pdf_dict_putl_drop
	mov	r1, r5
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	pdf_field_mark_dirty
.L7:
	.align	2
.L6:
	.word	PDF_WIDGET_TYPE_BUTTON
	.word	MK
	.word	CA
	.size	pdf_field_set_button_caption, .-pdf_field_set_button_caption
	.comm	PDF_WIDGET_TYPE_BUTTON,4,4
	.comm	MK,4,4
	.comm	CA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
