	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcoff_end_psymtab
_xcoff_end_psymtab:                     ## @xcoff_end_psymtab
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%rdi, %r13
	movq	104(%rdi), %r14
	cmpl	$-1, %ecx
	je	LBB0_1
## %bb.2:
	movslq	%ecx, %rcx
	movq	(%r13), %rax
	subq	8(%rax), %rcx
	movq	%rcx, (%rax)
	jmp	LBB0_3
LBB0_1:
	movq	(%r13), %rax
LBB0_3:
	movq	_first_fun_line_offset@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	%rdi, 16(%rax)
	movq	$0, (%rcx)
	movq	24(%r14), %rax
	movq	32(%r14), %rcx
	addq	16(%r13), %rcx
	subq	%rcx, %rax
	movq	%rax, 8(%r13)
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	addq	32(%r13), %rcx
	subq	%rcx, %rax
	movq	%rax, 24(%r13)
	movl	%r9d, 40(%r13)
	testl	%r9d, %r9d
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	je	LBB0_5
## %bb.4:
	leal	(,%r9,8), %r15d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r8, %r12
	callq	_obstack_alloc
	movq	%rax, 72(%r13)
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	jg	LBB0_7
	jmp	LBB0_9
LBB0_5:
	movq	$0, 72(%r13)
	testl	%edx, %edx
	jle	LBB0_9
LBB0_7:
	movq	%rbx, %r15
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%r12,8), %rdi
	movq	%r14, %rsi
	callq	_allocate_psymtab
	movq	%rax, %rbx
	movl	96(%r13), %eax
	movl	%eax, 96(%rbx)
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_obstack_alloc
	movq	%rax, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movups	%xmm0, 80(%rbx)
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_obstack_alloc
	movq	%rax, 72(%rbx)
	movq	%r13, (%rax)
	movl	$1, 40(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 56(%rbx)
	movl	48(%r13), %eax
	movl	%eax, 48(%rbx)
	incq	%r12
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_8
LBB0_9:
	movq	%r13, %rdi
	callq	_sort_pst_symbols
	movl	44(%r13), %edi
	callq	_free_named_symtabs
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	orl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.10:
	cmpq	$0, 8(%r13)
	jne	LBB0_13
## %bb.11:
	cmpq	$0, 24(%r13)
	jne	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_discard_psymtab
	xorl	%r13d, %r13d
LBB0_13:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_first_fun_line_offset,8,3      ## @first_fun_line_offset
	.no_dead_strip	_xcoff_end_psymtab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xcoff_end_psymtab
_xcoff_end_psymtab:                     ; @xcoff_end_psymtab
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x5
	mov	x24, x4
                                        ; kill: def $w3 killed $w3 def $x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x23, [x0, #104]
	cmn	w3, #1
	b.eq	LBB0_2
; %bb.1:
	sxtw	x9, w3
	ldr	x8, [x19]
	ldr	x10, [x8, #8]
	sub	x9, x9, x10
	str	x9, [x8]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
LBB0_3:
Lloh0:
	adrp	x9, _first_fun_line_offset@GOTPAGE
Lloh1:
	ldr	x9, [x9, _first_fun_line_offset@GOTPAGEOFF]
	ldr	x10, [x9]
	str	x10, [x8, #16]
	str	xzr, [x9]
	ldp	x8, x9, [x23, #24]
	ldr	x10, [x19, #16]
	add	x9, x9, x10
	sub	x8, x8, x9
	str	x8, [x19, #8]
	ldp	x8, x9, [x23, #8]
	ldr	x10, [x19, #32]
	add	x9, x9, x10
	sub	x8, x8, x9
	str	x8, [x19, #24]
	str	w20, [x19, #40]
	cbz	w20, LBB0_5
; %bb.4:
	lsl	w25, w20, #3
	mov	x0, x23
	mov	x1, x25
	bl	_obstack_alloc
	str	x0, [x19, #72]
	mov	x1, x24
	mov	x2, x25
	bl	_memcpy
	cmp	w21, #1
	b.ge	LBB0_6
	b	LBB0_8
LBB0_5:
	str	xzr, [x19, #72]
	cmp	w21, #1
	b.lt	LBB0_8
LBB0_6:
	mov	w25, w21
	mov	w26, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22], #8
	mov	x1, x23
	bl	_allocate_psymtab
	mov	x24, x0
	ldr	w8, [x19, #96]
	str	w8, [x0, #96]
	mov	x0, x23
	mov	w1, #24
	bl	_obstack_alloc
	str	x0, [x24]
	stp	xzr, xzr, [x0]
	stp	xzr, xzr, [x24, #80]
	mov	x0, x23
	mov	w1, #8
	bl	_obstack_alloc
	str	x0, [x24, #72]
	str	x19, [x0]
	str	w26, [x24, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x24, #8]
	stur	q0, [x24, #24]
	stp	xzr, xzr, [x24, #56]
	ldr	w8, [x19, #48]
	str	w8, [x24, #48]
	subs	x25, x25, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x19
	bl	_sort_pst_symbols
	ldr	w0, [x19, #44]
	bl	_free_named_symtabs
	orr	w8, w20, w21
	cbnz	w8, LBB0_12
; %bb.9:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_discard_psymtab
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_first_fun_line_offset,8,3      ; @first_fun_line_offset
	.no_dead_strip	_xcoff_end_psymtab
.subsections_via_symbols
