	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcheevos_read_key
_rcheevos_read_key:                     ## @rcheevos_read_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movb	$1, %r14b
	cmpl	$0, (%rdi)
	jne	LBB0_2
## %bb.1:
	cmpl	$0, 4(%rbx)
	setne	%r14b
LBB0_2:
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_rcheevos_djb2
                                        ## kill: def $eax killed $eax def $rax
	movq	$0, 16(%rbx)
	addl	$-128, %eax
	cmpl	$14, %eax
	ja	LBB0_31
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:
	testb	%r14b, %r14b
	je	LBB0_31
## %bb.13:
	leaq	52(%rbx), %rax
	jmp	LBB0_30
LBB0_16:
	cmpl	$0, (%rbx)
	je	LBB0_31
## %bb.17:
	leaq	44(%rbx), %rax
	jmp	LBB0_30
LBB0_20:
	cmpl	$0, (%rbx)
	je	LBB0_31
## %bb.21:
	leaq	36(%rbx), %rax
	jmp	LBB0_30
LBB0_9:
	cmpl	$0, (%rbx)
	jne	LBB0_10
	jmp	LBB0_31
LBB0_11:
	cmpl	$0, 4(%rbx)
	je	LBB0_31
LBB0_10:
	leaq	56(%rbx), %rax
	jmp	LBB0_30
LBB0_5:
	movl	$1, 4(%rbx)
	jmp	LBB0_31
LBB0_7:
	testb	%r14b, %r14b
	je	LBB0_31
## %bb.8:
	leaq	60(%rbx), %rax
	jmp	LBB0_30
LBB0_28:
	cmpl	$0, 4(%rbx)
	je	LBB0_31
## %bb.29:
	leaq	12(%rbx), %rax
	jmp	LBB0_30
LBB0_14:
	testb	%r14b, %r14b
	je	LBB0_31
## %bb.15:
	leaq	48(%rbx), %rax
	jmp	LBB0_30
LBB0_6:
	movl	$1, 8(%rbx)
	jmp	LBB0_31
LBB0_24:
	cmpl	$0, (%rbx)
	je	LBB0_31
## %bb.25:
	leaq	28(%rbx), %rax
	jmp	LBB0_30
LBB0_18:
	cmpl	$0, (%rbx)
	je	LBB0_31
## %bb.19:
	leaq	40(%rbx), %rax
	jmp	LBB0_30
LBB0_4:
	movl	$1, (%rbx)
	jmp	LBB0_31
LBB0_26:
	cmpl	$0, (%rbx)
	je	LBB0_31
## %bb.27:
	leaq	24(%rbx), %rax
	jmp	LBB0_30
LBB0_22:
	cmpl	$0, (%rbx)
	je	LBB0_31
## %bb.23:
	leaq	32(%rbx), %rax
LBB0_30:
	movq	%rax, 16(%rbx)
LBB0_31:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_20
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_28
	.long	L0_0_set_26
	.long	L0_0_set_14
	.long	L0_0_set_22
	.long	L0_0_set_6
	.long	L0_0_set_24
	.long	L0_0_set_18
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_rcheevos_read_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcheevos_read_key
_rcheevos_read_key:                     ; @rcheevos_read_key
	.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	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w20, ne
LBB0_3:
	mov	x0, x1
	mov	x1, x2
	bl	_rcheevos_djb2
	str	xzr, [x19, #16]
	sub	w8, w0, #128
	cmp	w8, #14
	b.hi	LBB0_32
; %bb.4:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	cbz	w20, LBB0_32
; %bb.6:
	add	x8, x19, #52
	b	LBB0_31
LBB0_7:
	ldr	w8, [x19]
	cbz	w8, LBB0_32
; %bb.8:
	add	x8, x19, #44
	b	LBB0_31
LBB0_9:
	ldr	w8, [x19]
	cbz	w8, LBB0_32
; %bb.10:
	add	x8, x19, #36
	b	LBB0_31
LBB0_11:
	ldr	w8, [x19]
	cbnz	w8, LBB0_13
	b	LBB0_32
LBB0_12:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_32
LBB0_13:
	add	x8, x19, #56
	b	LBB0_31
LBB0_14:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_32
LBB0_15:
	cbz	w20, LBB0_32
; %bb.16:
	add	x8, x19, #60
	b	LBB0_31
LBB0_17:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_32
; %bb.18:
	add	x8, x19, #12
	b	LBB0_31
LBB0_19:
	cbz	w20, LBB0_32
; %bb.20:
	add	x8, x19, #48
	b	LBB0_31
LBB0_21:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_32
LBB0_22:
	ldr	w8, [x19]
	cbz	w8, LBB0_32
; %bb.23:
	add	x8, x19, #28
	b	LBB0_31
LBB0_24:
	ldr	w8, [x19]
	cbz	w8, LBB0_32
; %bb.25:
	add	x8, x19, #40
	b	LBB0_31
LBB0_26:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_32
LBB0_27:
	ldr	w8, [x19]
	cbz	w8, LBB0_32
; %bb.28:
	add	x8, x19, #24
	b	LBB0_31
LBB0_29:
	ldr	w8, [x19]
	cbz	w8, LBB0_32
; %bb.30:
	add	x8, x19, #32
LBB0_31:
	str	x8, [x19, #16]
LBB0_32:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_27-LBB0_5)>>2
	.byte	(LBB0_19-LBB0_5)>>2
	.byte	(LBB0_29-LBB0_5)>>2
	.byte	(LBB0_21-LBB0_5)>>2
	.byte	(LBB0_22-LBB0_5)>>2
	.byte	(LBB0_24-LBB0_5)>>2
	.byte	(LBB0_26-LBB0_5)>>2
                                        ; -- End function
	.no_dead_strip	_rcheevos_read_key
.subsections_via_symbols
