	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_lookup_symtab
_elf_lookup_symtab:                     ## @elf_lookup_symtab
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movl	(%rcx), %esi
	movq	%r12, %rdi
	callq	_source_get
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%r15, %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
LBB0_3:
	leaq	-64(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_hash_table_iter_init
	movq	%rbx, %rdi
	callq	_hash_table_iter_up
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	leaq	-64(%rbp), %rbx
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	movq	%r14, %r12
	movq	%rax, %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=3
	movq	%rbx, %rdi
	callq	_hash_table_iter_up
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpl	$0, (%r14)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	24(%r14), %rdi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	testq	%r15, %r15
	setne	%cl
	movq	16(%r14), %rax
	testq	%rax, %rax
	setne	%dl
	cmpb	%dl, %cl
	jne	LBB0_12
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=2
	testq	%r15, %r15
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=2
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_source_get
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rdi
	testq	%rax, %rax
	cmoveq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	%rbx, %rdi
	callq	_hash_table_iter_up
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_13
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rcx), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_source_get
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	16(%r14), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_source_get
	movq	8(%r14), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	-68(%rbp), %r8d                 ## 4-byte Reload
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_FIXME
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, (%r14)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_hash_table_iter_up
	testq	%rax, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_5
	jmp	LBB0_24
LBB0_10:
	movq	%r12, %r14
LBB0_13:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_24
## %bb.14:
	movq	%r14, %rcx
	testq	%r14, %r14
	je	LBB0_15
LBB0_24:
	movq	8(%rcx), %rbx
	jmp	LBB0_25
LBB0_15:
	movl	(%r12), %edi
	callq	_debugstr_w
	movslq	%eax, %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_FIXME
LBB0_25:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Already found symbol %s (%s) in symtab %s @%08x and %s @%08x\n"

L_.str.1:                               ## @.str.1
	.asciz	"Couldn't find symbol %s!%s in symtab\n"

	.no_dead_strip	_elf_lookup_symtab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_lookup_symtab
_elf_lookup_symtab:                     ; @elf_lookup_symtab
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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, x2
	mov	x23, x1
	mov	x20, x0
	cbz	x3, LBB0_2
; %bb.1:
	ldr	w1, [x3]
	mov	x0, x20
	bl	_source_get
	mov	x21, x0
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x22, x21, x0, eq
	b	LBB0_3
LBB0_2:
	mov	x21, #0
	mov	x22, #0
LBB0_3:
	add	x1, sp, #40
	mov	x0, x23
	mov	x2, x19
	bl	_hash_table_iter_init
	add	x0, sp, #40
	bl	_hash_table_iter_up
	cbz	x0, LBB0_23
; %bb.4:
	mov	x23, #0
	mov	x26, #0
	mov	w27, #1
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x25, x23
	mov	x23, x0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x0, sp, #40
	bl	_hash_table_iter_up
	mov	x23, x0
	cbz	x0, LBB0_19
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x23]
	cbnz	w8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x0, [x23, #24]
	mov	x1, x19
	bl	_strcmp
	cbnz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x21, #0
	cset	w9, ne
	ldr	x8, [x23, #16]
	cmp	x8, #0
	cset	w10, ne
	cmp	w9, w10
	b.ne	LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	x21, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x8]
	mov	x0, x20
	bl	_source_get
	mov	x25, x0
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x0, x25, x0, eq
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #40
	bl	_hash_table_iter_up
	cbnz	x0, LBB0_5
	b	LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x26, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26, #16]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_source_get
	mov	x25, x0
	ldr	x8, [x26, #8]
	ldr	x28, [x8]
	ldr	x8, [x23, #16]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_source_get
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	stp	x0, x8, [sp, #16]
	stp	x25, x28, [sp]
	mov	x0, x24
	mov	x1, x19
	mov	x2, x21
	bl	_FIXME
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	str	w27, [x23]
	mov	x26, x23
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #40
	bl	_hash_table_iter_up
	cbnz	x0, LBB0_5
	b	LBB0_22
LBB0_19:
	mov	x23, x25
LBB0_20:
	cbnz	x26, LBB0_22
; %bb.21:
	mov	x26, x23
	cbz	x23, LBB0_23
LBB0_22:
	ldr	x0, [x26, #8]
	b	LBB0_24
LBB0_23:
	ldr	w0, [x20]
	bl	_debugstr_w
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_FIXME
	mov	x0, #0
LBB0_24:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Already found symbol %s (%s) in symtab %s @%08x and %s @%08x\n"

l_.str.1:                               ; @.str.1
	.asciz	"Couldn't find symbol %s!%s in symtab\n"

	.no_dead_strip	_elf_lookup_symtab
.subsections_via_symbols
