	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_win32_offset_1st_component     ## -- Begin function win32_offset_1st_component
	.p2align	4, 0x90
_win32_offset_1st_component:            ## @win32_offset_1st_component
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	%rdi, -24(%rbp)
	leaq	-24(%rbp), %rdi
	callq	_skip_dos_drive_prefix
	testl	%eax, %eax
	je	LBB0_1
LBB0_9:
	movq	-24(%rbp), %rbx
	movsbl	(%rbx), %edi
	callq	_is_dir_sep
	addl	%eax, %ebx
	subl	%r14d, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	-24(%rbp), %rax
	movsbl	(%rax), %edi
	callq	_is_dir_sep
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movq	-24(%rbp), %rax
	movsbl	1(%rax), %edi
	callq	_is_dir_sep
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	movq	-24(%rbp), %rdi
	addq	$2, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strpbrk
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rcx
	incq	%rcx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -24(%rbp)
	movzbl	1(%rax), %eax
	testb	%al, %al
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%al, %edi
	callq	_is_dir_sep
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-24(%rbp), %rax
	leaq	1(%rax), %rcx
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\/"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_win32_offset_1st_component     ; -- Begin function win32_offset_1st_component
	.p2align	2
_win32_offset_1st_component:            ; @win32_offset_1st_component
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	x0, [sp, #8]
	add	x0, sp, #8
	bl	_skip_dos_drive_prefix
	cbz	w0, LBB0_3
LBB0_1:
	ldr	x20, [sp, #8]
	ldrsb	w0, [x20]
	bl	_is_dir_sep
	add	w8, w20, w0
	sub	w0, w8, w19
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	ldr	x8, [sp, #8]
	ldrsb	w0, [x8]
	bl	_is_dir_sep
	cbz	w0, LBB0_1
; %bb.4:
	ldr	x8, [sp, #8]
	ldrsb	w0, [x8, #1]
	bl	_is_dir_sep
	cbz	w0, LBB0_1
; %bb.5:
	ldr	x8, [sp, #8]
	add	x0, x8, #2
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strpbrk
	cbz	x0, LBB0_2
; %bb.6:
	add	x8, x0, #1
	str	x8, [sp, #8]
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_is_dir_sep
	cbnz	w0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	add	x9, x8, #1
	str	x9, [sp, #8]
	ldrb	w8, [x8, #1]
	cbnz	w8, LBB0_7
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\/"

.subsections_via_symbols
