	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintErrorMessage              ## -- Begin function PrintErrorMessage
	.p2align	4, 0x90
_PrintErrorMessage:                     ## @PrintErrorMessage
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	_MIN_LANMAN_MESSAGE_ID@GOTPCREL(%rip), %rax
	movq	_FORMAT_MESSAGE_ALLOCATE_BUFFER@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	cmpq	%rbx, (%rax)
	ja	LBB0_3
## %bb.1:
	movq	_MAX_LANMAN_MESSAGE_ID@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jb	LBB0_3
## %bb.2:
	movq	_FORMAT_MESSAGE_FROM_HMODULE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_FORMAT_MESSAGE_IGNORE_INSERTS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_hModuleNetMsg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LANG_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-120(%rbp), %r8
	movq	$0, (%rsp)
	jmp	LBB0_4
LBB0_3:
	movq	_FORMAT_MESSAGE_FROM_SYSTEM@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_FORMAT_MESSAGE_IGNORE_INSERTS@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_LANG_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-120(%rbp), %r8
	movq	$0, (%rsp)
	xorl	%esi, %esi
LBB0_4:
	movq	%rbx, %rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_FormatMessageW
	movq	-120(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movq	_StdErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	l_.str(%rip), %rsi
	callq	_ConPrintf
	movq	-120(%rbp), %rdi
	callq	_LocalFree
	movq	$0, -120(%rbp)
LBB0_6:
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_9
## %bb.7:
	leaq	l_.str.1(%rip), %rsi
	leaq	-96(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_swprintf
	movq	%r14, -112(%rbp)
	movq	_FORMAT_MESSAGE_FROM_HMODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r15), %edi
	movq	_FORMAT_MESSAGE_ARGUMENT_ARRAY@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_hModuleNetMsg@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LANG_USER_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-120(%rbp), %r8
	leaq	-112(%rbp), %rax
	movq	%rax, (%rsp)
	movl	$3514, %edx                     ## imm = 0xDBA
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	xorl	%eax, %eax
	callq	_FormatMessageW
	movq	-120(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.8:
	movq	_StdErr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	l_.str(%rip), %rsi
	callq	_ConPrintf
	movq	-120(%rbp), %rdi
	callq	_LocalFree
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_LANMAN_MESSAGE_ID,8,3      ## @MIN_LANMAN_MESSAGE_ID
	.comm	_MAX_LANMAN_MESSAGE_ID,8,3      ## @MAX_LANMAN_MESSAGE_ID
	.comm	_FORMAT_MESSAGE_ALLOCATE_BUFFER,4,2 ## @FORMAT_MESSAGE_ALLOCATE_BUFFER
	.comm	_FORMAT_MESSAGE_FROM_HMODULE,4,2 ## @FORMAT_MESSAGE_FROM_HMODULE
	.comm	_FORMAT_MESSAGE_IGNORE_INSERTS,4,2 ## @FORMAT_MESSAGE_IGNORE_INSERTS
	.comm	_hModuleNetMsg,4,2              ## @hModuleNetMsg
	.comm	_LANG_USER_DEFAULT,4,2          ## @LANG_USER_DEFAULT
	.comm	_StdErr,4,2                     ## @StdErr
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	37                              ## 0x25
	.long	115                             ## 0x73
	.long	10                              ## 0xa
	.long	0                               ## 0x0

	.comm	_FORMAT_MESSAGE_FROM_SYSTEM,4,2 ## @FORMAT_MESSAGE_FROM_SYSTEM
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	37                              ## 0x25
	.long	108                             ## 0x6c
	.long	117                             ## 0x75
	.long	0                               ## 0x0

	.comm	_FORMAT_MESSAGE_ARGUMENT_ARRAY,4,2 ## @FORMAT_MESSAGE_ARGUMENT_ARRAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintErrorMessage              ; -- Begin function PrintErrorMessage
	.p2align	2
_PrintErrorMessage:                     ; @PrintErrorMessage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	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, #-56]
	str	xzr, [sp, #64]
Lloh3:
	adrp	x8, _MIN_LANMAN_MESSAGE_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MIN_LANMAN_MESSAGE_ID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
Lloh6:
	adrp	x8, _MAX_LANMAN_MESSAGE_ID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_LANMAN_MESSAGE_ID@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x8]
Lloh9:
	adrp	x22, _FORMAT_MESSAGE_ALLOCATE_BUFFER@GOTPAGE
Lloh10:
	ldr	x22, [x22, _FORMAT_MESSAGE_ALLOCATE_BUFFER@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	x9, x0
	ccmp	x10, x0, #0, ls
Lloh11:
	adrp	x23, _FORMAT_MESSAGE_FROM_HMODULE@GOTPAGE
Lloh12:
	ldr	x23, [x23, _FORMAT_MESSAGE_FROM_HMODULE@GOTPAGEOFF]
Lloh13:
	adrp	x20, _hModuleNetMsg@GOTPAGE
Lloh14:
	ldr	x20, [x20, _hModuleNetMsg@GOTPAGEOFF]
Lloh15:
	adrp	x21, _LANG_USER_DEFAULT@GOTPAGE
Lloh16:
	ldr	x21, [x21, _LANG_USER_DEFAULT@GOTPAGEOFF]
	b.hs	LBB0_2
; %bb.1:
Lloh17:
	adrp	x9, _FORMAT_MESSAGE_FROM_SYSTEM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FORMAT_MESSAGE_FROM_SYSTEM@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh20:
	adrp	x9, _FORMAT_MESSAGE_IGNORE_INSERTS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _FORMAT_MESSAGE_IGNORE_INSERTS@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	w8, [x21]
	stp	xzr, xzr, [sp, #24]
	add	x9, sp, #48
	stp	x8, x9, [sp, #8]
	str	x19, [sp]
	mov	w1, #0
	b	LBB0_3
LBB0_2:
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh23:
	adrp	x9, _FORMAT_MESSAGE_IGNORE_INSERTS@GOTPAGE
Lloh24:
	ldr	x9, [x9, _FORMAT_MESSAGE_IGNORE_INSERTS@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	w1, [x20]
	ldr	w8, [x21]
	stp	xzr, xzr, [sp, #24]
	add	x9, sp, #48
	stp	x8, x9, [sp, #8]
	str	x19, [sp]
LBB0_3:
	bl	_FormatMessageW
	ldr	x2, [sp, #48]
	cbz	x2, LBB0_5
; %bb.4:
Lloh26:
	adrp	x8, _StdErr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _StdErr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ConPrintf
	ldr	x0, [sp, #48]
	bl	_LocalFree
	str	xzr, [sp, #48]
LBB0_5:
Lloh31:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_8
; %bb.6:
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x24, sp, #72
	add	x0, sp, #72
	mov	x2, x19
	bl	_swprintf
	str	x24, [sp, #56]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _FORMAT_MESSAGE_ARGUMENT_ARRAY@GOTPAGE
Lloh37:
	ldr	x9, [x9, _FORMAT_MESSAGE_ARGUMENT_ARRAY@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	w1, [x20]
	ldr	w8, [x21]
	add	x9, sp, #56
	stp	xzr, x9, [sp, #24]
	add	x9, sp, #48
	stp	x8, x9, [sp, #8]
	mov	w9, #3514
	str	x9, [sp]
	bl	_FormatMessageW
	ldr	x2, [sp, #48]
	cbz	x2, LBB0_8
; %bb.7:
Lloh39:
	adrp	x8, _StdErr@GOTPAGE
Lloh40:
	ldr	x8, [x8, _StdErr@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x1, l_.str@PAGE
Lloh43:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ConPrintf
	ldr	x0, [sp, #48]
	bl	_LocalFree
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_LANMAN_MESSAGE_ID,8,3      ; @MIN_LANMAN_MESSAGE_ID
	.comm	_MAX_LANMAN_MESSAGE_ID,8,3      ; @MAX_LANMAN_MESSAGE_ID
	.comm	_FORMAT_MESSAGE_ALLOCATE_BUFFER,4,2 ; @FORMAT_MESSAGE_ALLOCATE_BUFFER
	.comm	_FORMAT_MESSAGE_FROM_HMODULE,4,2 ; @FORMAT_MESSAGE_FROM_HMODULE
	.comm	_FORMAT_MESSAGE_IGNORE_INSERTS,4,2 ; @FORMAT_MESSAGE_IGNORE_INSERTS
	.comm	_hModuleNetMsg,4,2              ; @hModuleNetMsg
	.comm	_LANG_USER_DEFAULT,4,2          ; @LANG_USER_DEFAULT
	.comm	_StdErr,4,2                     ; @StdErr
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	37                              ; 0x25
	.long	115                             ; 0x73
	.long	10                              ; 0xa
	.long	0                               ; 0x0

	.comm	_FORMAT_MESSAGE_FROM_SYSTEM,4,2 ; @FORMAT_MESSAGE_FROM_SYSTEM
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	37                              ; 0x25
	.long	108                             ; 0x6c
	.long	117                             ; 0x75
	.long	0                               ; 0x0

	.comm	_FORMAT_MESSAGE_ARGUMENT_ARRAY,4,2 ; @FORMAT_MESSAGE_ARGUMENT_ARRAY
.subsections_via_symbols
