	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AppendFullPathURL
_AppendFullPathURL:                     ## @AppendFullPathURL
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r13, %rdi
	callq	_debugstr_w
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_TRACE
	movq	%r12, %rdi
	callq	_ARRAY_SIZE
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_GetFullPathNameW
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	cmpb	$47, (%r15)
	leaq	_AppendFullPathURL.empty(%rip), %rax
	leaq	_AppendFullPathURL.slash(%rip), %rcx
	cmoveq	%rax, %rcx
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_WARN
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	leaq	_AppendFullPathURL.empty(%rip), %rcx
LBB0_5:
	leaq	_AppendFullPathURL.url_format(%rip), %rsi
	movl	%r14d, %edi
	movq	%r12, %rdx
	movq	%r15, %r8
	callq	_wsprintfW
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @AppendFullPathURL.url_format
_AppendFullPathURL.url_format:
	.asciz	"mk:@MSITStore:%s::%s%s"

_AppendFullPathURL.slash:               ## @AppendFullPathURL.slash
	.asciz	"/"

_AppendFullPathURL.empty:               ## @AppendFullPathURL.empty
	.space	1

	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %p %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"GetFullPathName failed: %u\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_AppendFullPathURL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AppendFullPathURL
_AppendFullPathURL:                     ; @AppendFullPathURL
	.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, #16
	mov	x19, x2
	mov	x20, x1
	mov	x22, 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, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	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, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	bl	_debugstr_w
	mov	x23, x0
	mov	x0, x19
	bl	_debugstr_w
	mov	x3, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	mov	x2, x20
	bl	_TRACE
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	mov	x3, #0
	bl	_GetFullPathNameW
	cbz	w0, LBB0_4
; %bb.1:
Lloh10:
	adrp	x3, _AppendFullPathURL.empty@PAGE
Lloh11:
	add	x3, x3, _AppendFullPathURL.empty@PAGEOFF
	cbz	x19, LBB0_3
; %bb.2:
	ldrb	w8, [x19]
Lloh12:
	adrp	x9, _AppendFullPathURL.slash@PAGE
Lloh13:
	add	x9, x9, _AppendFullPathURL.slash@PAGEOFF
	cmp	w8, #47
	csel	x3, x3, x9, eq
LBB0_3:
Lloh14:
	adrp	x1, _AppendFullPathURL.url_format@PAGE
Lloh15:
	add	x1, x1, _AppendFullPathURL.url_format@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	mov	x4, x19
	bl	_wsprintfW
Lloh16:
	adrp	x8, _TRUE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	bl	_GetLastError
	mov	x1, x0
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_WARN
Lloh20:
	adrp	x8, _FALSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	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_7:
	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 AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_AppendFullPathURL.url_format:          ; @AppendFullPathURL.url_format
	.asciz	"mk:@MSITStore:%s::%s%s"

_AppendFullPathURL.slash:               ; @AppendFullPathURL.slash
	.asciz	"/"

_AppendFullPathURL.empty:               ; @AppendFullPathURL.empty
	.space	1

	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %p %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"GetFullPathName failed: %u\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_AppendFullPathURL
.subsections_via_symbols
