	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ButtonConfigEnd                ## -- Begin function ButtonConfigEnd
	.p2align	4, 0x90
_ButtonConfigEnd:                       ## @ButtonConfigEnd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_KillJoysticks
	movq	_SDL_INIT_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SDL_QuitSubSystem
	movq	_bcpv@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_CurGame@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_InitVideo
LBB0_2:
	movq	_bcpj@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_InitJoysticks                  ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDL_INIT_VIDEO,4,2             ## @SDL_INIT_VIDEO
	.comm	_bcpv,8,3                       ## @bcpv
	.comm	_bcpj,8,3                       ## @bcpj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ButtonConfigEnd                ; -- Begin function ButtonConfigEnd
	.p2align	2
_ButtonConfigEnd:                       ; @ButtonConfigEnd
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_KillJoysticks
Lloh0:
	adrp	x8, _SDL_INIT_VIDEO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDL_INIT_VIDEO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_SDL_QuitSubSystem
Lloh3:
	adrp	x8, _bcpv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bcpv@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _CurGame@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CurGame@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	bl	_InitVideo
LBB0_2:
Lloh9:
	adrp	x8, _bcpj@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bcpj@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_InitJoysticks
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SDL_INIT_VIDEO,4,2             ; @SDL_INIT_VIDEO
	.comm	_bcpv,8,3                       ; @bcpv
	.comm	_bcpj,8,3                       ; @bcpj
.subsections_via_symbols
