	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_lookup_by_type          ## -- Begin function dtrace_lookup_by_type
	.p2align	4, 0x90
_dtrace_lookup_by_type:                 ## @dtrace_lookup_by_type
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DTRACE_OBJ_EVERY@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	movq	%rcx, %r12
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	sete	%cl
	movq	_DTRACE_OBJ_KMODS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	cmpq	%rsi, %rdi
	sete	%dl
	orb	%cl, %dl
	movq	_DTRACE_OBJ_UMODS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rsi, %rcx
	sete	%al
	orb	%dl, %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.4:
	xorl	%eax, %eax
	cmpq	%rsi, %rcx
	movq	_DT_DM_KERNEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$0, %edx
	cmoveq	%rcx, %rdx
	cmpq	%rsi, %rdi
	cmoveq	%rcx, %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	cmoveq	%rcx, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %rdi
	callq	_dt_list_next
	movq	(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_34
## %bb.5:
	movq	%rax, %r14
	jmp	LBB0_6
LBB0_1:
	movq	%rbx, %rdi
	callq	_dt_module_from_object
	movq	%rbx, %rdi
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rsi
	callq	_dt_module_load
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.3:
	movl	$1, %r15d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:
	leaq	16(%r12), %rax
	testq	%r12, %r12
	leaq	-120(%rbp), %rcx
	cmovneq	%rax, %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	leaq	8(%r12), %rax
	leaq	-128(%rbp), %rcx
	cmovneq	%rax, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leaq	-136(%rbp), %rax
	cmovneq	%r12, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
                                        ## implicit-def: $r12
                                        ## implicit-def: $r13
	jmp	LBB0_7
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_dt_list_next
	movq	%rax, %r14
	decq	%r15
	je	LBB0_31
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	movq	(%r14), %rax
	andq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_30
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dt_module_hasctf
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 8(%r14)
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	$96, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$96, %esi
	callq	_strchr
	movq	%rax, %r12
	leaq	1(%rax), %rdi
	movl	$96, %esi
	callq	_strchr
	movq	%rax, %r13
	testq	%rax, %rax
	cmoveq	%r12, %r13
	movb	$0, (%r13)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_dt_module_getctflib
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ctf_lookup_by_name
	movq	%rax, %r13
	jmp	LBB0_22
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_30
	jmp	LBB0_10
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	40(%r14), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_ctf_lookup_by_name
	movq	%rax, %r13
	movq	40(%r14), %r12
	jmp	LBB0_25
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 16(%r14)
	je	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%r14), %rax
	movq	(%rax,%rbx,8), %r12
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_ctf_lookup_by_name
	movq	%rax, %r13
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_24 Depth=2
	incq	%rbx
	cmpq	16(%r14), %rbx
	jb	LBB0_24
	jmp	LBB0_25
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_free
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_CTF_ERR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_29
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	24(%r14), %eax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%r12, (%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ctf_type_resolve
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_ctf_type_kind
	movq	_CTF_K_FORWARD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.27:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_31:
	xorl	%ebx, %ebx
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_11
## %bb.32:
	movq	_EDT_NOTYPE@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_34:
	movq	_EDT_NOTYPE@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_set_errno                   ## TAILCALL
LBB0_10:
	movl	$-1, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	_EDT_NOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACE_OBJ_EVERY,8,3           ## @DTRACE_OBJ_EVERY
	.comm	_DTRACE_OBJ_KMODS,8,3           ## @DTRACE_OBJ_KMODS
	.comm	_DTRACE_OBJ_UMODS,8,3           ## @DTRACE_OBJ_UMODS
	.comm	_DT_DM_KERNEL,8,3               ## @DT_DM_KERNEL
	.comm	_EDT_NOMEM,4,2                  ## @EDT_NOMEM
	.comm	_CTF_ERR,8,3                    ## @CTF_ERR
	.comm	_CTF_K_FORWARD,8,3              ## @CTF_K_FORWARD
	.comm	_EDT_NOTYPE,4,2                 ## @EDT_NOTYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_lookup_by_type          ; -- Begin function dtrace_lookup_by_type
	.p2align	2
_dtrace_lookup_by_type:                 ; @dtrace_lookup_by_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x24, x3
	mov	x20, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _DTRACE_OBJ_EVERY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTRACE_OBJ_EVERY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
Lloh3:
	adrp	x8, _DTRACE_OBJ_KMODS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DTRACE_OBJ_KMODS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ccmp	x8, x1, #4, ne
Lloh6:
	adrp	x9, _DTRACE_OBJ_UMODS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DTRACE_OBJ_UMODS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ccmp	x9, x1, #4, ne
	cset	w10, eq
	str	w10, [sp, #32]                  ; 4-byte Folded Spill
	b.ne	LBB0_3
; %bb.1:
	cmp	x9, x1
Lloh9:
	adrp	x9, _DT_DM_KERNEL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DT_DM_KERNEL@GOTPAGEOFF]
	ccmp	x8, x1, #4, ne
Lloh11:
	ldr	x9, [x9]
	csel	x26, x9, xzr, eq
	cmp	x8, x1
	csel	x27, x9, xzr, eq
	add	x0, x19, #8
	bl	_dt_list_next
	ldr	x28, [x19]
	cbz	x28, LBB0_28
; %bb.2:
	mov	x21, x0
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_dt_module_from_object
	cbz	x0, LBB0_30
; %bb.4:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_dt_module_load
	cmn	w0, #1
	b.eq	LBB0_31
; %bb.5:
	mov	x27, #0
	mov	x26, #0
	mov	w28, #1
LBB0_6:
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	add	x8, x24, #16
	add	x9, sp, #40
	cmp	x24, #0
	csel	x10, x9, x8, eq
	add	x8, x24, #8
	add	x9, sp, #48
	csel	x8, x9, x8, eq
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
                                        ; implicit-def: $x22
                                        ; implicit-def: $x23
	add	x8, sp, #56
	csel	x8, x8, x24, eq
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh12:
	adrp	x25, _CTF_ERR@GOTPAGE
Lloh13:
	ldr	x25, [x25, _CTF_ERR@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #32]                   ; 4-byte Folded Reload
	tbz	w8, #0, LBB0_30
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	x28, x28, #1
	mov	x0, x21
	bl	_dt_list_next
	mov	x21, x0
	cbz	x28, LBB0_26
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x8, [x21]
	and	x8, x8, x26
	cmp	x8, x27
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_dt_module_hasctf
	cbz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	w1, #96
	bl	_strchr
	cbz	x0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_strdup
	cbz	x0, LBB0_32
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x0
	mov	w1, #96
	bl	_strchr
	mov	x22, x0
	add	x0, x0, #1
	mov	w1, #96
	bl	_strchr
	cmp	x0, #0
	csel	x23, x22, x0, eq
	strb	wzr, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	bl	_dt_module_getctflib
	mov	x22, x0
	cbz	x0, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x1, x23, #1
	mov	x0, x22
	bl	_ctf_lookup_by_name
	mov	x23, x0
	b	LBB0_22
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x21, #40]
	mov	x1, x20
	bl	_ctf_lookup_by_name
	mov	x23, x0
	ldr	x22, [x21, #40]
	b	LBB0_23
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, #0
LBB0_19:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #32]
	ldr	x22, [x8, x24, lsl #3]
	mov	x0, x22
	mov	x1, x20
	bl	_ctf_lookup_by_name
	mov	x23, x0
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x24, x24, #1
	ldr	x8, [x21, #16]
	cmp	x24, x8
	b.lo	LBB0_19
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x23, [x25]
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	bl	_free
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25]
	cmp	x23, x8
	b.eq	LBB0_8
; %bb.24:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x21, #24]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x22, [x8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x23, [x8]
	mov	x0, x22
	mov	x1, x23
	bl	_ctf_type_resolve
	mov	x1, x0
	mov	x0, x22
	bl	_ctf_type_kind
Lloh14:
	adrp	x8, _CTF_K_FORWARD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CTF_K_FORWARD@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_8
LBB0_26:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_28
LBB0_27:
	mov	w0, #0
	b	LBB0_31
LBB0_28:
Lloh17:
	adrp	x8, _EDT_NOTYPE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EDT_NOTYPE@GOTPAGEOFF]
LBB0_29:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_dt_set_errno
LBB0_30:
	mov	w0, #-1
LBB0_31:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_32:
Lloh19:
	adrp	x8, _EDT_NOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EDT_NOMEM@GOTPAGEOFF]
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACE_OBJ_EVERY,8,3           ; @DTRACE_OBJ_EVERY
	.comm	_DTRACE_OBJ_KMODS,8,3           ; @DTRACE_OBJ_KMODS
	.comm	_DTRACE_OBJ_UMODS,8,3           ; @DTRACE_OBJ_UMODS
	.comm	_DT_DM_KERNEL,8,3               ; @DT_DM_KERNEL
	.comm	_EDT_NOMEM,4,2                  ; @EDT_NOMEM
	.comm	_CTF_ERR,8,3                    ; @CTF_ERR
	.comm	_CTF_K_FORWARD,8,3              ; @CTF_K_FORWARD
	.comm	_EDT_NOTYPE,4,2                 ; @EDT_NOTYPE
.subsections_via_symbols
