	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generic_link_check_archive_element
_generic_link_check_archive_element:    ## @generic_link_check_archive_element
	.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
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_FALSE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, (%rdx)
	callq	_generic_link_read_symbols
	testl	%eax, %eax
	je	LBB0_24
## %bb.1:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	callq	__bfd_generic_link_get_symbols
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	__bfd_generic_link_get_symcount
	testl	%eax, %eax
	jle	LBB0_23
## %bb.2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	cltq
	leaq	(,%rax,8), %rax
	addq	%r13, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %r15
	jmp	LBB0_3
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_bfd_make_section_old_way
	movq	16(%r14), %rcx
	movq	%rax, 8(%rcx)
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%rbx, %r15
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r13
	cmpq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_23
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r12
	movq	8(%r12), %rdi
	callq	_bfd_is_com_section
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_BSF_INDIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BSF_GLOBAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_BSF_WEAK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, (%r12)
	je	LBB0_22
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_bfd_asymbol_name
	movl	(%r15), %ecx
	movq	_TRUE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%ecx, %edx
	callq	_bfd_link_hash_lookup
	testq	%rax, %rax
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_bfd_link_hash_undefined@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_bfd_link_hash_common@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rdi
	callq	_bfd_is_com_section
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rax
	movq	_bfd_link_hash_undefined@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rbx
	movq	24(%r14), %r15
	testq	%r15, %r15
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_bfd_link_hash_common@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	$4, %esi
	callq	_bfd_hash_allocate
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_bfd_asymbol_value
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_bfd_log2
	cmpl	$4, %eax
	movl	$4, %ecx
	cmovael	%ecx, %eax
	movq	16(%r14), %rcx
	movl	%eax, (%rcx)
	movq	8(%r12), %rax
	leaq	L_.str(%rip), %rsi
	movq	_bfd_com_section_ptr@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rsi
	jmp	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_bfd_asymbol_value
	cmpq	8(%r14), %rax
	jle	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_bfd_asymbol_value
	movq	%rax, 8(%r14)
	jmp	LBB0_22
LBB0_23:
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_24:
	movl	(%r15), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rax
	movq	(%rax), %r14
	movq	%r12, %rdi
	callq	_bfd_asymbol_name
	movq	%r13, %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	*%r14
	testl	%eax, %eax
	je	LBB0_24
## %bb.10:
	movq	%rbx, %rdi
	callq	__bfd_generic_link_get_symcount
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	__bfd_generic_link_get_symbols
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	movq	%rax, %rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	callq	_generic_link_add_symbol_list
	testl	%eax, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_14
	jmp	LBB0_24
LBB0_13:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	8(%r15), %rax
	movq	(%rax), %r14
	movq	%r12, %rdi
	callq	_bfd_asymbol_name
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	*%r14
	testl	%eax, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, %r15
	je	LBB0_24
LBB0_14:
	movq	_TRUE@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_24
LBB0_16:
	movq	%rbx, %r15
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_BSF_GLOBAL,4,2                 ## @BSF_GLOBAL
	.comm	_BSF_INDIRECT,4,2               ## @BSF_INDIRECT
	.comm	_BSF_WEAK,4,2                   ## @BSF_WEAK
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_bfd_link_hash_undefined,8,3    ## @bfd_link_hash_undefined
	.comm	_bfd_link_hash_common,8,3       ## @bfd_link_hash_common
	.comm	_bfd_com_section_ptr,8,3        ## @bfd_com_section_ptr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COMMON"

	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.no_dead_strip	_generic_link_check_archive_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generic_link_check_archive_element
_generic_link_check_archive_element:    ; @generic_link_check_archive_element
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x28, _FALSE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FALSE@GOTPAGEOFF]
	ldr	w8, [x28]
	str	w8, [x2]
	bl	_generic_link_read_symbols
	cbz	w0, LBB0_18
; %bb.1:
	mov	x0, x21
	bl	__bfd_generic_link_get_symbols
	mov	x23, x0
	mov	x0, x21
	bl	__bfd_generic_link_get_symcount
Lloh2:
	adrp	x27, _TRUE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.2:
	str	w22, [sp, #12]                  ; 4-byte Folded Spill
	stp	x19, x21, [sp, #16]             ; 16-byte Folded Spill
Lloh4:
	adrp	x26, _BSF_GLOBAL@GOTPAGE
Lloh5:
	ldr	x26, [x26, _BSF_GLOBAL@GOTPAGEOFF]
Lloh6:
	adrp	x21, _BSF_INDIRECT@GOTPAGE
Lloh7:
	ldr	x21, [x21, _BSF_INDIRECT@GOTPAGEOFF]
Lloh8:
	adrp	x22, _BSF_WEAK@GOTPAGE
Lloh9:
	ldr	x22, [x22, _BSF_WEAK@GOTPAGEOFF]
	add	x19, x23, w0, sxtw #3
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x8]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_bfd_make_section_old_way
	ldr	x8, [x25, #16]
	str	x0, [x8, #8]
Lloh10:
	adrp	x8, _SEC_ALLOC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEC_ALLOC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0]
	mov	x26, x21
	mov	x21, x22
	mov	x22, x28
	mov	x28, x27
Lloh13:
	adrp	x27, _TRUE@GOTPAGE
Lloh14:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #8
	cmp	x23, x19
	b.hs	LBB0_19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x23]
	ldr	x0, [x24, #8]
	bl	_bfd_is_com_section
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x26]
	ldr	w10, [x21]
	orr	w9, w10, w9
	ldr	w10, [x22]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x25, [x20]
	mov	x0, x24
	bl	_bfd_asymbol_name
	mov	x1, x0
	ldr	w2, [x28]
	ldr	w4, [x27]
	mov	x0, x25
	mov	x3, x2
	bl	_bfd_link_hash_lookup
	cbz	x0, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x25, x0
	ldr	x8, [x0]
Lloh15:
	adrp	x9, _bfd_link_hash_undefined@GOTPAGE
Lloh16:
	ldr	x9, [x9, _bfd_link_hash_undefined@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _bfd_link_hash_common@GOTPAGE
Lloh19:
	ldr	x10, [x10, _bfd_link_hash_common@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x24, #8]
	bl	_bfd_is_com_section
	cbz	w0, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25]
Lloh21:
	adrp	x9, _bfd_link_hash_undefined@GOTPAGE
Lloh22:
	ldr	x9, [x9, _bfd_link_hash_undefined@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x28
	mov	x28, x22
	mov	x22, x21
	mov	x21, x26
	ldr	x26, [x25, #24]
	cbz	x26, LBB0_23
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x8, _bfd_link_hash_common@GOTPAGE
Lloh25:
	ldr	x8, [x8, _bfd_link_hash_common@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	str	x8, [x25]
	ldr	x0, [x20]
	mov	w1, #4
	bl	_bfd_hash_allocate
	str	x0, [x25, #16]
	cbz	x0, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_bfd_asymbol_value
	str	x0, [x25, #8]
	bl	_bfd_log2
	cmp	w0, #4
	mov	w8, #4
	csel	w8, w0, w8, lo
	ldr	x9, [x25, #16]
	str	w8, [x9]
	ldr	x8, [x24, #8]
Lloh27:
	adrp	x9, _bfd_com_section_ptr@GOTPAGE
Lloh28:
	ldr	x9, [x9, _bfd_com_section_ptr@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh30:
	adrp	x1, l_.str@PAGE
Lloh31:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_bfd_asymbol_value
	ldr	x8, [x25, #8]
	cmp	x0, x8
	b.le	LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_bfd_asymbol_value
	str	x0, [x25, #8]
	b	LBB0_5
LBB0_18:
	mov	x27, x28
LBB0_19:
	ldr	w0, [x27]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_20:
	ldr	x8, [x20, #8]
	ldr	x19, [x8]
	mov	x0, x24
	bl	_bfd_asymbol_name
	mov	x2, x0
	mov	x0, x20
	ldr	x21, [sp, #24]                  ; 8-byte Folded Reload
	mov	x1, x21
	blr	x19
	cbz	w0, LBB0_22
; %bb.21:
	mov	x0, x21
	bl	__bfd_generic_link_get_symcount
	mov	x23, x0
	mov	x0, x21
	bl	__bfd_generic_link_get_symbols
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
	bl	_generic_link_add_symbol_list
	cbnz	w0, LBB0_24
LBB0_22:
Lloh32:
	adrp	x27, _FALSE@GOTPAGE
Lloh33:
	ldr	x27, [x27, _FALSE@GOTPAGEOFF]
	b	LBB0_19
LBB0_23:
	ldr	x8, [x20, #8]
	ldr	x19, [x8]
	mov	x0, x24
	bl	_bfd_asymbol_name
	mov	x2, x0
	mov	x0, x20
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	blr	x19
Lloh34:
	adrp	x27, _TRUE@GOTPAGE
Lloh35:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	cbz	w0, LBB0_22
LBB0_24:
	ldr	w8, [x27]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x9]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_BSF_GLOBAL,4,2                 ; @BSF_GLOBAL
	.comm	_BSF_INDIRECT,4,2               ; @BSF_INDIRECT
	.comm	_BSF_WEAK,4,2                   ; @BSF_WEAK
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_bfd_link_hash_undefined,8,3    ; @bfd_link_hash_undefined
	.comm	_bfd_link_hash_common,8,3       ; @bfd_link_hash_common
	.comm	_bfd_com_section_ptr,8,3        ; @bfd_com_section_ptr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COMMON"

	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.no_dead_strip	_generic_link_check_archive_element
.subsections_via_symbols
