	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ShowUsage
_ShowUsage:                             ## @ShowUsage
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	L_.str(%rip), %rdi
	callq	_GetModuleHandleA
	movl	%eax, %r15d
	movq	$0, (%r12)
	movl	%eax, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_GetModuleFileNameW
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_WINE_ERR
LBB0_2:
	movl	$40, -372(%rbp)
	movq	$0, -368(%rbp)
	leaq	-368(%rbp), %rsi
	leaq	-372(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_MsiGetFileVersionW
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_WINE_ERR
LBB0_4:
	leaq	-384(%rbp), %rdx
	movl	%r15d, %edi
	movl	$10, %esi
	xorl	%ecx, %ecx
	callq	_LoadStringW
	movl	%eax, -372(%rbp)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-372(%rbp), %ecx
	leal	8(,%rcx,8), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, -384(%rbp)
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-372(%rbp), %ecx
	leal	328(,%rcx,8), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %rbx
	movq	-384(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.6:
	movq	$0, (%rdx)
	movl	-372(%rbp), %ecx
	incl	%ecx
	movl	%r15d, %edi
	movl	$10, %esi
	callq	_LoadStringW
	movq	-384(%rbp), %rsi
	leaq	-368(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_sprintfW
	xorl	%eax, %eax
	callq	_GetUserDefaultLangID
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	callq	_MsiMessageBoxW
LBB0_7:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	-384(%rbp), %rdx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapFree
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
	movl	%r14d, %edi
	callq	_ExitProcess
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msi.dll"

L_.str.1:                               ## @.str.1
	.asciz	"GetModuleFileName failed: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"MsiGetFileVersion failed with %d\n"

	.no_dead_strip	_ShowUsage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ShowUsage
_ShowUsage:                             ; @ShowUsage
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #352
	mov	x19, sp
	mov	x20, x0
	mov	x24, sp
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_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	lsl	x8, x23, #3
	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, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GetModuleHandleA
	mov	x21, x0
	str	xzr, [x22]
	mov	x1, x22
	mov	x2, x23
	bl	_GetModuleFileNameW
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_GetLastError
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WINE_ERR
LBB0_2:
	mov	w8, #40
	str	w8, [x19, #12]
	str	xzr, [x19, #24]
	add	x1, x19, #24
	add	x2, x19, #12
	mov	x0, x22
	mov	x3, #0
	mov	x4, #0
	bl	_MsiGetFileVersionW
	cbz	w0, LBB0_4
; %bb.3:
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_WINE_ERR
LBB0_4:
	add	x2, x19, #16
	mov	x0, x21
	mov	w1, #10
	mov	w3, #0
	bl	_LoadStringW
	str	w0, [x19, #12]
	bl	_GetProcessHeap
	ldr	w8, [x19, #12]
	lsl	w8, w8, #3
	add	w2, w8, #8
	mov	w1, #0
	bl	_HeapAlloc
	str	x0, [x19, #16]
	bl	_GetProcessHeap
	ldr	w8, [x19, #12]
	lsl	w8, w8, #3
	add	w2, w8, #328
	mov	w1, #0
	bl	_HeapAlloc
	mov	x22, x0
	ldr	x2, [x19, #16]
	cbz	x2, LBB0_7
; %bb.5:
	cbz	x22, LBB0_7
; %bb.6:
	str	xzr, [x2]
	ldr	w8, [x19, #12]
	add	w3, w8, #1
	mov	x0, x21
	mov	w1, #10
	bl	_LoadStringW
	ldr	x1, [x19, #16]
	add	x2, x19, #24
	mov	x0, x22
	bl	_sprintfW
	bl	_GetUserDefaultLangID
	mov	x4, x0
	mov	w0, #0
	mov	x1, x22
	mov	x2, #0
	mov	w3, #0
	mov	w5, #0
	bl	_MsiMessageBoxW
LBB0_7:
	bl	_GetProcessHeap
	ldr	x2, [x19, #16]
	mov	w1, #0
	bl	_HeapFree
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x22
	bl	_HeapFree
	mov	x0, x20
	bl	_ExitProcess
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msi.dll"

l_.str.1:                               ; @.str.1
	.asciz	"GetModuleFileName failed: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"MsiGetFileVersion failed with %d\n"

	.no_dead_strip	_ShowUsage
.subsections_via_symbols
