	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_old_data
_read_old_data:                         ## @read_old_data
	.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	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, %rbx
	cmpq	$0, (%rsi)
	jne	LBB0_1
## %bb.2:
	movq	_CONV_EOL_RENORMALIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CONV_EOL_KEEP_CRLF@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_S_IFMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_8
## %bb.4:
	movl	$-1, %r13d
	cmpl	$129, %ecx
	jne	LBB0_11
## %bb.5:
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strbuf_readlink
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jns	LBB0_11
## %bb.6:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_7
LBB0_8:
	movl	(%rax), %r12d
	movl	4(%rbx), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strbuf_read_file
	cmpl	4(%rbx), %eax
	jne	LBB0_9
## %bb.10:
	movl	(%r15), %ecx
	movl	4(%r15), %edx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%r15, %r8
	movl	%r12d, %r9d
	callq	_convert_to_git
LBB0_11:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
LBB0_7:
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONV_EOL_KEEP_CRLF,4,2         ## @CONV_EOL_KEEP_CRLF
	.comm	_CONV_EOL_RENORMALIZE,4,2       ## @CONV_EOL_RENORMALIZE
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to read symlink %s"

L_.str.1:                               ## @.str.1
	.asciz	"unable to open or read %s"

	.no_dead_strip	_read_old_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_old_data
_read_old_data:                         ; @read_old_data
	.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	x20, x3
	mov	x19, x2
	mov	x21, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _CONV_EOL_KEEP_CRLF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CONV_EOL_KEEP_CRLF@GOTPAGEOFF]
Lloh2:
	adrp	x10, _CONV_EOL_RENORMALIZE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CONV_EOL_RENORMALIZE@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w9, [x0]
Lloh4:
	adrp	x10, _S_IFMT@GOTPAGE
Lloh5:
	ldr	x10, [x10, _S_IFMT@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
	and	w9, w10, w9
	cmp	w9, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #129
	b.ne	LBB0_7
; %bb.2:
	ldr	w2, [x21, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_strbuf_readlink
	tbz	w0, #31, LBB0_6
; %bb.3:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_4:
	ldr	w22, [x8]
	ldr	w2, [x21, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_strbuf_read_file
	ldr	w8, [x21, #4]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.5:
	ldp	w3, w2, [x20]
	mov	x0, #0
	mov	x1, x19
	mov	x4, x20
	mov	x5, x22
	bl	_convert_to_git
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	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
LBB0_9:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	__
	mov	x1, x19
	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
	b	_error
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CONV_EOL_KEEP_CRLF,4,2         ; @CONV_EOL_KEEP_CRLF
	.comm	_CONV_EOL_RENORMALIZE,4,2       ; @CONV_EOL_RENORMALIZE
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to read symlink %s"

l_.str.1:                               ; @.str.1
	.asciz	"unable to open or read %s"

	.no_dead_strip	_read_old_data
.subsections_via_symbols
