	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_parse_ttl                   ## -- Begin function ns_parse_ttl
	.p2align	4, 0x90
_ns_parse_ttl:                          ## @ns_parse_ttl
	.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	%rsi, -56(%rbp)                 ## 8-byte Spill
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_20
## %bb.1:
	movq	%rdi, %r15
	xorl	%ecx, %ecx
	movb	$1, %r13b
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	%al, %al
	js	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movsbl	%al, %ebx
	movl	%ebx, %edi
	callq	_isprint
	testl	%eax, %eax
	je	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%ebx, %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=2
	leal	(%r12,%r12,4), %eax
	leal	(%rbx,%rax,2), %r12d
	addl	$-48, %r12d
	movzbl	1(%r15,%r14), %eax
	incq	%r14
	testb	%al, %al
	jne	LBB0_3
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_islower
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_toupper
	movl	%eax, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	$-68, %ebx
	cmpl	$19, %ebx
	ja	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	(,%r12,8), %eax
	subl	%r12d, %eax
	movl	%eax, %r12d
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	shll	$3, %r12d
	leal	(%r12,%r12,2), %r12d
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	imull	$60, %r12d, %r12d
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	imull	$60, %r12d, %r12d
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%r14, %r15
	incq	%r15
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	movb	(%r15), %al
	xorl	%r13d, %r13d
	movl	%r12d, %ecx
	testb	%al, %al
	jne	LBB0_2
	jmp	LBB0_19
LBB0_7:
	testb	$1, %r13b
	je	LBB0_20
## %bb.8:
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
LBB0_19:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_16
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_17
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_18
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_20
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ns_parse_ttl                   ; -- Begin function ns_parse_ttl
	.p2align	2
_ns_parse_ttl:                          ; @ns_parse_ttl
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldrb	w8, [x0]
	cbz	w8, LBB0_20
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w22, #0
	mov	w28, #1
	mov	w23, #60
	mov	w24, #10
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x27, #0
	mov	w26, #0
	add	x25, x20, #1
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbnz	w8, #7, LBB0_20
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	sxtb	w21, w8
	mov	x0, x21
	bl	_isprint
	cbz	w0, LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=2
	mov	x0, x21
	bl	_isdigit
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=2
	madd	w8, w26, w24, w21
	sub	w26, w8, #48
	ldrb	w8, [x25, x27]
	add	x27, x27, #1
	cbnz	w8, LBB0_3
	b	LBB0_17
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w27, LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_islower
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	bl	_toupper
	mov	x21, x0
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w21, #68
	cmp	w8, #19
	b.hi	LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_12
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	lsl	w8, w26, #3
	sub	w26, w8, w26
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w26, w26, lsl #1
	lsl	w26, w8, #3
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mul	w26, w26, w23
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mul	w26, w26, w23
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #0
	add	x8, x20, x27
	add	x20, x8, #1
	add	w22, w26, w22
	ldrb	w8, [x20]
	cbnz	w8, LBB0_2
	b	LBB0_19
LBB0_17:
	tbz	w28, #0, LBB0_20
; %bb.18:
	add	w22, w26, w22
LBB0_19:
	mov	w0, #0
	str	w22, [x19]
	b	LBB0_21
LBB0_20:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _errno@GOTPAGE
Lloh6:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh7:
	str	w8, [x9]
	mov	w0, #-1
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_20-LBB0_12)>>2
	.byte	(LBB0_12-LBB0_12)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
