	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function solib_add_common_symbols
_solib_add_common_symbols:              ## @solib_add_common_symbols
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_rt_common_objfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rdi)
	je	LBB0_3
## %bb.2:
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_obstack_free
	movq	_rt_common_objfile@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	$16, %rdi
	callq	_obstack_init
	movq	(%r14), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	(%r14), %rdi
	callq	_terminate_minimal_symbol_table
LBB0_3:
	xorl	%eax, %eax
	callq	_init_minimal_symbol_collection
	xorl	%eax, %eax
	callq	_make_cleanup_discard_minimal_symbols
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.4:
	leaq	-48(%rbp), %r14
	leaq	-72(%rbp), %r15
	movq	_N_COMM@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-64(%rbp), %esi
	movq	_mst_bss@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_prim_record_minimal_symbol
	movq	%r12, %rdi
	callq	_xfree
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %edi
	callq	_SOLIB_EXTRACT_ADDRESS
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_read_memory
	movl	-44(%rbp), %edi
	callq	_SOLIB_EXTRACT_ADDRESS
	movq	%rax, %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	callq	_read_memory
	movq	-72(%rbp), %rax
	cmpq	(%r13), %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-64(%rbp), %ebx
	subl	-60(%rbp), %ebx
	movl	%ebx, %edi
	callq	_xmalloc
	movq	%rax, %r12
	movl	-56(%rbp), %edi
	callq	_SOLIB_EXTRACT_ADDRESS
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_read_memory
	movq	_rt_common_objfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_allocate_rt_common_objfile
	movq	_rt_common_objfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	jmp	LBB0_8
LBB0_10:
	movq	_rt_common_objfile@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_install_minimal_symbols
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rt_common_objfile,8,3          ## @rt_common_objfile
	.comm	_N_COMM,8,3                     ## @N_COMM
	.comm	_mst_bss,4,2                    ## @mst_bss
	.no_dead_strip	_solib_add_common_symbols
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function solib_add_common_symbols
_solib_add_common_symbols:              ; @solib_add_common_symbols
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x21, _rt_common_objfile@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rt_common_objfile@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.2:
	add	x0, x8, #16
	mov	w1, #0
	bl	_obstack_free
	ldr	x8, [x21]
	add	x0, x8, #16
	bl	_obstack_init
	ldr	x8, [x21]
	stp	xzr, xzr, [x8]
	ldr	x0, [x21]
	bl	_terminate_minimal_symbol_table
LBB0_3:
	bl	_init_minimal_symbol_collection
	bl	_make_cleanup_discard_minimal_symbols
	cbz	x19, LBB0_10
; %bb.4:
Lloh2:
	adrp	x22, _N_COMM@GOTPAGE
Lloh3:
	ldr	x22, [x22, _N_COMM@GOTPAGEOFF]
Lloh4:
	adrp	x23, _mst_bss@GOTPAGE
Lloh5:
	ldr	x23, [x23, _mst_bss@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [sp, #8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_prim_record_minimal_symbol
	mov	x0, x19
	bl	_xfree
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp, #24]
	bl	_SOLIB_EXTRACT_ADDRESS
	mov	x19, x0
	cbz	x0, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #24
	mov	x0, x19
	mov	w2, #8
	bl	_read_memory
	ldr	w0, [sp, #28]
	bl	_SOLIB_EXTRACT_ADDRESS
	mov	x1, sp
	mov	w2, #24
	bl	_read_memory
	ldr	x8, [sp]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	w8, w9, [sp, #8]
	sub	w20, w8, w9
	mov	x0, x20
	bl	_xmalloc
	mov	x19, x0
	ldr	w0, [sp, #16]
	bl	_SOLIB_EXTRACT_ADDRESS
	mov	x1, x19
	mov	x2, x20
	bl	_read_memory
	ldr	x3, [x21]
	cbnz	x3, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_allocate_rt_common_objfile
	ldr	x3, [x21]
	b	LBB0_5
LBB0_10:
	ldr	x0, [x21]
	bl	_install_minimal_symbols
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_rt_common_objfile,8,3          ; @rt_common_objfile
	.comm	_N_COMM,8,3                     ; @N_COMM
	.comm	_mst_bss,4,2                    ; @mst_bss
	.no_dead_strip	_solib_add_common_symbols
.subsections_via_symbols
