	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_paths
_fixup_paths:                           ## @fixup_paths
	.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, %rbx
	movq	(%rdi), %rdi
	movq	_file_from_standard_input@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdi
	je	LBB0_4
## %bb.1:
	cmpq	%rax, 8(%rbx)
	je	LBB0_4
## %bb.2:
	movq	%rsi, %r14
	callq	_is_directory
	movl	%eax, %r15d
	movq	8(%rbx), %rdi
	callq	_is_directory
	cmpl	%eax, %r15d
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	testl	%r15d, %r15d
	setne	%al
	sete	%r12b
	movq	(%rbx,%r12,8), %rsi
	movq	(%rbx,%rax,8), %rdx
	movq	%r14, %rdi
	callq	_append_basename
	movq	(%r14), %rax
	movq	%rax, (%rbx,%r12,8)
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_file_from_standard_input,8,3   ## @file_from_standard_input
	.no_dead_strip	_fixup_paths
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_paths
_fixup_paths:                           ; @fixup_paths
	.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
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _file_from_standard_input@GOTPAGE
Lloh1:
	ldr	x8, [x8, _file_from_standard_input@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	x9, x8
	b.eq	LBB0_4
; %bb.2:
	mov	x20, x1
	bl	_is_directory
	mov	x21, x0
	ldr	x0, [x19, #8]
	bl	_is_directory
	cmp	w21, w0
	b.eq	LBB0_4
; %bb.3:
	cmp	w21, #0
	cset	w8, ne
	cset	w9, eq
	lsl	x21, x9, #3
	ldr	x1, [x19, x21]
	ldr	x2, [x19, w8, uxtw #3]
	mov	x0, x20
	bl	_append_basename
	ldr	x8, [x20]
	str	x8, [x19, x21]
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_file_from_standard_input,8,3   ; @file_from_standard_input
	.no_dead_strip	_fixup_paths
.subsections_via_symbols
