	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcc_split_path
_tcc_split_path:                        ## @tcc_split_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	%rcx, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	-48(%rbp), %r13
	movq	_PATHSEP@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_cstr_ccat
	movl	-48(%rbp), %edx
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_dynarray_add
	cmpb	$0, (%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	%r13, %rdi
	callq	_cstr_new
	movsbl	(%rbx), %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=2
	movsbl	%al, %esi
	movq	%r13, %rdi
	callq	_cstr_ccat
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=2
	movsbl	1(%rbx), %eax
	incq	%rbx
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpl	%eax, (%r14)
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$123, %al
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=2
	movzbl	1(%rbx), %ecx
	testb	%cl, %cl
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=2
	cmpb	$125, 2(%rbx)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=2
	addq	$2, %rbx
	cmpb	$66, %cl
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=2
	movl	(%r12), %esi
	movq	%r13, %rdi
	callq	_cstr_cat
	jmp	LBB0_10
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATHSEP,4,2                    ## @PATHSEP
	.no_dead_strip	_tcc_split_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcc_split_path
_tcc_split_path:                        ; @tcc_split_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _PATHSEP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PATHSEP@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	mov	w1, #0
	bl	_cstr_ccat
	ldr	w2, [sp, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_dynarray_add
	ldrb	w8, [x22], #1
	cbz	w8, LBB0_12
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	add	x0, sp, #8
	bl	_cstr_new
	ldrsb	w8, [x22]
	ldr	w9, [x23]
	cmp	w8, #0
	ccmp	w9, w8, #4, ne
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	and	w8, w8, #0xff
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=2
	sxtb	w1, w8
	add	x0, sp, #8
	bl	_cstr_ccat
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldrsb	w9, [x22, #1]!
	and	w8, w9, #0xff
	ldr	w10, [x23]
	cmp	w9, #0
	ccmp	w10, w9, #4, ne
	b.eq	LBB0_1
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w9, w8, #0xff
	cmp	w9, #123
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldrb	w9, [x22, #1]
	cbz	w9, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x24, x22
	ldrb	w10, [x24, #2]!
	cmp	w10, #125
	b.ne	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w9, #66
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	ldr	w1, [x21]
	add	x0, sp, #8
	bl	_cstr_cat
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x22, x24
	b	LBB0_5
LBB0_12:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PATHSEP,4,2                    ; @PATHSEP
	.no_dead_strip	_tcc_split_path
.subsections_via_symbols
