	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ShowMCIError
_ShowMCIError:                          ## @ShowMCIError
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_MCISTR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	addl	$44, %ebx
	leaq	(,%rbx,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r13, %rdi
	callq	_ARRAYSIZE
	movl	%r15d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_mciGetErrorString
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_hInstance@GOTPCREL(%rip), %rax
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	(%rax), %r14d
	movq	_IDS_DEFAULTMCIERRMSG@GOTPCREL(%rip), %rax
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	(%rax), %r15d
	movq	%r13, %rdi
	callq	_ARRAYSIZE
	movl	%r14d, %edi
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movl	%r15d, %esi
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_LoadString
LBB0_2:
	shll	$2, %ebx
	leaq	L_.str(%rip), %rdi
	callq	__T
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	movq	%r13, %r8
	callq	_StringCbPrintf
	movq	_szAppTitle@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MB_OK@GOTPCREL(%rip), %rax
	movq	_MB_ICONEXCLAMATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_MessageBox
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_MCISTR,4,2                 ## @MAX_MCISTR
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_IDS_DEFAULTMCIERRMSG,4,2       ## @IDS_DEFAULTMCIERRMSG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MMSYS%lu: %s"

	.comm	_szAppTitle,4,2                 ## @szAppTitle
	.comm	_MB_OK,4,2                      ## @MB_OK
	.comm	_MB_ICONEXCLAMATION,4,2         ## @MB_ICONEXCLAMATION
	.no_dead_strip	_ShowMCIError
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ShowMCIError
_ShowMCIError:                          ; @ShowMCIError
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_MCISTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_MCISTR@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x8]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	add	w25, w12, #44
	lsl	x8, x25, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_mciGetErrorString
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _hInstance@GOTPAGE
Lloh14:
	ldr	x8, [x8, _hInstance@GOTPAGEOFF]
Lloh15:
	ldr	w23, [x8]
Lloh16:
	adrp	x8, _IDS_DEFAULTMCIERRMSG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IDS_DEFAULTMCIERRMSG@GOTPAGEOFF]
Lloh18:
	ldr	w24, [x8]
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x3, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x21
	bl	_LoadString
LBB0_2:
	lsl	w23, w25, #2
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	__T
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	mov	x3, x20
	mov	x4, x21
	bl	_StringCbPrintf
Lloh21:
	adrp	x8, _szAppTitle@GOTPAGE
Lloh22:
	ldr	x8, [x8, _szAppTitle@GOTPAGEOFF]
Lloh23:
	adrp	x9, _MB_OK@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MB_OK@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	ldr	w8, [x9]
Lloh27:
	adrp	x9, _MB_ICONEXCLAMATION@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MB_ICONEXCLAMATION@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w3, w9, w8
	mov	x0, x19
	mov	x1, x22
	bl	_MessageBox
	ldur	x8, [x29, #-72]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_MCISTR,4,2                 ; @MAX_MCISTR
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_IDS_DEFAULTMCIERRMSG,4,2       ; @IDS_DEFAULTMCIERRMSG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MMSYS%lu: %s"

	.comm	_szAppTitle,4,2                 ; @szAppTitle
	.comm	_MB_OK,4,2                      ; @MB_OK
	.comm	_MB_ICONEXCLAMATION,4,2         ; @MB_ICONEXCLAMATION
	.no_dead_strip	_ShowMCIError
.subsections_via_symbols
