	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ConfigJoystick
_ConfigJoystick:                        ## @ConfigJoystick
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.12(%rip), %rdi
	callq	_puts
	leaq	L_str.13(%rip), %rdi
	callq	_puts
	leaq	L_str.14(%rip), %rdi
	callq	_puts
	leaq	L_str.15(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	callq	_getchar
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$2, %edi
	callq	_BConfig
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$3, %edi
	callq	_BConfig
	leaq	L_.str.8(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %edi
	callq	_BConfig
	leaq	L_.str.9(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	xorl	%edi, %edi
	callq	_BConfig
	leaq	L_.str.10(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$5, %edi
	callq	_BConfig
	leaq	L_.str.11(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$4, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_BConfig                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"** Press button for "

L_.str.6:                               ## @.str.6
	.asciz	"%s\"Select\".\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s\"Start\".\n"

L_.str.8:                               ## @.str.8
	.asciz	"%s\"B\".\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s\"A\".\n"

L_.str.10:                              ## @.str.10
	.asciz	"%s\"Rapid fire B\".\n"

L_.str.11:                              ## @.str.11
	.asciz	"%s\"Rapid fire A\".\n"

L_str:                                  ## @str
	.asciz	"\n\n Joystick button configuration:\n"

L_str.12:                               ## @str.12
	.asciz	"   Push and release the button to map to the virtual joystick."

L_str.13:                               ## @str.13
	.asciz	"   If you do not wish to assign a button, wait a few seconds"

L_str.14:                               ## @str.14
	.asciz	"   and the configuration will continue.\n"

L_str.15:                               ## @str.15
	.asciz	"   Press enter to continue..."

	.no_dead_strip	_ConfigJoystick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ConfigJoystick
_ConfigJoystick:                        ; @ConfigJoystick
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x0, l_str.12@PAGE
Lloh3:
	add	x0, x0, l_str.12@PAGEOFF
	bl	_puts
Lloh4:
	adrp	x0, l_str.13@PAGE
Lloh5:
	add	x0, x0, l_str.13@PAGEOFF
	bl	_puts
Lloh6:
	adrp	x0, l_str.14@PAGE
Lloh7:
	add	x0, x0, l_str.14@PAGEOFF
	bl	_puts
Lloh8:
	adrp	x0, l_str.15@PAGE
Lloh9:
	add	x0, x0, l_str.15@PAGEOFF
	bl	_puts
	bl	_getchar
Lloh10:
	adrp	x19, l_.str@PAGE
Lloh11:
	add	x19, x19, l_.str@PAGEOFF
	str	x19, [sp]
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	mov	w0, #2
	bl	_BConfig
	str	x19, [sp]
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	mov	w0, #3
	bl	_BConfig
	str	x19, [sp]
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	mov	w0, #1
	bl	_BConfig
	str	x19, [sp]
Lloh18:
	adrp	x0, l_.str.9@PAGE
Lloh19:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	mov	w0, #0
	bl	_BConfig
	str	x19, [sp]
Lloh20:
	adrp	x0, l_.str.10@PAGE
Lloh21:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
	mov	w0, #5
	bl	_BConfig
	str	x19, [sp]
Lloh22:
	adrp	x0, l_.str.11@PAGE
Lloh23:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_printf
	mov	w0, #4
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_BConfig
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"** Press button for "

l_.str.6:                               ; @.str.6
	.asciz	"%s\"Select\".\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s\"Start\".\n"

l_.str.8:                               ; @.str.8
	.asciz	"%s\"B\".\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s\"A\".\n"

l_.str.10:                              ; @.str.10
	.asciz	"%s\"Rapid fire B\".\n"

l_.str.11:                              ; @.str.11
	.asciz	"%s\"Rapid fire A\".\n"

l_str:                                  ; @str
	.asciz	"\n\n Joystick button configuration:\n"

l_str.12:                               ; @str.12
	.asciz	"   Push and release the button to map to the virtual joystick."

l_str.13:                               ; @str.13
	.asciz	"   If you do not wish to assign a button, wait a few seconds"

l_str.14:                               ; @str.14
	.asciz	"   and the configuration will continue.\n"

l_str.15:                               ; @str.15
	.asciz	"   Press enter to continue..."

	.no_dead_strip	_ConfigJoystick
.subsections_via_symbols
