	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_rel2abs_path                ## -- Begin function os_rel2abs_path
	.p2align	4, 0x90
_os_rel2abs_path:                       ## @os_rel2abs_path
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpb	$47, (%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_os_strdup                      ## TAILCALL
LBB0_2:
	movl	$128, %ebx
	movl	$128, %edi
	callq	_os_malloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %r12
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_errno@GOTPCREL(%rip), %r14
	movq	_ERANGE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_getcwd
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_os_free
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	%rbx, %rbx
	movq	%rbx, %rdi
	callq	_os_malloc
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_4
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_9:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_os_strlen
	movq	%rax, %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_os_strlen
	movq	%rax, %r15
	leaq	(%r14,%rax), %rdi
	addq	$2, %rdi
	callq	_os_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	(%r14,%r15), %rax
	incq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_os_memcpy
	movb	$47, (%rbx,%r14)
	leaq	(%rbx,%r14), %rdi
	incq	%rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_os_memcpy
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rbx,%rax)
LBB0_11:
	movq	%r12, %rdi
	callq	_os_free
LBB0_13:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_rel2abs_path                ; -- Begin function os_rel2abs_path
	.p2align	2
_os_rel2abs_path:                       ; @os_rel2abs_path
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldrb	w8, [x0]
	cmp	w8, #47
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_os_strdup
LBB0_2:
	mov	w0, #128
	bl	_os_malloc
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
	mov	w21, #128
Lloh0:
	adrp	x23, _errno@GOTPAGE
Lloh1:
	ldr	x23, [x23, _errno@GOTPAGEOFF]
Lloh2:
	adrp	x24, _ERANGE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ERANGE@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_getcwd
	cbnz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_os_free
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x21, x21, #1
	mov	x0, x21
	bl	_os_malloc
	mov	x20, x0
	cbnz	x0, LBB0_4
LBB0_7:
	mov	x21, #0
	b	LBB0_11
LBB0_8:
	mov	x22, x0
	bl	_os_strlen
	mov	x24, x0
	mov	x0, x19
	bl	_os_strlen
	mov	x23, x0
	add	x25, x24, x0
	add	x0, x25, #2
	bl	_os_malloc
	mov	x21, x0
	cbz	x0, LBB0_10
; %bb.9:
	add	x25, x25, #1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	bl	_os_memcpy
	add	x0, x21, x24
	mov	w8, #47
	strb	w8, [x0], #1
	mov	x1, x19
	mov	x2, x23
	bl	_os_memcpy
	strb	wzr, [x21, x25]
LBB0_10:
	mov	x0, x20
	bl	_os_free
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
.subsections_via_symbols
