	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_lookup_by_symbol           ## -- Begin function ctf_lookup_by_symbol
	.p2align	4, 0x90
_ctf_lookup_by_symbol:                  ## @ctf_lookup_by_symbol
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	cmpq	%rsi, (%rbx)
	jle	LBB0_7
## %bb.2:
	cmpl	$4, 24(%rbx)
	movl	(%rax,%r14,4), %edi
	jne	LBB0_9
## %bb.3:
	callq	_ELF32_ST_TYPE
	jmp	LBB0_4
LBB0_6:
	movq	_ECTF_NOSYMTAB@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_9:
	callq	_ELF64_ST_TYPE
LBB0_4:
	movq	_STT_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.10:
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %eax
	movl	$4294967295, %edx               ## imm = 0xFFFFFFFF
	movq	_ECTF_NOTYPEDAT@GOTPCREL(%rip), %rcx
	cmpq	%rdx, %rax
	je	LBB0_8
## %bb.11:
	movq	16(%rbx), %rdx
	movq	(%rdx,%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_ECTF_NOTDATA@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ctf_set_errno                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ECTF_NOSYMTAB,4,2              ## @ECTF_NOSYMTAB
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_STT_OBJECT,8,3                 ## @STT_OBJECT
	.comm	_ECTF_NOTDATA,4,2               ## @ECTF_NOTDATA
	.comm	_ECTF_NOTYPEDAT,4,2             ## @ECTF_NOTYPEDAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ctf_lookup_by_symbol           ; -- Begin function ctf_lookup_by_symbol
	.p2align	2
_ctf_lookup_by_symbol:                  ; @ctf_lookup_by_symbol
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	x9, [x19]
	cmp	x9, x1
	b.le	LBB0_5
; %bb.2:
	ldr	w9, [x19, #24]
	ldr	w0, [x8, x20, lsl #2]
	cmp	w9, #4
	b.ne	LBB0_6
; %bb.3:
	bl	_ELF32_ST_TYPE
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _ECTF_NOSYMTAB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECTF_NOSYMTAB@GOTPAGEOFF]
	b	LBB0_13
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_6:
	bl	_ELF64_ST_TYPE
LBB0_7:
Lloh4:
	adrp	x8, _STT_OBJECT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _STT_OBJECT@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x20, lsl #2]
	cmn	w8, #1
	b.eq	LBB0_12
; %bb.9:
	ldr	x9, [x19, #16]
	ldr	x0, [x9, x8]
	cbz	x0, LBB0_12
; %bb.10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh7:
	adrp	x8, _ECTF_NOTDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ECTF_NOTDATA@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh9:
	adrp	x8, _ECTF_NOTYPEDAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECTF_NOTYPEDAT@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ctf_set_errno
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ECTF_NOSYMTAB,4,2              ; @ECTF_NOSYMTAB
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_STT_OBJECT,8,3                 ; @STT_OBJECT
	.comm	_ECTF_NOTDATA,4,2               ; @ECTF_NOTDATA
	.comm	_ECTF_NOTYPEDAT,4,2             ; @ECTF_NOTYPEDAT
.subsections_via_symbols
