	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BConfig
_BConfig:                               ## @BConfig
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	xorl	%edi, %edi
	callq	_time
	movq	%rax, %r15
	addq	$4, %r15
	movq	_soundo@GOTPCREL(%rip), %r12
	movq	_joybuttons@GOTPCREL(%rip), %r13
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_time
	cmpq	%r15, %rax
	jge	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r12)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_UpdateJoyData
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %eax
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jne	LBB0_1
## %bb.6:
	movq	_joyBMap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movl	%ebx, (%rax,%rcx,4)
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_soundo,4,2                     ## @soundo
	.comm	_joybuttons,4,2                 ## @joybuttons
	.comm	_joyBMap,8,3                    ## @joyBMap
	.no_dead_strip	_BConfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BConfig
_BConfig:                               ; @BConfig
	.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
	mov	w0, #0
	bl	_time
	mov	w8, #0
	add	x20, x0, #4
Lloh0:
	adrp	x21, _soundo@GOTPAGE
Lloh1:
	ldr	x21, [x21, _soundo@GOTPAGEOFF]
Lloh2:
	adrp	x23, _joybuttons@GOTPAGE
Lloh3:
	ldr	x23, [x23, _joybuttons@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x8
	mov	w0, #0
	bl	_time
	cmp	x0, x20
	b.ge	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21]
	cbz	w8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x23]
	cbnz	w22, LBB0_5
	b	LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_UpdateJoyData
	ldr	w8, [x23]
	cbz	w22, LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbnz	w8, LBB0_1
; %bb.6:
Lloh4:
	adrp	x8, _joyBMap@GOTPAGE
Lloh5:
	ldr	x8, [x8, _joyBMap@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	w22, [x8, w19, sxtw #2]
LBB0_7:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_soundo,4,2                     ; @soundo
	.comm	_joybuttons,4,2                 ; @joybuttons
	.comm	_joyBMap,8,3                    ; @joyBMap
	.no_dead_strip	_BConfig
.subsections_via_symbols
