	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcheevos_count_number
_rcheevos_count_number:                 ## @rcheevos_count_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, 32(%rdi)
	je	LBB0_6
## %bb.1:
	movq	(%rbx), %rax
	movq	_CHEEVOS_JSON_KEY_FLAGS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	cmpq	$5, %rax
	je	LBB0_5
## %bb.3:
	cmpq	$3, %rax
	jne	LBB0_9
## %bb.4:
	incl	28(%rbx)
	jmp	LBB0_9
LBB0_6:
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.7:
	movq	(%rbx), %rax
	movq	_CHEEVOS_JSON_KEY_ID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	incl	8(%rbx)
	jmp	LBB0_9
LBB0_5:
	incl	24(%rbx)
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHEEVOS_JSON_KEY_FLAGS,8,3     ## @CHEEVOS_JSON_KEY_FLAGS
	.comm	_CHEEVOS_JSON_KEY_ID,8,3        ## @CHEEVOS_JSON_KEY_ID
	.no_dead_strip	_rcheevos_count_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcheevos_count_number
_rcheevos_count_number:                 ; @rcheevos_count_number
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CHEEVOS_JSON_KEY_FLAGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CHEEVOS_JSON_KEY_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x1
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	cmp	x0, #5
	b.eq	LBB0_8
; %bb.3:
	cmp	x0, #3
	b.ne	LBB0_9
; %bb.4:
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	b	LBB0_9
LBB0_5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _CHEEVOS_JSON_KEY_ID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHEEVOS_JSON_KEY_ID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	b	LBB0_9
LBB0_8:
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CHEEVOS_JSON_KEY_FLAGS,8,3     ; @CHEEVOS_JSON_KEY_FLAGS
	.comm	_CHEEVOS_JSON_KEY_ID,8,3        ; @CHEEVOS_JSON_KEY_ID
	.no_dead_strip	_rcheevos_count_number
.subsections_via_symbols
