	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcheevos_new_cheevo
_rcheevos_new_cheevo:                   ## @rcheevos_new_cheevo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	44(%rdi), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	cmpl	$5, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$3, %eax
	jne	LBB0_9
## %bb.2:
	movq	32(%r12), %rcx
	addq	$8, %rcx
	leaq	40(%r12), %rax
	jmp	LBB0_4
LBB0_3:
	movq	32(%r12), %rcx
	leaq	24(%r12), %rax
LBB0_4:
	movq	(%rcx), %r14
	movslq	(%rax), %rbx
	leal	1(%rbx), %ecx
	movl	%ecx, (%rax)
	leaq	20(%r12), %rdi
	callq	_rcheevos_dupstr
	leaq	(%rbx,%rbx,4), %rbx
	movq	%rax, 32(%r14,%rbx,8)
	leaq	16(%r12), %rdi
	callq	_rcheevos_dupstr
	leaq	(%r14,%rbx,8), %r15
	addq	$24, %r15
	movq	%rax, 24(%r14,%rbx,8)
	leaq	12(%r12), %rdi
	callq	_rcheevos_dupstr
	movq	%rax, 16(%r14,%rbx,8)
	leaq	8(%r12), %rdi
	callq	_rcheevos_dupstr
	movq	%rax, 8(%r14,%rbx,8)
	movl	4(%r12), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, (%r14,%rbx,8)
	movl	(%r12), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, 4(%r14,%rbx,8)
	movq	32(%r14,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.6:
	cmpq	$0, -8(%r15)
	je	LBB0_8
## %bb.7:
	xorl	%r14d, %r14d
	cmpq	$0, -16(%r15)
	jne	LBB0_9
LBB0_8:
	callq	_CHEEVOS_FREE
	movq	(%r15), %rdi
	callq	_CHEEVOS_FREE
	movq	-8(%r15), %rdi
	callq	_CHEEVOS_FREE
	movq	-16(%r15), %rdi
	callq	_CHEEVOS_FREE
	movl	$-1, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rcheevos_new_cheevo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcheevos_new_cheevo
_rcheevos_new_cheevo:                   ; @rcheevos_new_cheevo
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #44]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	cmp	w0, #5
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #3
	b.ne	LBB0_8
; %bb.2:
	ldr	x8, [x19, #32]
	add	x9, x8, #8
	add	x8, x19, #40
	b	LBB0_4
LBB0_3:
	ldr	x9, [x19, #32]
	add	x8, x19, #24
LBB0_4:
	ldr	x20, [x9]
	ldrsw	x21, [x8]
	add	w9, w21, #1
	str	w9, [x8]
	add	x0, x19, #20
	bl	_rcheevos_dupstr
	mov	w8, #40
	madd	x23, x21, x8, x20
	str	x0, [x23, #32]
	add	x0, x19, #16
	bl	_rcheevos_dupstr
	mov	x20, x23
	str	x0, [x20, #24]!
	add	x0, x19, #12
	bl	_rcheevos_dupstr
	mov	x21, x23
	str	x0, [x21, #16]!
	add	x0, x19, #8
	bl	_rcheevos_dupstr
	mov	x22, x23
	str	x0, [x22, #8]!
	ldr	w0, [x19, #4]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [x23]
	ldr	w0, [x19]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [x23, #4]
	ldr	x0, [x23, #32]
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.7:
	ldr	x8, [x22]
	cbz	x8, LBB0_9
LBB0_8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	bl	_CHEEVOS_FREE
	ldr	x0, [x20]
	bl	_CHEEVOS_FREE
	ldr	x0, [x21]
	bl	_CHEEVOS_FREE
	ldr	x0, [x22]
	bl	_CHEEVOS_FREE
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rcheevos_new_cheevo
.subsections_via_symbols
