	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_selector                 ## -- Begin function parse_selector
	.p2align	4, 0x90
_parse_selector:                        ## @parse_selector
	.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	%rdi, %r13
	xorl	%edi, %edi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	setne	%dil
	callq	_gdb_assert
	addq	$-2, %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	2(%r13), %edi
	callq	_isspace
	incq	%r13
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movb	1(%r13), %al
	xorl	%r14d, %r14d
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	cmpb	$39, %al
	sete	%r14b
	leaq	(%r14,%r13), %r12
	decq	%r12
	leaq	(%r14,%r13), %rbx
	addq	$-2, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	1(%r13,%r14), %edi
	callq	_isspace
	incq	%r12
	incq	%rbx
	incq	%r13
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	addq	%r14, %r13
	movq	%r13, %r14
	movq	%r13, %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movb	%cl, (%r14)
	incq	%r14
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	incq	%r12
	incq	%rbx
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15), %edi
	callq	_isalnum
	movzbl	(%r15), %ecx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$95, %cl
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$58, %cl
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%cl, %edi
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_14
## %bb.12:
	cmpb	$39, %al
	jne	LBB0_13
LBB0_14:
	movb	$0, (%r14)
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r15), %edi
	callq	_isspace
	incq	%r15
	incq	%r12
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_15
## %bb.16:
	cmpb	$39, -41(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_17
## %bb.18:
	xorl	%eax, %eax
	cmpb	$39, (%r12)
	sete	%al
	movq	%r12, %r14
	addq	%rax, %r14
	addq	%rax, %rbx
	movq	%rbx, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14), %edi
	callq	_isspace
	incq	%r14
	incq	%r12
	testq	%rax, %rax
	jne	LBB0_19
## %bb.20:
	testq	%rbx, %rbx
	jne	LBB0_21
	jmp	LBB0_22
LBB0_13:
	xorl	%r12d, %r12d
	jmp	LBB0_22
LBB0_17:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_22
LBB0_21:
	movq	%r13, (%rbx)
LBB0_22:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_selector                 ; -- Begin function parse_selector
	.p2align	2
_parse_selector:                        ; @parse_selector
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	cmp	x1, #0
	cset	w0, ne
	bl	_gdb_assert
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x20
	ldrsb	w0, [x20], #1
	bl	_isspace
	cbnz	x0, LBB0_1
; %bb.2:
	ldrb	w23, [x21]
	cmp	w23, #39
	cset	w21, eq
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x20, x21
	ldursb	w0, [x8, #-1]
	bl	_isspace
	add	x21, x21, #1
	cbnz	x0, LBB0_3
; %bb.4:
	add	x8, x20, x21
	sub	x22, x8, #2
	mov	x24, x22
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	strb	w8, [x24], #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x20, x21
	ldursb	w0, [x25, #-2]
	bl	_isalnum
	ldurb	w8, [x25, #-2]
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #95
	b.eq	LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #58
	b.eq	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	sxtb	w0, w8
	bl	_isspace
	cbnz	x0, LBB0_6
; %bb.11:
	add	x26, x20, x21
	ldurb	w8, [x26, #-2]
	cbz	w8, LBB0_13
; %bb.12:
	cmp	w8, #39
	b.ne	LBB0_19
LBB0_13:
	mov	x25, #0
	strb	wzr, [x24]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x26, x25
	ldursb	w0, [x8, #-2]
	bl	_isspace
	add	x25, x25, #1
	cbnz	x0, LBB0_14
; %bb.15:
	add	x8, x20, x21
	add	x8, x8, x25
	cmp	w23, #39
	b.ne	LBB0_20
; %bb.16:
	ldurb	w8, [x8, #-3]
	cmp	w8, #39
	cset	w23, eq
	add	x24, x20, x25
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x24, x23
	add	x8, x8, x21
	ldursb	w0, [x8, #-3]
	bl	_isspace
	add	x23, x23, #1
	cbnz	x0, LBB0_17
; %bb.18:
	add	x8, x20, x21
	add	x8, x8, x25
	add	x8, x8, x23
	sub	x0, x8, #4
	cbnz	x19, LBB0_21
	b	LBB0_22
LBB0_19:
	mov	x0, #0
	b	LBB0_22
LBB0_20:
	sub	x0, x8, #3
	cbz	x19, LBB0_22
LBB0_21:
	str	x22, [x19]
LBB0_22:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
