	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_colon_unit
_extract_colon_unit:                    ## @extract_colon_unit
	.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
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movslq	(%rdx), %rbx
	movq	%rsi, %rdi
	callq	_strlen
	cmpl	%eax, %ebx
	jae	LBB0_9
## %bb.2:
	addq	%r15, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	cmpb	$58, %al
	je	LBB0_3
## %bb.4:
	movb	%al, (%r12)
	xorl	%eax, %eax
	movq	_AG_PATH_MAX@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rax), %rdx
	cmpq	(%rsi), %rdx
	jae	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movzbl	(%rbx,%rax), %ecx
	movb	%cl, 1(%r12,%rax)
	movq	%rdx, %rax
	cmpb	$58, %cl
	jne	LBB0_5
## %bb.7:
	movb	$-128, (%r12,%rdx)
	addq	%rdx, %rbx
	jmp	LBB0_11
LBB0_9:
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_10:
	addq	%rax, %rbx
LBB0_11:
	subl	%r15d, %ebx
	movl	%ebx, (%r14)
LBB0_12:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AG_PATH_MAX,8,3                ## @AG_PATH_MAX
	.no_dead_strip	_extract_colon_unit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_colon_unit
_extract_colon_unit:                    ; @extract_colon_unit
	.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
	cbz	x1, LBB0_8
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldrsw	x22, [x2]
	mov	x0, x1
	bl	_strlen
	cmp	w22, w0
	b.hs	LBB0_8
; %bb.2:
	add	x8, x21, x22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8], #1
	cmp	w10, #58
	b.eq	LBB0_3
; %bb.4:
	mov	x9, #0
	strb	w10, [x19]
Lloh0:
	adrp	x10, _AG_PATH_MAX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AG_PATH_MAX@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x9, #1
	ldr	x12, [x10]
	cmp	x11, x12
	b.hs	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x12, x19, x9
	ldrb	w13, [x8, x9]
	strb	w13, [x12, #1]
	mov	x9, x11
	cmp	w13, #58
	b.ne	LBB0_5
; %bb.7:
	mov	w9, #128
	strb	w9, [x19, x11]
	add	x8, x8, x11
	b	LBB0_10
LBB0_8:
	mov	x19, #0
	b	LBB0_11
LBB0_9:
	add	x8, x8, x9
LBB0_10:
	sub	w8, w8, w21
	str	w8, [x20]
LBB0_11:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_AG_PATH_MAX,8,3                ; @AG_PATH_MAX
	.no_dead_strip	_extract_colon_unit
.subsections_via_symbols
