	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function error_code_messagebox
_error_code_messagebox:                 ## @error_code_messagebox
	.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	$1032, %rsp                     ## imm = 0x408
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_hInst@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_IDS_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-1072(%rbp), %r13
	movq	%r13, %rdi
	callq	_COUNT_OF
	movl	%r12d, %edi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%eax, %ecx
	callq	_LoadStringW
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	l_.str(%rip), %rsi
	leaq	-1072(%rbp), %rdi
	callq	_wcscpy
LBB0_2:
	leaq	-1072(%rbp), %rsi
	movl	%r15d, %edi
	movl	%r14d, %edx
	callq	_ErrorMessageBox
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$1032, %rsp                     ## imm = 0x408
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_hInst,4,2                      ## @hInst
	.comm	_IDS_ERROR,4,2                  ## @IDS_ERROR
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	69                              ## 0x45
	.long	114                             ## 0x72
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	0                               ## 0x0

	.no_dead_strip	_error_code_messagebox
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function error_code_messagebox
_error_code_messagebox:                 ; @error_code_messagebox
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1040
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _hInst@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hInst@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _IDS_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IDS_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	add	x0, sp, #8
	bl	_COUNT_OF
	mov	x3, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_LoadStringW
	cbnz	w0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_wcscpy
LBB0_2:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_ErrorMessageBox
	ldur	x8, [x29, #-56]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	add	sp, sp, #1040
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_hInst,4,2                      ; @hInst
	.comm	_IDS_ERROR,4,2                  ; @IDS_ERROR
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	69                              ; 0x45
	.long	114                             ; 0x72
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	0                               ; 0x0

	.no_dead_strip	_error_code_messagebox
.subsections_via_symbols
