	.file	"extr_parser.c_rcheevos_count_number.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rcheevos_count_number, @function
rcheevos_count_number:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	QWORD PTR 32[rdi], 0
	mov	rbx, rdi
	je	.L2
	mov	rax, QWORD PTR CHEEVOS_JSON_KEY_FLAGS[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L9
.L2:
	cmp	QWORD PTR 16[rbx], 0
	je	.L4
	mov	rax, QWORD PTR CHEEVOS_JSON_KEY_ID[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L10
.L4:
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	add	DWORD PTR 8[rbx], 1
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rsi
	mov	edx, 10
	xor	esi, esi
	call	strtol@PLT
	cmp	rax, 3
	je	.L11
	cmp	rax, 5
	jne	.L4
	add	DWORD PTR 24[rbx], 1
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	add	DWORD PTR 28[rbx], 1
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	rcheevos_count_number, .-rcheevos_count_number
	.comm	CHEEVOS_JSON_KEY_ID,8,8
	.comm	CHEEVOS_JSON_KEY_FLAGS,8,8
	.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_parser.c_rcheevos_count_number.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rcheevos_count_number, %function
rcheevos_count_number:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #20]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r0
	beq	.L2
	ldr	r3, .L17
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L15
.L2:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L17+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	ldreq	r3, [r4, #4]
	addeq	r3, r3, #1
	streq	r3, [r4, #4]
.L4:
	mov	r0, #0
	pop	{r4, pc}
.L15:
	mov	r0, r1
	mov	r2, #10
	mov	r1, #0
	bl	strtol
	cmp	r0, #3
	beq	.L16
	cmp	r0, #5
	ldreq	r3, [r4, #12]
	addeq	r3, r3, #1
	streq	r3, [r4, #12]
	b	.L4
.L16:
	ldr	r3, [r4, #16]
	add	r3, r3, #1
	str	r3, [r4, #16]
	b	.L4
.L18:
	.align	2
.L17:
	.word	CHEEVOS_JSON_KEY_FLAGS
	.word	CHEEVOS_JSON_KEY_ID
	.size	rcheevos_count_number, .-rcheevos_count_number
	.comm	CHEEVOS_JSON_KEY_ID,4,4
	.comm	CHEEVOS_JSON_KEY_FLAGS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
