	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintMessageString             ## -- Begin function PrintMessageString
	.p2align	4, 0x90
_PrintMessageString:                    ## @PrintMessageString
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%edi, %edx
	movq	_FORMAT_MESSAGE_ALLOCATE_BUFFER@GOTPCREL(%rip), %rax
	movq	_FORMAT_MESSAGE_FROM_HMODULE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	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	-8(%rbp), %r8
	movq	$0, (%rsp)
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%r9d, %r9d
	callq	_FormatMessageW
	movq	-8(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	_StdOut@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ConPuts
	movq	-8(%rbp), %rdi
	callq	_LocalFree
LBB0_2:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_StdOut,4,2                     ## @StdOut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PrintMessageString             ; -- Begin function PrintMessageString
	.p2align	2
_PrintMessageString:                    ; @PrintMessageString
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x0
Lloh0:
	adrp	x8, _FORMAT_MESSAGE_ALLOCATE_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_MESSAGE_ALLOCATE_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FORMAT_MESSAGE_FROM_HMODULE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FORMAT_MESSAGE_FROM_HMODULE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _FORMAT_MESSAGE_IGNORE_INSERTS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FORMAT_MESSAGE_IGNORE_INSERTS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w8, w9
Lloh9:
	adrp	x8, _hModuleNetMsg@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hModuleNetMsg@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _LANG_USER_DEFAULT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LANG_USER_DEFAULT@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	w5, #0
	mov	x6, #0
	bl	_FormatMessageW
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _StdOut@GOTPAGE
Lloh16:
	ldr	x8, [x8, _StdOut@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_ConPuts
	ldr	x0, [sp, #8]
	bl	_LocalFree
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.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	_StdOut,4,2                     ; @StdOut
.subsections_via_symbols
