	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function makepath
_makepath:                              ## @makepath
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_buf@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_prefix@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	_strcpy
	movq	(%rbx), %rax
	movq	_prefixlen@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpb	$47, -1(%rcx,%rax)
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcat
LBB0_2:
	movq	(%r15), %rdi
	movq	%r14, %rsi
	callq	_strcat
	movq	(%r15), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_buf,8,3                        ## @buf
	.comm	_prefix,8,3                     ## @prefix
	.comm	_prefixlen,4,2                  ## @prefixlen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/"

	.no_dead_strip	_makepath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function makepath
_makepath:                              ; @makepath
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _buf@GOTPAGE
Lloh1:
	ldr	x20, [x20, _buf@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x21, _prefix@GOTPAGE
Lloh3:
	ldr	x21, [x21, _prefix@GOTPAGEOFF]
	ldr	x1, [x21]
	bl	_strcpy
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _prefixlen@GOTPAGE
Lloh5:
	ldr	x9, [x9, _prefixlen@GOTPAGEOFF]
Lloh6:
	ldrsw	x9, [x9]
	add	x8, x9, x8
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x20]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcat
LBB0_2:
	ldr	x0, [x20]
	mov	x1, x19
	bl	_strcat
	ldr	x0, [x20]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_buf,8,3                        ; @buf
	.comm	_prefix,8,3                     ; @prefix
	.comm	_prefixlen,4,2                  ; @prefixlen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/"

	.no_dead_strip	_makepath
.subsections_via_symbols
