	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nlm_symtab_read
_nlm_symtab_read:                       ## @nlm_symtab_read
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_bfd_get_symtab_upper_bound
	testq	%rax, %rax
	js	LBB0_13
## %bb.1:
	je	LBB0_12
## %bb.2:
	movq	%rax, %rdi
	callq	_xmalloc
	movq	%rax, %r13
	movq	_xfree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_make_cleanup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_bfd_canonicalize_symtab
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	je	LBB0_11
## %bb.5:
	movq	%rax, %r15
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rdi), %edx
	movl	(%r8), %edi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_prim_record_minimal_symbol
	incq	%r14
	cmpq	%r14, %r15
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14,8), %r8
	movq	8(%r8), %rdx
	movq	8(%rdx), %rsi
	addq	16(%r8), %rsi
	cmpq	_bfd_abs_section@GOTPCREL(%rip), %rdx
	movq	%r12, %rcx
	movl	$0, %edi
	cmoveq	%rdi, %rcx
	movl	(%rdx), %ebx
	movq	_SEC_CODE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %edx
	movq	_mst_data@GOTPCREL(%rip), %rdi
	movq	_SEC_DATA@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_mst_unknown@GOTPCREL(%rip), %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	addq	%rcx, %rsi
	testl	%edx, %edx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_mst_text@GOTPCREL(%rip), %rdi
	jmp	LBB0_10
LBB0_13:
	movq	%r14, %rdi
	callq	_bfd_get_filename
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	callq	_bfd_get_filename
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_error
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_cleanups                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't read symbols from %s: %s"

	.comm	_xfree,4,2                      ## @xfree
	.comm	_bfd_abs_section,16,3           ## @bfd_abs_section
	.comm	_SEC_CODE,4,2                   ## @SEC_CODE
	.comm	_mst_text,4,2                   ## @mst_text
	.comm	_SEC_DATA,4,2                   ## @SEC_DATA
	.comm	_mst_data,4,2                   ## @mst_data
	.comm	_mst_unknown,4,2                ## @mst_unknown
	.no_dead_strip	_nlm_symtab_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nlm_symtab_read
_nlm_symtab_read:                       ; @nlm_symtab_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	mov	x24, x0
	bl	_bfd_get_symtab_upper_bound
	tbnz	x0, #63, LBB0_6
; %bb.1:
	cbz	x0, LBB0_7
; %bb.2:
	bl	_xmalloc
	mov	x22, x0
Lloh0:
	adrp	x8, _xfree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _xfree@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_make_cleanup
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x24
	mov	x1, x22
	bl	_bfd_canonicalize_symtab
	tbnz	x0, #63, LBB0_8
; %bb.3:
	mov	x23, x0
	cbz	x0, LBB0_9
; %bb.4:
Lloh3:
	adrp	x24, _bfd_abs_section@GOTPAGE
Lloh4:
	ldr	x24, [x24, _bfd_abs_section@GOTPAGEOFF]
Lloh5:
	adrp	x25, _SEC_CODE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _SEC_CODE@GOTPAGEOFF]
Lloh7:
	adrp	x26, _SEC_DATA@GOTPAGE
Lloh8:
	ldr	x26, [x26, _SEC_DATA@GOTPAGEOFF]
Lloh9:
	adrp	x27, _mst_unknown@GOTPAGE
Lloh10:
	ldr	x27, [x27, _mst_unknown@GOTPAGEOFF]
Lloh11:
	adrp	x28, _mst_data@GOTPAGE
Lloh12:
	ldr	x28, [x28, _mst_data@GOTPAGEOFF]
Lloh13:
	adrp	x21, _mst_text@GOTPAGE
Lloh14:
	ldr	x21, [x21, _mst_text@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22], #8
	ldp	x10, x9, [x8, #8]
	ldr	x11, [x10, #8]
	cmp	x10, x24
	csel	x12, xzr, x20, eq
	add	x9, x11, x9
	add	x1, x9, x12
	ldr	w9, [x10]
	ldr	w10, [x25]
	ldr	w11, [x26]
	tst	w11, w9
	csel	x11, x27, x28, eq
	tst	w10, w9
	csel	x9, x11, x21, eq
	ldr	w2, [x9]
	ldr	w0, [x8]
	mov	x3, x19
	bl	_prim_record_minimal_symbol
	subs	x23, x23, #1
	b.ne	LBB0_5
	b	LBB0_9
LBB0_6:
	mov	x0, x24
	bl	_bfd_get_filename
	mov	x19, x0
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_error
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	mov	x0, x24
	bl	_bfd_get_filename
	mov	x19, x0
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_error
LBB0_9:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_do_cleanups
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't read symbols from %s: %s"

	.comm	_xfree,4,2                      ; @xfree
	.comm	_bfd_abs_section,16,3           ; @bfd_abs_section
	.comm	_SEC_CODE,4,2                   ; @SEC_CODE
	.comm	_mst_text,4,2                   ; @mst_text
	.comm	_SEC_DATA,4,2                   ; @SEC_DATA
	.comm	_mst_data,4,2                   ; @mst_data
	.comm	_mst_unknown,4,2                ; @mst_unknown
	.no_dead_strip	_nlm_symtab_read
.subsections_via_symbols
