	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coff_solib_add                 ## -- Begin function coff_solib_add
	.p2align	4, 0x90
_coff_solib_add:                        ## @coff_solib_add
	.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
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.1:
	movl	%esi, %r14d
	movq	_exec_bfd@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %rbx
	movl	(%r13), %edi
	movq	%rax, %rsi
	callq	_bfd_section_size
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_alloca
	movq	%rax, %r12
	movl	(%r13), %edi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	movl	%r15d, %r8d
	callq	_bfd_get_section_contents
	testl	%r15d, %r15d
	jle	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%r12, %rsi
	callq	_bfd_get_32
	movl	%eax, %ebx
	movl	(%r13), %edi
	leaq	16(%r12), %rsi
	callq	_bfd_get_32
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$2, %eax
	movslq	%eax, %rdi
	addq	%r12, %rdi
	movq	_OBJF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r14d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_symbol_file_add
	shll	$2, %ebx
	movslq	%ebx, %rax
	addq	%rax, %r12
	subl	%eax, %r15d
	jg	LBB0_3
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reinit_frame_cache             ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_exec_bfd,4,2                   ## @exec_bfd
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".lib"

	.comm	_OBJF_SHARED,4,2                ## @OBJF_SHARED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coff_solib_add                 ; -- Begin function coff_solib_add
	.p2align	2
_coff_solib_add:                        ; @coff_solib_add
	.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
	cbz	w3, LBB0_7
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x23, _exec_bfd@GOTPAGE
Lloh1:
	ldr	x23, [x23, _exec_bfd@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_7
; %bb.2:
	mov	x22, x0
	ldr	w0, [x23]
	mov	x1, x22
	bl	_bfd_section_size
	mov	x20, x0
	bl	_alloca
	mov	x21, x0
	ldr	w0, [x23]
	mov	x1, x22
	mov	x2, x21
	mov	w3, #0
	mov	x4, x20
	bl	_bfd_get_section_contents
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.3:
Lloh4:
	adrp	x24, _OBJF_SHARED@GOTPAGE
Lloh5:
	ldr	x24, [x24, _OBJF_SHARED@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x21
	bl	_bfd_get_32
	mov	x22, x0
	ldr	w0, [x23]
	add	x1, x21, #16
	bl	_bfd_get_32
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w0, #2
	add	x0, x21, w8, sxtw
	ldr	w4, [x24]
	mov	x1, x19
	mov	x2, #0
	mov	w3, #0
	bl	_symbol_file_add
	lsl	w8, w22, #2
	sub	w20, w20, w8
	add	x21, x21, w8, sxtw
	cmp	w20, #0
	b.gt	LBB0_4
LBB0_6:
	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	_reinit_frame_cache
LBB0_7:
	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
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_exec_bfd,4,2                   ; @exec_bfd
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".lib"

	.comm	_OBJF_SHARED,4,2                ; @OBJF_SHARED
.subsections_via_symbols
