	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function som_solib_add_solib_objfile
_som_solib_add_solib_objfile:           ## @som_solib_add_solib_objfile
	.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
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	_OBJF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rsi, %rdi
	movl	%edx, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_symbol_file_add
	movq	%rax, 8(%r12)
	movl	32(%rax), %edi
	movl	%edi, (%r12)
	movq	24(%rax), %rbx
	cmpq	16(%rax), %rbx
	jae	LBB0_9
## %bb.1:
	addq	$12, %rbx
	movq	_SEC_CODE@GOTPCREL(%rip), %r13
	movq	_SEC_DATA@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %esi
	callq	_bfd_get_section_flags
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r12), %eax
	subl	24(%r12), %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%r12), %eax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%eax, -8(%rbx)
	addl	%eax, -12(%rbx)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	cmpq	16(%rax), %rbx
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	addq	$12, %rbx
	jmp	LBB0_2
LBB0_9:
	movq	_OBJF_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 12(%rax)
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.10:
	addq	$8, %rax
	movq	%rax, %rdi
	movl	$16, %esi
	callq	_obstack_alloc
	movq	%rax, %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	movq	8(%r12), %rax
	movq	%rcx, (%rax)
LBB0_11:
	movq	%r12, (%rcx)
	movl	(%r12), %edi
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bfd_check_format
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJF_SHARED,4,2                ## @OBJF_SHARED
	.comm	_SEC_CODE,4,2                   ## @SEC_CODE
	.comm	_SEC_DATA,4,2                   ## @SEC_DATA
	.comm	_bfd_object,4,2                 ## @bfd_object
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\": not in executable format: %s."

	.no_dead_strip	_som_solib_add_solib_objfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function som_solib_add_solib_objfile
_som_solib_add_solib_objfile:           ; @som_solib_add_solib_objfile
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _OBJF_SHARED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OBJF_SHARED@GOTPAGEOFF]
	ldr	w4, [x21]
	mov	x0, x1
	mov	x1, x2
	mov	x2, #0
	mov	w3, #0
	bl	_symbol_file_add
	str	x0, [x20, #8]
	ldr	w8, [x0, #32]
	str	w8, [x20]
	ldp	x10, x9, [x0, #16]
	cmp	x9, x10
	b.hs	LBB0_9
; %bb.1:
	add	x22, x9, #12
Lloh2:
	adrp	x23, _SEC_CODE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SEC_CODE@GOTPAGEOFF]
Lloh4:
	adrp	x24, _SEC_DATA@GOTPAGE
Lloh5:
	ldr	x24, [x24, _SEC_DATA@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w1, [x22, #-4]
	mov	x0, x8
	bl	_bfd_get_section_flags
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #32]
	ldr	w9, [x20, #24]
	ldur	w10, [x22, #-8]
	sub	w8, w8, w9
	add	w9, w10, w8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #16]
	ldur	w9, [x22, #-8]
	add	w9, w9, w8
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	stur	w9, [x22, #-8]
	ldur	w9, [x22, #-12]
	add	w8, w9, w8
	stur	w8, [x22, #-12]
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x20, #8]
	ldr	x8, [x0, #16]
	cmp	x22, x8
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	add	x22, x22, #12
	b	LBB0_2
LBB0_9:
	ldr	w8, [x21]
	ldr	w9, [x0, #12]
	orr	w8, w9, w8
	str	w8, [x0, #12]
	ldr	x8, [x0]
	cbnz	x8, LBB0_11
; %bb.10:
	add	x0, x0, #8
	mov	w1, #16
	bl	_obstack_alloc
	mov	x8, x0
	stp	xzr, xzr, [x0]
	ldr	x9, [x20, #8]
	str	x0, [x9]
LBB0_11:
	str	x20, [x8]
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _bfd_object@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_bfd_check_format
	cbz	w0, LBB0_13
; %bb.12:
	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
LBB0_13:
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	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	_error
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJF_SHARED,4,2                ; @OBJF_SHARED
	.comm	_SEC_CODE,4,2                   ; @SEC_CODE
	.comm	_SEC_DATA,4,2                   ; @SEC_DATA
	.comm	_bfd_object,4,2                 ; @bfd_object
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\": not in executable format: %s."

	.no_dead_strip	_som_solib_add_solib_objfile
.subsections_via_symbols
