	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_sysrooted_pathname
_is_sysrooted_pathname:                 ## @is_sysrooted_pathname
	.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	_ld_canon_sysroot@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movl	%esi, %r14d
	callq	_lrealpath
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	movq	_ld_canon_sysroot_len@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.4:
	cmpl	%ecx, %eax
	je	LBB0_8
LBB0_5:
	cmpl	%ecx, %eax
	jl	LBB0_10
## %bb.6:
	movslq	%ecx, %rax
	movsbl	(%r15,%rax), %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movslq	(%r12), %rax
	movb	$0, (%r15,%rax)
LBB0_8:
	movq	(%rbx), %rdi
	movq	%r15, %rsi
	callq	_FILENAME_CMP
	testq	%rax, %rax
	je	LBB0_9
LBB0_10:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_free
LBB0_12:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ld_canon_sysroot,8,3           ## @ld_canon_sysroot
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_ld_canon_sysroot_len,4,2       ## @ld_canon_sysroot_len
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_is_sysrooted_pathname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_sysrooted_pathname
_is_sysrooted_pathname:                 ; @is_sysrooted_pathname
	.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
Lloh0:
	adrp	x21, _ld_canon_sysroot@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ld_canon_sysroot@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.1:
	mov	x20, x1
	bl	_lrealpath
	cbz	x0, LBB0_9
; %bb.2:
	mov	x19, x0
	bl	_strlen
Lloh2:
	adrp	x22, _ld_canon_sysroot_len@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ld_canon_sysroot_len@GOTPAGEOFF]
	ldr	w8, [x22]
	cbnz	w20, LBB0_4
; %bb.3:
	cmp	w0, w8
	b.eq	LBB0_7
LBB0_4:
	sxtw	x8, w8
	cmp	w0, w8
	b.lt	LBB0_8
; %bb.5:
	ldrsb	w0, [x19, x8]
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_8
; %bb.6:
	ldrsw	x8, [x22]
	strb	wzr, [x19, x8]
LBB0_7:
	ldr	x0, [x21]
	mov	x1, x19
	bl	_FILENAME_CMP
	cbz	x0, LBB0_10
LBB0_8:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_12
LBB0_10:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_11:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_free
LBB0_12:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ld_canon_sysroot,8,3           ; @ld_canon_sysroot
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_ld_canon_sysroot_len,4,2       ; @ld_canon_sysroot_len
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_is_sysrooted_pathname
.subsections_via_symbols
