	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dec_dynrel_count
_dec_dynrel_count:                      ## @dec_dynrel_count
	.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	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	%r8, -48(%rbp)
	movq	%r9, -56(%rbp)
	callq	_ELF64_R_TYPE
	movl	%eax, %r15d
	leal	-128(%r15), %eax
	cmpl	$35, %eax
	ja	LBB0_31
## %bb.1:
	movabsq	$68719460367, %rcx              ## imm = 0xFFFFFC00F
	btq	%rax, %rcx
	jae	LBB0_2
LBB0_3:
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %r14
	movq	(%r12), %r15
	movl	%ebx, %edi
	callq	_ELF64_R_SYM
	movq	%r15, (%rsp)
	movq	%r14, %r15
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	leaq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	movq	%rax, %r9
	callq	_get_sym_h
	testl	%eax, %eax
	je	LBB0_18
LBB0_5:
	cmpq	$0, (%r14)
	je	LBB0_11
## %bb.6:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_must_be_dyn_reloc
	movq	-48(%rbp), %r13
	testq	%rax, %rax
	je	LBB0_7
## %bb.19:
	testq	%r13, %r13
	jne	LBB0_16
## %bb.20:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_22
## %bb.21:
	movq	%r12, %rdi
LBB0_22:
	callq	_elf_section_data
	movq	%rax, %r13
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_23
	jmp	LBB0_31
LBB0_2:
	cmpq	$0, (%r14)
	jne	LBB0_3
	jmp	LBB0_31
LBB0_7:
	testq	%r13, %r13
	je	LBB0_11
## %bb.8:
	cmpl	$0, 8(%r14)
	je	LBB0_16
## %bb.9:
	movq	8(%r13), %rax
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.10:
	cmpl	$0, (%r13)
	je	LBB0_16
LBB0_11:
	movq	_ELIMINATE_COPY_RELOCS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.12:
	cmpq	$0, (%r14)
	jne	LBB0_31
## %bb.13:
	movq	-48(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_31
## %bb.14:
	movq	8(%r13), %rax
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.15:
	cmpl	$0, (%r13)
	jne	LBB0_31
LBB0_16:
	movq	(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_23:
	cmpq	%r12, 24(%rbx)
	je	LBB0_27
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpq	%r12, 24(%rbx)
	jne	LBB0_24
## %bb.26:
	addq	$16, %r13
LBB0_27:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_must_be_dyn_reloc
	testq	%rax, %rax
	je	LBB0_28
## %bb.29:
	decq	8(%rbx)
	je	LBB0_30
LBB0_31:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_17:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	(%r12), %rsi
	movl	%eax, %edi
	movq	%r12, %rdx
	callq	__bfd_error_handler
	movq	_bfd_error_bad_value@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_18:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_32:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	decl	(%rbx)
	decq	8(%rbx)
	jne	LBB0_31
LBB0_30:
	movq	16(%rbx), %rax
	movq	%rax, (%r13)
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_bfd_link_hash_defweak,8,3      ## @bfd_link_hash_defweak
	.comm	_ELIMINATE_COPY_RELOCS,8,3      ## @ELIMINATE_COPY_RELOCS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dynreloc miscount for %B, section %A"

	.comm	_bfd_error_bad_value,4,2        ## @bfd_error_bad_value
	.no_dead_strip	_dec_dynrel_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dec_dynrel_count
_dec_dynrel_count:                      ; @dec_dynrel_count
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	stp	x5, x4, [sp, #16]
	bl	_ELF64_R_TYPE
	sub	w8, w0, #128
	cmp	w8, #35
	b.hi	LBB0_29
; %bb.1:
	mov	x21, x0
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #68719411200
	movk	x9, #49167
	tst	x8, x9
	b.eq	LBB0_10
LBB0_2:
	cbz	x22, LBB0_4
; %bb.3:
	ldr	x24, [x20]
	mov	x0, x23
	bl	_ELF64_R_SYM
	mov	x5, x0
	add	x0, sp, #24
	add	x1, sp, #8
	add	x2, sp, #16
	mov	x3, #0
	mov	x4, x22
	mov	x6, x24
	bl	_get_sym_h
	cbz	w0, LBB0_31
LBB0_4:
	ldr	x8, [x19]
	cbz	x8, LBB0_15
; %bb.5:
	mov	x0, x19
	mov	x1, x21
	bl	_must_be_dyn_reloc
	ldr	x22, [sp, #24]
	cbz	x0, LBB0_11
; %bb.6:
	cbnz	x22, LBB0_20
; %bb.7:
	ldr	x0, [sp, #16]
	cbnz	x0, LBB0_9
; %bb.8:
	mov	x0, x20
LBB0_9:
	bl	_elf_section_data
	mov	x22, x0
	ldr	x23, [x0]
	cbnz	x23, LBB0_21
	b	LBB0_29
LBB0_10:
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
	b	LBB0_29
LBB0_11:
	cbz	x22, LBB0_15
; %bb.12:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_20
; %bb.13:
	ldr	x8, [x22, #8]
Lloh0:
	adrp	x9, _bfd_link_hash_defweak@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_link_hash_defweak@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.14:
	ldr	w8, [x22]
	cbz	w8, LBB0_20
LBB0_15:
Lloh3:
	adrp	x8, _ELIMINATE_COPY_RELOCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ELIMINATE_COPY_RELOCS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_29
; %bb.16:
	ldr	x8, [x19]
	cbnz	x8, LBB0_29
; %bb.17:
	ldr	x22, [sp, #24]
	cbz	x22, LBB0_29
; %bb.18:
	ldr	x8, [x22, #8]
Lloh6:
	adrp	x9, _bfd_link_hash_defweak@GOTPAGE
Lloh7:
	ldr	x9, [x9, _bfd_link_hash_defweak@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.19:
	ldr	w8, [x22]
	cbnz	w8, LBB0_29
LBB0_20:
	ldr	x23, [x22]
	cbz	x23, LBB0_30
LBB0_21:
	ldr	x8, [x23, #24]
	cmp	x8, x20
	b.eq	LBB0_25
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	mov	x8, x23
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_30
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x9, [x23, #24]
	cmp	x9, x20
	b.ne	LBB0_22
; %bb.24:
	add	x22, x8, #16
LBB0_25:
	mov	x0, x19
	mov	x1, x21
	bl	_must_be_dyn_reloc
	cbnz	x0, LBB0_27
; %bb.26:
	ldr	w8, [x23]
	sub	w8, w8, #1
	str	w8, [x23]
LBB0_27:
	ldr	x8, [x23, #8]
	subs	x8, x8, #1
	str	x8, [x23, #8]
	b.ne	LBB0_29
; %bb.28:
	ldr	x8, [x23, #16]
	str	x8, [x22]
LBB0_29:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_32
LBB0_30:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x1, [x20]
	mov	x2, x20
	bl	__bfd_error_handler
Lloh13:
	adrp	x8, _bfd_error_bad_value@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bfd_error_bad_value@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_31:
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_32:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_bfd_link_hash_defweak,8,3      ; @bfd_link_hash_defweak
	.comm	_ELIMINATE_COPY_RELOCS,8,3      ; @ELIMINATE_COPY_RELOCS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dynreloc miscount for %B, section %A"

	.comm	_bfd_error_bad_value,4,2        ; @bfd_error_bad_value
	.no_dead_strip	_dec_dynrel_count
.subsections_via_symbols
