	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function som_solib_sizeof_symbol_table
_som_solib_sizeof_symbol_table:         ## @som_solib_sizeof_symbol_table
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	_O_RDONLY@GOTPCREL(%rip), %rdx
	movq	_O_BINARY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	leaq	-32(%rbp), %r9
	movl	%eax, %edi
	movl	$1, %esi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_openp
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_perror_with_name
LBB0_2:
	movq	-32(%rbp), %r14
	movq	_gnutarget@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_bfd_fdopenr
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_close
	movq	_xfree@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_make_cleanup
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_error
LBB0_4:
	movq	_bfd_object@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_bfd_check_format
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_bfd_close
	movq	_xfree@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_make_cleanup
	xorl	%eax, %eax
	callq	_bfd_get_error
	movl	%eax, %edi
	callq	_bfd_errmsg
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_error
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bfd_section_size
	movq	%rax, %rbx
	jmp	LBB0_9
LBB0_7:
	xorl	%ebx, %ebx
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_bfd_section_size
	addl	%eax, %ebx
LBB0_11:
	movq	%r15, %rdi
	callq	_bfd_close
	movq	%r14, %rdi
	callq	_xfree
	addl	%ebx, %ebx
	leal	(%rbx,%rbx,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PATH"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_BINARY,4,2                   ## @O_BINARY
	.comm	_gnutarget,4,2                  ## @gnutarget
L_.str.1:                               ## @.str.1
	.asciz	"\"%s\": can't open to read symbols: %s."

	.comm	_bfd_object,4,2                 ## @bfd_object
L_.str.2:                               ## @.str.2
	.asciz	"\"%s\": can't read symbols: %s."

L_.str.3:                               ## @.str.3
	.asciz	"$DEBUG$"

L_.str.4:                               ## @.str.4
	.asciz	"$PINFO$"

	.no_dead_strip	_som_solib_sizeof_symbol_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function som_solib_sizeof_symbol_table
_som_solib_sizeof_symbol_table:         ; @som_solib_sizeof_symbol_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh2:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _O_BINARY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _O_BINARY@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x5, sp, #8
	mov	w1, #1
	mov	x2, x19
	mov	w4, #0
	bl	_openp
	mov	x21, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_perror_with_name
LBB0_2:
	ldr	x19, [sp, #8]
Lloh8:
	adrp	x8, _gnutarget@GOTPAGE
Lloh9:
	ldr	x8, [x8, _gnutarget@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_bfd_fdopenr
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_close
Lloh11:
	adrp	x0, _xfree@GOTPAGE
Lloh12:
	ldr	x0, [x0, _xfree@GOTPAGEOFF]
	mov	x1, x19
	bl	_make_cleanup
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_error
LBB0_4:
Lloh15:
	adrp	x8, _bfd_object@GOTPAGE
Lloh16:
	ldr	x8, [x8, _bfd_object@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bfd_check_format
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_bfd_close
Lloh18:
	adrp	x0, _xfree@GOTPAGE
Lloh19:
	ldr	x0, [x0, _xfree@GOTPAGEOFF]
	mov	x1, x19
	bl	_make_cleanup
	bl	_bfd_get_error
	bl	_bfd_errmsg
	mov	x2, x0
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_error
LBB0_6:
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, x0
	mov	x0, x20
	bl	_bfd_section_size
	mov	x21, x0
	b	LBB0_9
LBB0_8:
	mov	w21, #0
LBB0_9:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_11
; %bb.10:
	mov	x1, x0
	mov	x0, x20
	bl	_bfd_section_size
	add	w21, w21, w0
LBB0_11:
	mov	x0, x20
	bl	_bfd_close
	mov	x0, x19
	bl	_xfree
	add	w8, w21, w21, lsl #2
	lsl	w0, w8, #1
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PATH"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_BINARY,4,2                   ; @O_BINARY
	.comm	_gnutarget,4,2                  ; @gnutarget
l_.str.1:                               ; @.str.1
	.asciz	"\"%s\": can't open to read symbols: %s."

	.comm	_bfd_object,4,2                 ; @bfd_object
l_.str.2:                               ; @.str.2
	.asciz	"\"%s\": can't read symbols: %s."

l_.str.3:                               ; @.str.3
	.asciz	"$DEBUG$"

l_.str.4:                               ; @.str.4
	.asciz	"$PINFO$"

	.no_dead_strip	_som_solib_sizeof_symbol_table
.subsections_via_symbols
