	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mipscoff_symfile_read
_mipscoff_symfile_read:                 ## @mipscoff_symfile_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	32(%rdi), %rbx
	xorl	%eax, %eax
	callq	_init_minimal_symbol_collection
	xorl	%eax, %eax
	callq	_make_cleanup_discard_minimal_symbols
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ecoff_backend
	movq	(%rax), %r13
	movq	%rbx, %rdi
	callq	_ecoff_data
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	*%r13
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_error
LBB0_2:
	movq	%rbx, %rdi
	callq	_ecoff_backend
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_ecoff_data
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	callq	_mdebug_build_psymtabs
	movl	24(%r12), %edi
	movq	%r12, %rsi
	callq	_read_alphacoff_dynamic_symtab
	movq	%r12, %rdi
	callq	_install_minimal_symbols
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.3:
	movq	(%r12), %rdi
	movq	_INVALID_ENTRY_POINT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_8
## %bb.4:
	movq	8(%r12), %rax
	movq	_INVALID_ENTRY_LOWPC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.5:
	callq	_lookup_minimal_symbol_by_pc
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rbx
	leaq	4(%rax), %r15
	movq	%r15, %rdi
	callq	_DEPRECATED_SYMBOL_NAME
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_SYMBOL_VALUE_ADDRESS
	movq	%rax, 8(%r12)
	movq	%r15, %rdi
	callq	_SYMBOL_VALUE_ADDRESS
	movq	%rax, 16(%r12)
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %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	"Error reading symbol table: %s"

	.comm	_INVALID_ENTRY_POINT,8,3        ## @INVALID_ENTRY_POINT
	.comm	_INVALID_ENTRY_LOWPC,8,3        ## @INVALID_ENTRY_LOWPC
	.no_dead_strip	_mipscoff_symfile_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mipscoff_symfile_read
_mipscoff_symfile_read:                 ; @mipscoff_symfile_read
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #32]
	bl	_init_minimal_symbol_collection
	bl	_make_cleanup_discard_minimal_symbols
	mov	x20, x0
	mov	x0, x22
	bl	_ecoff_backend
	ldr	x23, [x0]
	mov	x0, x22
	bl	_ecoff_data
	mov	x2, x0
	mov	x0, x22
	mov	x1, #0
	blr	x23
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
	mov	x0, x22
	bl	_ecoff_backend
	mov	x23, x0
	mov	x0, x22
	bl	_ecoff_data
	mov	x2, x0
	mov	x0, x19
	mov	x1, x23
	bl	_mdebug_build_psymtabs
	ldr	w0, [x19, #24]
	mov	x1, x19
	bl	_read_alphacoff_dynamic_symtab
	mov	x0, x19
	bl	_install_minimal_symbols
	cbz	w21, LBB0_8
; %bb.3:
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _INVALID_ENTRY_POINT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INVALID_ENTRY_POINT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_8
; %bb.4:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _INVALID_ENTRY_LOWPC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INVALID_ENTRY_LOWPC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	bl	_lookup_minimal_symbol_by_pc
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_DEPRECATED_SYMBOL_NAME
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_SYMBOL_VALUE_ADDRESS
	str	x0, [x19, #8]
	mov	x0, x21
	bl	_SYMBOL_VALUE_ADDRESS
	str	x0, [x19, #16]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_do_cleanups
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error reading symbol table: %s"

	.comm	_INVALID_ENTRY_POINT,8,3        ; @INVALID_ENTRY_POINT
	.comm	_INVALID_ENTRY_LOWPC,8,3        ; @INVALID_ENTRY_LOWPC
	.no_dead_strip	_mipscoff_symfile_read
.subsections_via_symbols
