	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfullpath                      ## -- Begin function xfullpath
	.p2align	4, 0x90
_xfullpath:                             ## @xfullpath
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_lbasename
	movq	%rax, %rbx
	subq	%r15, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	leaq	2(%rbx), %rdi
	callq	_alloca
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strncpy
	movb	$0, (%r12,%rbx)
	movq	%r12, %rdi
	callq	_gdb_realpath
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	cltq
	movsbl	-1(%rax,%rbx), %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_concat
	jmp	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
LBB0_3:
	movq	_SLASH_STRING@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_concat
LBB0_4:
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_xfree
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLASH_STRING,4,2               ## @SLASH_STRING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xfullpath                      ; -- Begin function xfullpath
	.p2align	2
_xfullpath:                             ; @xfullpath
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
	bl	_lbasename
	subs	x21, x0, x20
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, x21, #2
	bl	_alloca
	mov	x22, x0
	mov	x1, x20
	mov	x2, x21
	bl	_strncpy
	strb	wzr, [x22, x21]
	mov	x0, x22
	bl	_gdb_realpath
	mov	x20, x0
	bl	_strlen
	add	x8, x20, w0, sxtw
	ldursb	w0, [x8, #-1]
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	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
	add	sp, sp, #64
	b	_xstrdup
LBB0_4:
Lloh0:
	adrp	x8, _SLASH_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SLASH_STRING@GOTPAGEOFF]
Lloh2:
	ldrsw	x1, [x8]
	str	xzr, [sp]
	mov	x0, x20
	mov	x2, x19
LBB0_5:
	bl	_concat
	mov	x19, x0
	mov	x0, x20
	bl	_xfree
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SLASH_STRING,4,2               ; @SLASH_STRING
.subsections_via_symbols
