	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcoff_initial_scan
_xcoff_initial_scan:                    ## @xcoff_initial_scan
	.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
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	24(%rdi), %r15
	movq	40(%rdi), %r13
	movq	_symfile_bfd@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_bfd_get_symcount
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_obj_sym_filepos
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_coff_data
	movslq	(%rax), %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movq	_find_linenos@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movq	%r15, %rdx
	movq	%r14, %r15
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	callq	_bfd_map_over_sections
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.1:
	movslq	%r14d, %rax
	imulq	%rax, %rbx
	movq	%r15, %rsi
	addq	%rbx, %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_init_stringtab
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	%r15, %r14
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_bfd_section_size
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %r15d
	leaq	32(%r12), %rdi
	movl	%eax, %esi
	callq	_obstack_alloc
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rbx
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	callq	_bfd_get_section_contents
	testl	%eax, %eax
	movq	%r14, %r15
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.1(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_error
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r14, %r15
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_7:
	movq	24(%r12), %rax
	movq	%rbx, (%rax)
LBB0_8:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_bfd_seek
	testl	%eax, %eax
	jns	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.2(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_error
LBB0_10:
	movq	%r13, %rdi
	callq	_coff_data
	movl	(%rax), %ebx
	imull	%r14d, %ebx
	leaq	32(%r12), %rdi
	movl	%ebx, %esi
	callq	_obstack_alloc
	movq	24(%r12), %rcx
	movq	%rax, 16(%rcx)
	movl	%r14d, 8(%rcx)
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	callq	_bfd_bread
	cmpl	%ebx, %eax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rdi
	callq	_perror_with_name
LBB0_12:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
LBB0_15:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_init_psymbol_list
	jmp	LBB0_16
LBB0_13:
	cmpq	$0, 16(%r12)
	jne	LBB0_16
## %bb.14:
	cmpq	$0, 8(%r12)
	je	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	callq	_free_pending_blocks
	movq	_really_free_pendings@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_make_cleanup
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_init_minimal_symbol_collection
	xorl	%eax, %eax
	callq	_make_cleanup_discard_minimal_symbols
	movq	%r12, %rdi
	callq	_scan_xcoff_symtab
	movq	%r12, %rdi
	callq	_install_minimal_symbols
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_do_cleanups                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_symfile_bfd,8,3                ## @symfile_bfd
	.comm	_find_linenos,4,2               ## @find_linenos
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".debug"

L_.str.1:                               ## @.str.1
	.asciz	"Error reading .debug section of `%s': %s"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.2:                               ## @.str.2
	.asciz	"Error reading symbols from %s: %s"

L_.str.3:                               ## @.str.3
	.asciz	"reading symbol table"

	.comm	_really_free_pendings,4,2       ## @really_free_pendings
	.no_dead_strip	_xcoff_initial_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xcoff_initial_scan
_xcoff_initial_scan:                    ; @xcoff_initial_scan
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	ldr	x25, [x0, #24]
	ldr	x22, [x0, #40]
Lloh0:
	adrp	x8, _symfile_bfd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _symfile_bfd@GOTPAGEOFF]
Lloh2:
	str	x22, [x8]
	ldr	x23, [x0]
	mov	x0, x22
	bl	_bfd_get_symcount
	mov	x21, x0
	mov	x0, x22
	bl	_obj_sym_filepos
	mov	x24, x0
	mov	x0, x22
	bl	_coff_data
	ldrsw	x26, [x0]
	stp	xzr, xzr, [x25, #24]
Lloh3:
	adrp	x8, _find_linenos@GOTPAGE
Lloh4:
	ldr	x8, [x8, _find_linenos@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x25
	bl	_bfd_map_over_sections
	cmp	w21, #1
	b.lt	LBB0_7
; %bb.1:
	sxtw	x8, w21
	madd	x1, x26, x8, x24
	mov	x0, x22
	mov	x2, x19
	bl	_init_stringtab
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_5
; %bb.2:
	mov	x26, x0
	mov	x0, x22
	mov	x1, x26
	bl	_bfd_section_size
	cbz	w0, LBB0_5
; %bb.3:
	mov	x27, x0
	add	x0, x19, #32
	mov	x1, x27
	bl	_obstack_alloc
	mov	x25, x0
	mov	x0, x22
	mov	x1, x26
	mov	x2, x25
	mov	x3, #0
	mov	x4, x27
	bl	_bfd_get_section_contents
	cbnz	w0, LBB0_6
; %bb.4:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_error
	b	LBB0_6
LBB0_5:
	mov	x25, #0
LBB0_6:
	ldr	x8, [x19, #24]
	str	x25, [x8]
LBB0_7:
Lloh10:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x24
	bl	_bfd_seek
	tbz	w0, #31, LBB0_9
; %bb.8:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_error
LBB0_9:
	mov	x0, x22
	bl	_coff_data
	ldr	w8, [x0]
	mul	w23, w8, w21
	add	x0, x19, #32
	mov	x1, x23
	bl	_obstack_alloc
	ldr	x8, [x19, #24]
	str	x0, [x8, #16]
	str	w21, [x8, #8]
	mov	x1, x23
	mov	x2, x22
	bl	_bfd_bread
	cmp	w0, w23
	b.eq	LBB0_11
; %bb.10:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror_with_name
LBB0_11:
	cbz	w20, LBB0_13
LBB0_12:
	mov	x0, x19
	mov	x1, x21
	bl	_init_psymbol_list
	b	LBB0_15
LBB0_13:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_15
; %bb.14:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_12
LBB0_15:
	bl	_free_pending_blocks
Lloh17:
	adrp	x8, _really_free_pendings@GOTPAGE
Lloh18:
	ldr	x8, [x8, _really_free_pendings@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_make_cleanup
	mov	x20, x0
	bl	_init_minimal_symbol_collection
	bl	_make_cleanup_discard_minimal_symbols
	mov	x0, x19
	bl	_scan_xcoff_symtab
	mov	x0, x19
	bl	_install_minimal_symbols
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_do_cleanups
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_symfile_bfd,8,3                ; @symfile_bfd
	.comm	_find_linenos,4,2               ; @find_linenos
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".debug"

l_.str.1:                               ; @.str.1
	.asciz	"Error reading .debug section of `%s': %s"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.2:                               ; @.str.2
	.asciz	"Error reading symbols from %s: %s"

l_.str.3:                               ; @.str.3
	.asciz	"reading symbol table"

	.comm	_really_free_pendings,4,2       ; @really_free_pendings
	.no_dead_strip	_xcoff_initial_scan
.subsections_via_symbols
