	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_lookup_by_name             ## -- Begin function ctf_lookup_by_name
	.p2align	4, 0x90
_ctf_lookup_by_name:                    ## @ctf_lookup_by_name
	.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, %r12
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_strlen
	movb	(%r14), %cl
	testb	%cl, %cl
	je	LBB0_37
## %bb.4:
	cltq
	addq	%r14, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %r14
	movq	%r13, %rdi
	callq	_CTF_TYPE_TO_INDEX
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_LCTF_CHILD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	8(%r12), %esi
	callq	_CTF_INDEX_TO_TYPE
	movq	%rax, %r13
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	(%rbx), %cl
	movq	%rbx, %r14
	testb	%cl, %cl
	je	LBB0_34
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_24 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	movsbl	%cl, %edi
	callq	_isspace
	leaq	1(%r14), %rbx
	testq	%rax, %rax
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %edi
	callq	_isspace
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%rbx), %r14
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$42, (%r14)
	je	LBB0_11
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	leaq	_ctf_lookup_by_name.delimiters(%rip), %rsi
	callq	_strpbrk
	movq	%rax, %rbx
	testq	%rax, %rax
	cmoveq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, %r15
	subq	%r14, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_isqualifier
	testq	%rax, %rax
	jne	LBB0_33
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%r12), %r12
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$16, %r12
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%rsi)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	(%r12), %rsi
	addq	$16, %r12
	testq	%rsi, %rsi
	jne	LBB0_21
	jmp	LBB0_28
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ctf_type_resolve
	movq	_CTF_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %r14
	movq	%rax, %rdi
	callq	_CTF_TYPE_TO_INDEX
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	jne	LBB0_32
	jmp	LBB0_14
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	-4(%r12), %rax
	addq	%rax, %r14
	movl	$1, %ecx
	subq	%r14, %rcx
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %r13
	movq	%rcx, %r15
	movsbl	(%r14), %edi
	callq	_isspace
	incq	%r14
	leaq	-1(%r15), %rcx
	testq	%rax, %rax
	jne	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movl	$42, %esi
	callq	_strchr
	movq	%rax, %r14
	testq	%rax, %rax
	cmoveq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	leaq	1(%r14), %rbx
	addq	%r15, %r14
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	-2(%rbx), %edi
	callq	_isspace
	decq	%rbx
	decq	%r14
	testq	%rax, %rax
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-8(%r12), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_ctf_hash_lookup
	testq	%rax, %rax
	je	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, -16(%r12)
	je	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax), %r13
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_28:
	movq	_ECTF_NOTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_15:
	movq	%r12, %rdi
	callq	_ctf_set_errno
	movq	16(%r12), %rdi
	testq	%rdi, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_16
## %bb.38:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ctf_lookup_by_name             ## TAILCALL
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$0, (%rax)
	setne	%al
	testb	%al, %al
	je	LBB0_36
	jmp	LBB0_37
LBB0_16:
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	jmp	LBB0_17
LBB0_34:
	xorl	%eax, %eax
	testb	%al, %al
	jne	LBB0_37
LBB0_36:
	testq	%r13, %r13
	je	LBB0_37
LBB0_17:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	_ECTF_SYNTAX@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ctf_set_errno                  ## TAILCALL
LBB0_14:
	movq	_ECTF_NOTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_ctf_lookup_by_name.delimiters:         ## @ctf_lookup_by_name.delimiters
	.asciz	" \t\n\r\013\f*"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CTF_ERR,8,3                    ## @CTF_ERR
	.comm	_ECTF_NOTYPE,4,2                ## @ECTF_NOTYPE
	.comm	_LCTF_CHILD,4,2                 ## @LCTF_CHILD
	.comm	_ECTF_SYNTAX,4,2                ## @ECTF_SYNTAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_lookup_by_name             ; -- Begin function ctf_lookup_by_name
	.p2align	2
_ctf_lookup_by_name:                    ; @ctf_lookup_by_name
	.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
	mov	x19, x0
	cbz	x1, LBB0_26
; %bb.1:
	mov	x20, x1
	mov	x0, x1
	bl	_strlen
	ldrb	w8, [x20]
	cbz	w8, LBB0_32
; %bb.2:
	mov	x23, #0
	add	x27, x20, w0, sxtw
Lloh0:
	adrp	x28, _LCTF_CHILD@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LCTF_CHILD@GOTPAGEOFF]
	mov	x24, x20
Lloh2:
	adrp	x21, _ctf_lookup_by_name.delimiters@PAGE
Lloh3:
	add	x21, x21, _ctf_lookup_by_name.delimiters@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x24, [x19]
	mov	x0, x23
	bl	_CTF_TYPE_TO_INDEX
	ldr	x0, [x24, x0, lsl #3]
	cbz	x0, LBB0_17
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #8]
	ldr	w9, [x28]
	and	w1, w9, w8
	bl	_CTF_INDEX_TO_TYPE
	mov	x23, x0
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x22]
	mov	x24, x22
	cbz	w8, LBB0_30
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
	sxtb	w0, w8
	bl	_isspace
	add	x22, x24, #1
	cbz	x0, LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x22], #1
	bl	_isspace
	cbnz	x0, LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x24, x22, #1
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	x24, x27
	b.eq	LBB0_29
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x24]
	cmp	w8, #42
	b.eq	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_strpbrk
	cmp	x0, #0
	csel	x22, x27, x0, eq
	sub	x25, x22, x24
	mov	x0, x24
	mov	x1, x25
	bl	_isqualifier
	cbnz	x0, LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	cbz	x1, LBB0_27
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x26, x8, #16
LBB0_14:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x1]
	cbz	w8, LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x0, x24
	mov	x2, x25
	bl	_strncmp
	cbz	x0, LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	x1, [x26], #16
	cbnz	x1, LBB0_14
	b	LBB0_27
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_ctf_type_resolve
Lloh4:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_27
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x19]
	bl	_CTF_TYPE_TO_INDEX
	ldr	x0, [x23, x0, lsl #3]
	cbnz	x0, LBB0_4
	b	LBB0_27
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldursw	x8, [x26, #-4]
	add	x22, x24, x8
	mov	w8, #1
	sub	x8, x8, x22
LBB0_20:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x23, x22
	mov	x24, x8
	ldrsb	w0, [x22], #1
	bl	_isspace
	sub	x8, x24, #1
	cbnz	x0, LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	w1, #42
	bl	_strchr
	cmp	x0, #0
	csel	x8, x27, x0, eq
	add	x22, x8, #1
	add	x24, x8, x24
LBB0_22:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldursb	w0, [x22, #-2]
	bl	_isspace
	sub	x22, x22, #1
	sub	x24, x24, #1
	cbnz	x0, LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w0, [x26, #-8]
	mov	x1, x19
	mov	x2, x23
	mov	x3, x24
	bl	_ctf_hash_lookup
	cbz	x0, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x26, #-16]
	cbz	x8, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x0]
	b	LBB0_5
LBB0_26:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_33
LBB0_27:
Lloh9:
	adrp	x8, _ECTF_NOTYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECTF_NOTYPE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ctf_set_errno
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_34
; %bb.28:
	mov	x1, x20
	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
	b	_ctf_lookup_by_name
LBB0_29:
	ldrb	w8, [x27]
	cmp	w8, #0
	cset	w8, ne
LBB0_30:
	tbnz	w8, #0, LBB0_32
; %bb.31:
	cbnz	x23, LBB0_35
LBB0_32:
Lloh12:
	adrp	x8, _ECTF_SYNTAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ECTF_SYNTAX@GOTPAGEOFF]
LBB0_33:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_ctf_set_errno
LBB0_34:
Lloh14:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
Lloh16:
	ldr	x23, [x8]
LBB0_35:
	mov	x0, x23
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_ctf_lookup_by_name.delimiters:         ; @ctf_lookup_by_name.delimiters
	.asciz	" \t\n\r\013\f*"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CTF_ERR,8,3                    ; @CTF_ERR
	.comm	_ECTF_NOTYPE,4,2                ; @ECTF_NOTYPE
	.comm	_LCTF_CHILD,4,2                 ; @LCTF_CHILD
	.comm	_ECTF_SYNTAX,4,2                ; @ECTF_SYNTAX
.subsections_via_symbols
