	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lstrip_ref_components
_lstrip_ref_components:                 ## @lstrip_ref_components
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_xstrdup
	movq	%rax, %r14
	testl	%r15d, %r15d
	jns	LBB0_7
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rax), %ecx
	testb	%cl, %cl
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$47, %cl
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	jmp	LBB0_2
LBB0_6:
	addl	%eax, %r15d
	incl	%r15d
LBB0_7:
	movq	%r14, %rdi
	testl	%r15d, %r15d
	jle	LBB0_14
## %bb.8:
	movl	%r15d, %eax
	movq	%r14, %rdi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	decq	%rax
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdi
	testq	%rax, %rax
	jle	LBB0_14
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rdi), %ecx
	cmpl	$47, %ecx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%ecx, %ecx
	jne	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_free
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
LBB0_14:
	callq	_xstrdup
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_free
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_lstrip_ref_components
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lstrip_ref_components
_lstrip_ref_components:                 ; @lstrip_ref_components
	.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, x1
	mov	x21, x0
	bl	_xstrdup
	mov	x19, x0
	tbz	w20, #31, LBB0_6
; %bb.1:
	mov	x8, #0
	ldrb	w9, [x21, x8]
	cbnz	w9, LBB0_3
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldrb	w9, [x21, x8]
	cbz	w9, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #47
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	ldrb	w9, [x21, x8]
	cbnz	w9, LBB0_3
LBB0_5:
	add	w8, w8, w20
	add	w20, w8, #1
LBB0_6:
	mov	x0, x19
	cmp	w20, #1
	b.lt	LBB0_13
; %bb.7:
	mov	w8, w20
	mov	x0, x19
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	sub	x8, x8, #1
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	cmp	x8, #0
	b.le	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	w9, [x0], #1
	cmp	w9, #47
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cbnz	w9, LBB0_9
; %bb.12:
	mov	x0, x19
	bl	_free
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	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	_xstrdup
LBB0_13:
	bl	_xstrdup
	mov	x20, x0
	mov	x0, x19
	bl	_free
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_lstrip_ref_components
.subsections_via_symbols
