	.file	"extr_photo-data.c_event_get_field_int.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	event_get_field_int
	.type	event_get_field_int, @function
event_get_field_int:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	edx, -1
	je	.L21
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movsx	rax, edx
	movsx	rsi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edx
	mov	rdx, QWORD PTR types[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR 8[rdi]
	mov	rdx, QWORD PTR [rdx+rsi*8]
	lea	r12, [rdx+rax*4]
	test	rdi, rdi
	je	.L3
	mov	esi, ebp
	call	has_field@PLT
	test	rax, rax
	jne	.L26
.L3:
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L2
	mov	esi, ebp
	call	has_field@PLT
	test	rax, rax
	jne	.L27
.L2:
	mov	eax, DWORD PTR INT_MIN[rip]
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR INT_MIN[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	rdi, QWORD PTR 8[rbx]
	mov	rsi, r12
	call	GET_INT@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, r12
	call	GET_INT@PLT
	mov	eax, DWORD PTR [rax]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	event_get_field_int, .-event_get_field_int
	.comm	types,8,8
	.comm	INT_MIN,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_photo-data.c_event_get_field_int.c"
	.text
	.align	2
	.global	event_get_field_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	event_get_field_int, %function
event_get_field_int:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmn	r2, #1
	beq	.L21
	ldr	r3, .L28
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r5, r0
	ldr	r0, [r0, #4]
	ldr	r1, [r3, r1, lsl #2]
	cmp	r0, #0
	mov	r4, r2
	add	r6, r1, r2, lsl #2
	beq	.L3
	mov	r1, r2
	bl	has_field
	cmp	r0, #0
	bne	.L26
.L3:
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L2
	mov	r1, r4
	bl	has_field
	cmp	r0, #0
	bne	.L27
.L2:
	ldr	r3, .L28+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L21:
	ldr	r3, .L28+4
	ldr	r0, [r3]
	bx	lr
.L26:
	mov	r1, r6
	ldr	r0, [r5, #4]
	bl	GET_INT
	ldr	r0, [r0]
	pop	{r4, r5, r6, pc}
.L27:
	mov	r1, r6
	ldr	r0, [r5]
	bl	GET_INT
	ldr	r0, [r0]
	pop	{r4, r5, r6, pc}
.L29:
	.align	2
.L28:
	.word	types
	.word	INT_MIN
	.size	event_get_field_int, .-event_get_field_int
	.comm	types,4,4
	.comm	INT_MIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
