	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitializeSDL
_InitializeSDL:                         ## @InitializeSDL
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_M64MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DebugMessage
	movq	_SDL_INIT_AUDIO@GOTPCREL(%rip), %rax
	movq	_SDL_INIT_TIMER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_SDL_Init
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	_M64MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DebugMessage
	movl	$1, %ecx
LBB0_2:
	movq	_critical_failure@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M64MSG_INFO,4,2                ## @M64MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initializing SDL audio subsystem..."

	.comm	_SDL_INIT_AUDIO,4,2             ## @SDL_INIT_AUDIO
	.comm	_SDL_INIT_TIMER,4,2             ## @SDL_INIT_TIMER
	.comm	_M64MSG_ERROR,4,2               ## @M64MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Failed to initialize SDL audio subsystem; forcing exit.\n"

	.comm	_critical_failure,4,2           ## @critical_failure
	.no_dead_strip	_InitializeSDL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function InitializeSDL
_InitializeSDL:                         ; @InitializeSDL
	.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
Lloh0:
	adrp	x8, _M64MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M64MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DebugMessage
Lloh5:
	adrp	x8, _SDL_INIT_AUDIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SDL_INIT_AUDIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SDL_INIT_TIMER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SDL_INIT_TIMER@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_SDL_Init
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _M64MSG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _M64MSG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DebugMessage
	mov	w8, #1
LBB0_3:
Lloh16:
	adrp	x9, _critical_failure@GOTPAGE
Lloh17:
	ldr	x9, [x9, _critical_failure@GOTPAGEOFF]
Lloh18:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_M64MSG_INFO,4,2                ; @M64MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initializing SDL audio subsystem..."

	.comm	_SDL_INIT_AUDIO,4,2             ; @SDL_INIT_AUDIO
	.comm	_SDL_INIT_TIMER,4,2             ; @SDL_INIT_TIMER
	.comm	_M64MSG_ERROR,4,2               ; @M64MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Failed to initialize SDL audio subsystem; forcing exit.\n"

	.comm	_critical_failure,4,2           ; @critical_failure
	.no_dead_strip	_InitializeSDL
.subsections_via_symbols
