	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UpdateTopRider
_UpdateTopRider:                        ## @UpdateTopRider
	.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	_TopRiderData@GOTPCREL(%rip), %r14
	movl	$0, (%r14)
	movq	_TopRiderButtons@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	orb	$1, (%r14)
LBB0_2:
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	orb	$2, (%r14)
LBB0_4:
	movq	(%rbx), %rdi
	addq	$8, %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	orb	$4, (%r14)
LBB0_6:
	movq	(%rbx), %rdi
	addq	$12, %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	orb	$8, (%r14)
LBB0_8:
	movq	(%rbx), %rdi
	addq	$16, %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	orb	$16, (%r14)
LBB0_10:
	movq	(%rbx), %rdi
	addq	$20, %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	orb	$32, (%r14)
LBB0_12:
	movq	(%rbx), %rdi
	addq	$24, %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	orb	$64, (%r14)
LBB0_14:
	movq	(%rbx), %rdi
	addq	$28, %rdi
	callq	_DTestButton
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	orb	$-128, (%r14)
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TopRiderData,4,2               ## @TopRiderData
	.comm	_TopRiderButtons,8,3            ## @TopRiderButtons
	.no_dead_strip	_UpdateTopRider
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UpdateTopRider
_UpdateTopRider:                        ; @UpdateTopRider
	.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
Lloh0:
	adrp	x19, _TopRiderData@GOTPAGE
Lloh1:
	ldr	x19, [x19, _TopRiderData@GOTPAGEOFF]
	str	wzr, [x19]
Lloh2:
	adrp	x20, _TopRiderButtons@GOTPAGE
Lloh3:
	ldr	x20, [x20, _TopRiderButtons@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_DTestButton
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	orr	w8, w8, #0x1
	str	w8, [x19]
LBB0_2:
	ldr	x8, [x20]
	add	x0, x8, #4
	bl	_DTestButton
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	orr	w8, w8, #0x2
	str	w8, [x19]
LBB0_4:
	ldr	x8, [x20]
	add	x0, x8, #8
	bl	_DTestButton
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x19]
	orr	w8, w8, #0x4
	str	w8, [x19]
LBB0_6:
	ldr	x8, [x20]
	add	x0, x8, #12
	bl	_DTestButton
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x19]
	orr	w8, w8, #0x8
	str	w8, [x19]
LBB0_8:
	ldr	x8, [x20]
	add	x0, x8, #16
	bl	_DTestButton
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w8, [x19]
	orr	w8, w8, #0x10
	str	w8, [x19]
LBB0_10:
	ldr	x8, [x20]
	add	x0, x8, #20
	bl	_DTestButton
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w8, [x19]
	orr	w8, w8, #0x20
	str	w8, [x19]
LBB0_12:
	ldr	x8, [x20]
	add	x0, x8, #24
	bl	_DTestButton
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w8, [x19]
	orr	w8, w8, #0x40
	str	w8, [x19]
LBB0_14:
	ldr	x8, [x20]
	add	x0, x8, #28
	bl	_DTestButton
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w8, [x19]
	orr	w8, w8, #0x80
	str	w8, [x19]
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TopRiderData,4,2               ; @TopRiderData
	.comm	_TopRiderButtons,8,3            ; @TopRiderButtons
	.no_dead_strip	_UpdateTopRider
.subsections_via_symbols
