	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcheevos_new_lboard
_rcheevos_new_lboard:                   ## @rcheevos_new_lboard
	.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, %rbx
	movq	24(%rdi), %rax
	movq	(%rax), %r15
	movslq	20(%rdi), %r14
	leal	1(%r14), %eax
	movl	%eax, 20(%rdi)
	addq	$16, %rdi
	callq	_rcheevos_dupstr
	leaq	(%r14,%r14,4), %r12
	movq	%rax, 32(%r15,%r12,8)
	leaq	12(%rbx), %rdi
	callq	_rcheevos_dupstr
	leaq	(%r15,%r12,8), %r14
	addq	$24, %r14
	movq	%rax, 24(%r15,%r12,8)
	leaq	8(%rbx), %rdi
	callq	_rcheevos_dupstr
	movq	%rax, 16(%r15,%r12,8)
	leaq	4(%rbx), %rdi
	callq	_rcheevos_dupstr
	movq	%rax, 8(%r15,%r12,8)
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, (%r15,%r12,8)
	movq	32(%r15,%r12,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.2:
	cmpq	$0, -8(%r14)
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	cmpq	$0, -16(%r14)
	jne	LBB0_5
LBB0_4:
	callq	_CHEEVOS_FREE
	movq	(%r14), %rdi
	callq	_CHEEVOS_FREE
	movq	-8(%r14), %rdi
	callq	_CHEEVOS_FREE
	movq	-16(%r14), %rdi
	callq	_CHEEVOS_FREE
	movl	$-1, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rcheevos_new_lboard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcheevos_new_lboard
_rcheevos_new_lboard:                   ; @rcheevos_new_lboard
	.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	x8, [x0, #24]
	ldr	x20, [x8]
	ldrsw	x21, [x0, #20]
	add	w8, w21, #1
	str	w8, [x0, #20]
	add	x0, x0, #16
	bl	_rcheevos_dupstr
	mov	w8, #40
	madd	x23, x21, x8, x20
	str	x0, [x23, #32]
	add	x0, x19, #12
	bl	_rcheevos_dupstr
	mov	x20, x23
	str	x0, [x20, #24]!
	add	x0, x19, #8
	bl	_rcheevos_dupstr
	mov	x21, x23
	str	x0, [x21, #16]!
	add	x0, x19, #4
	bl	_rcheevos_dupstr
	mov	x22, x23
	str	x0, [x22, #8]!
	ldr	w0, [x19]
	mov	x1, #0
	mov	w2, #10
	bl	_strtol
	str	w0, [x23]
	ldr	x0, [x23, #32]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	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_6:
	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_lboard
.subsections_via_symbols
