	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_winemenubuilder
_run_winemenubuilder:                   ## @run_winemenubuilder
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	(%rbx), %ebx
	leaq	_run_winemenubuilder.menubuilder(%rip), %r12
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	subl	%eax, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_GetSystemDirectoryW
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_lstrcatW
	movq	%r14, %rdi
	callq	_lstrlenW
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_lstrlenW
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rbx,%rax), %edi
	incl	%edi
	callq	_heap_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_lstrcpyW
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_lstrcatW
	movq	%rbx, %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TRACE
	leaq	-56(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$4, -56(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_Wow64DisableWow64FsRedirection
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_DETACHED_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$32, %rsp
	leaq	-64(%rbp), %rax
	movq	%rax, 24(%rsp)
	movq	%r12, 16(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_CreateProcessW
	addq	$32, %rsp
	movq	%rax, %r14
	movq	-72(%rbp), %rdi
	callq	_Wow64RevertWow64FsRedirection
	movq	%rbx, %rdi
	callq	_heap_free
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movl	-60(%rbp), %edi
	callq	_CloseHandle
	movl	-64(%rbp), %edi
	callq	_CloseHandle
	movq	%r14, %r15
	jmp	LBB0_4
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_4:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @run_winemenubuilder.menubuilder
_run_winemenubuilder.menubuilder:
	.asciz	"\\winemenubuilder.exe"

	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"starting %s\n"

	.comm	_DETACHED_PROCESS,4,2           ## @DETACHED_PROCESS
	.no_dead_strip	_run_winemenubuilder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_winemenubuilder
_run_winemenubuilder:                   ; @run_winemenubuilder
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #32
	mov	x21, x0
	mov	x22, sp
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	x12, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x12, [x12, _MAX_PATH@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	w23, [x12]
Lloh7:
	adrp	x20, _run_winemenubuilder.menubuilder@PAGE
Lloh8:
	add	x20, x20, _run_winemenubuilder.menubuilder@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	sub	w1, w23, w0
	mov	x0, x19
	bl	_GetSystemDirectoryW
	mov	x0, x19
	mov	x1, x20
	bl	_lstrcatW
	mov	x0, x19
	bl	_lstrlenW
	mov	x20, x0
	mov	x0, x21
	bl	_lstrlenW
	add	w8, w20, w0
	add	w0, w8, #1
	bl	_heap_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x1, x19
	bl	_lstrcpyW
	mov	x0, x20
	mov	x1, x21
	bl	_lstrcatW
	mov	x0, x20
	bl	_debugstr_w
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	sub	x21, x29, #64
	mov	w23, #4
	sub	x0, x29, #64
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	stur	w23, [x29, #-64]
	sub	x0, x29, #80
	bl	_Wow64DisableWow64FsRedirection
Lloh11:
	adrp	x8, _FALSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh13:
	ldr	x4, [x8]
Lloh14:
	adrp	x8, _DETACHED_PROCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DETACHED_PROCESS@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	sub	x8, x29, #72
	stp	x21, x8, [sp, #-16]!
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	mov	x6, #0
	mov	x7, #0
	bl	_CreateProcessW
	add	sp, sp, #16
	mov	x19, x0
	ldur	x0, [x29, #-80]
	bl	_Wow64RevertWow64FsRedirection
	mov	x0, x20
	bl	_heap_free
	cbz	x19, LBB0_4
; %bb.2:
	ldur	w0, [x29, #-68]
	bl	_CloseHandle
	ldur	w0, [x29, #-72]
	bl	_CloseHandle
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _FALSE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh19:
	ldr	x19, [x8]
LBB0_4:
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	sub	sp, x29, #48
	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	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_run_winemenubuilder.menubuilder:       ; @run_winemenubuilder.menubuilder
	.asciz	"\\winemenubuilder.exe"

	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"starting %s\n"

	.comm	_DETACHED_PROCESS,4,2           ; @DETACHED_PROCESS
	.no_dead_strip	_run_winemenubuilder
.subsections_via_symbols
