	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function abspath
_abspath:                               ## @abspath
	.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	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	movq	_cwd_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_strlen
	leaq	(%r14,%rax), %rdi
	addq	$2, %rdi
	callq	_alloca
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_IS_ABSOLUTE_PATH
	movq	%r14, %rcx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	%r14, %rcx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	movb	%al, (%rcx)
	incq	%rcx
	testb	%al, %al
	jne	LBB0_4
## %bb.5:
	movq	_DIR_SEPARATOR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, -1(%rcx)
LBB0_6:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%rax), %edx
	movb	%dl, (%rcx,%rax)
	incq	%rax
	testb	%dl, %dl
	jne	LBB0_7
## %bb.8:
	leaq	1(%r14), %rbx
	movb	1(%r14), %al
	testb	%al, %al
	je	LBB0_9
## %bb.10:
	movq	%rbx, %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_25 Depth 2
	movsbl	%al, %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movsbl	-1(%r12), %edi
	callq	_IS_DIR_SEPARATOR
	movl	$1, %ecx
	testq	%rax, %rax
	jne	LBB0_13
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$46, (%rbx)
	jne	LBB0_34
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movsbl	-1(%r12), %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_34
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movb	1(%rbx), %al
	testb	%al, %al
	je	LBB0_31
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movsbl	%al, %edi
	callq	_IS_DIR_SEPARATOR
	movl	$2, %ecx
	testq	%rax, %rax
	je	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	(%rbx,%rcx), %al
	addq	%rcx, %rbx
	testb	%al, %al
	jne	LBB0_11
	jmp	LBB0_31
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpb	$46, 1(%rbx)
	jne	LBB0_34
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movb	2(%rbx), %al
	testb	%al, %al
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=1
	movsbl	%al, %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_34
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	movb	2(%rbx), %al
	jmp	LBB0_23
LBB0_34:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	(%rbx), %al
	incq	%rbx
	movb	%al, (%r12)
	incq	%r12
LBB0_29:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	(%rbx), %al
	testb	%al, %al
	jne	LBB0_11
	jmp	LBB0_31
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	movsbl	%al, %edi
	callq	_IS_DIR_SEPARATOR
	cmpq	$1, %rax
	sbbq	$0, %rbx
	leaq	-2(%r12), %rax
	cmpq	%r14, %rax
	jb	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	$3, %rbx
	decq	%r12
	.p2align	4, 0x90
LBB0_25:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	-1(%r12), %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	jne	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=2
	leaq	-1(%r12), %rax
	addq	$-2, %r12
	cmpq	%r14, %r12
	movq	%rax, %r12
	jae	LBB0_25
	jmp	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	movb	$0, (%r12)
	jmp	LBB0_29
LBB0_9:
	movq	%rbx, %r12
LBB0_31:
	movb	$0, (%r12)
	movsbl	-1(%r12), %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:
	decq	%r12
	movb	$0, (%r12)
LBB0_33:
	subl	%r14d, %r12d
	movq	%r14, %rdi
	movl	%r12d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_savestring                     ## TAILCALL
LBB0_27:
	movq	_pname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rdx
	callq	_notice
	movq	_FATAL_EXIT_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_cwd_buffer,8,3                 ## @cwd_buffer
	.comm	_DIR_SEPARATOR,1,0              ## @DIR_SEPARATOR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: invalid file name: %s\n"

	.comm	_pname,4,2                      ## @pname
	.comm	_FATAL_EXIT_CODE,4,2            ## @FATAL_EXIT_CODE
	.no_dead_strip	_abspath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function abspath
_abspath:                               ; @abspath
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
Lloh0:
	adrp	x8, _cwd_buffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cwd_buffer@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x21, x8, x0, eq
	mov	x0, x21
	bl	_strlen
	mov	x19, x0
	mov	x0, x20
	bl	_strlen
	add	x8, x19, x0
	add	x0, x8, #2
	bl	_alloca
	mov	x19, x0
	mov	x0, x20
	bl	_IS_ABSOLUTE_PATH
	mov	x8, x19
	cbnz	w0, LBB0_4
; %bb.1:
	mov	x8, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21], #1
	strb	w9, [x8], #1
	cbnz	w9, LBB0_2
; %bb.3:
Lloh3:
	adrp	x9, _DIR_SEPARATOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DIR_SEPARATOR@GOTPAGEOFF]
	ldrb	w9, [x9]
	sturb	w9, [x8, #-1]
LBB0_4:
	mov	x9, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20, x9]
	strb	w10, [x8, x9]
	add	x9, x9, #1
	cbnz	w10, LBB0_5
; %bb.6:
	mov	x22, x19
	ldrb	w8, [x22, #1]!
	cbz	w8, LBB0_28
; %bb.7:
	mov	w23, #2
	mov	x21, x22
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_24 Depth 2
	sxtb	w0, w8
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldursb	w0, [x21, #-1]
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #1
	b	LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #46
	b.ne	LBB0_26
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldursb	w0, [x21, #-1]
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22, #1]
	cbz	w8, LBB0_29
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	sxtb	w0, w8
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w8, #2
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, x8
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22]
	cbnz	w8, LBB0_8
	b	LBB0_29
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22, #1]
	cmp	w8, #46
	b.ne	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22, #2]
	cbz	w8, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	sxtb	w0, w8
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22, #2]
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	sxtb	w0, w8
	bl	_IS_DIR_SEPARATOR
	cmp	x0, #0
	cinc	x8, x23, ne
	sub	x9, x21, #2
	cmp	x9, x19
	b.lo	LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x22, x22, x8
	sub	x21, x21, #1
LBB0_24:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldursb	w0, [x21, #-1]
	bl	_IS_DIR_SEPARATOR
	cbnz	x0, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=2
	sub	x8, x21, #2
	sub	x21, x21, #1
	cmp	x8, x19
	b.hs	LBB0_24
	b	LBB0_32
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w8, [x22], #1
	strb	w8, [x21], #1
	b	LBB0_17
LBB0_27:                                ;   in Loop: Header=BB0_8 Depth=1
	strb	wzr, [x21]
	b	LBB0_17
LBB0_28:
	mov	x21, x22
LBB0_29:
	strb	wzr, [x21]
	mov	x20, x21
	ldrsb	w0, [x20, #-1]!
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_31
; %bb.30:
	strb	wzr, [x20]
	mov	x21, x20
LBB0_31:
	sub	w1, w21, w19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_savestring
LBB0_32:
Lloh5:
	adrp	x8, _pname@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pname@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_notice
Lloh10:
	adrp	x8, _FATAL_EXIT_CODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FATAL_EXIT_CODE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cwd_buffer,8,3                 ; @cwd_buffer
	.comm	_DIR_SEPARATOR,1,0              ; @DIR_SEPARATOR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: invalid file name: %s\n"

	.comm	_pname,4,2                      ; @pname
	.comm	_FATAL_EXIT_CODE,4,2            ; @FATAL_EXIT_CODE
	.no_dead_strip	_abspath
.subsections_via_symbols
