	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf64_alpha_calc_dynrel_sizes
_elf64_alpha_calc_dynrel_sizes:         ## @elf64_alpha_calc_dynrel_sizes
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	_bfd_link_hash_warning@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	32(%r14), %r14
LBB0_2:
	leaq	8(%r14), %rdi
	cmpl	$0, 8(%r14)
	je	LBB0_3
LBB0_9:
	movq	%r15, %rsi
	callq	_alpha_elf_dynamic_symbol_p
	movl	%eax, %r12d
	movq	16(%r14), %rax
	movq	_bfd_link_hash_undefweak@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	testl	%r12d, %r12d
	je	LBB0_17
LBB0_11:
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.12:
	movq	_DT_TEXTREL@GOTPCREL(%rip), %r14
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %edi
	movl	4(%r15), %edx
	movl	%r12d, %esi
	callq	_alpha_dynamic_entries_for_reloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	imulq	(%rbx), %rax
	shlq	$2, %rax
	movq	16(%rbx), %rcx
	addq	%rax, (%rcx)
	cmpq	$0, 8(%rbx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r14), %eax
	orl	%eax, (%r15)
	jmp	LBB0_16
LBB0_17:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	cmpq	$0, 48(%r14)
	je	LBB0_9
## %bb.4:
	cmpl	$0, 40(%r14)
	jne	LBB0_9
## %bb.5:
	movq	16(%r14), %rax
	movq	_bfd_link_hash_defined@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
LBB0_7:
	movq	24(%r14), %rax
	movq	(%rax), %rax
	movq	_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_9
## %bb.8:
	movl	$1, (%rdi)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_link_hash_warning,8,3      ## @bfd_link_hash_warning
	.comm	_bfd_link_hash_defined,8,3      ## @bfd_link_hash_defined
	.comm	_bfd_link_hash_defweak,8,3      ## @bfd_link_hash_defweak
	.comm	_DYNAMIC,4,2                    ## @DYNAMIC
	.comm	_bfd_link_hash_undefweak,8,3    ## @bfd_link_hash_undefweak
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_DT_TEXTREL,4,2                 ## @DT_TEXTREL
	.no_dead_strip	_elf64_alpha_calc_dynrel_sizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf64_alpha_calc_dynrel_sizes
_elf64_alpha_calc_dynrel_sizes:         ; @elf64_alpha_calc_dynrel_sizes
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x9, _bfd_link_hash_warning@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_link_hash_warning@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x20, [x20, #32]
LBB0_2:
	mov	x0, x20
	ldr	w8, [x0, #8]!
	cbz	w8, LBB0_11
LBB0_3:
	mov	x1, x19
	bl	_alpha_elf_dynamic_symbol_p
	ldr	x8, [x20, #16]
Lloh3:
	adrp	x9, _bfd_link_hash_undefweak@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bfd_link_hash_undefweak@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	w0, #0, #0, eq
	b.eq	LBB0_10
; %bb.4:
	ldr	x20, [x20]
	cbz	x20, LBB0_10
; %bb.5:
	mov	x21, x0
Lloh6:
	adrp	x22, _DT_TEXTREL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _DT_TEXTREL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x20, [x20, #32]
	cbz	x20, LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #24]
	ldr	w2, [x19, #4]
	mov	x1, x21
	bl	_alpha_dynamic_entries_for_reloc
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldp	x8, x9, [x20]
	mul	x8, x0, x8
	ldr	x10, [x20, #16]
	ldr	x11, [x10]
	add	x8, x11, x8, lsl #2
	str	x8, [x10]
	cbz	x9, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_6
LBB0_10:
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_3
; %bb.12:
	ldr	w8, [x20, #40]
	cbnz	w8, LBB0_3
; %bb.13:
	ldr	x8, [x20, #16]
Lloh11:
	adrp	x9, _bfd_link_hash_defined@GOTPAGE
Lloh12:
	ldr	x9, [x9, _bfd_link_hash_defined@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _bfd_link_hash_defweak@GOTPAGE
Lloh15:
	ldr	x10, [x10, _bfd_link_hash_defweak@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.14:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _DYNAMIC@GOTPAGE
Lloh18:
	ldr	x9, [x9, _DYNAMIC@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.15:
	mov	w8, #1
	str	w8, [x0]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_link_hash_warning,8,3      ; @bfd_link_hash_warning
	.comm	_bfd_link_hash_defined,8,3      ; @bfd_link_hash_defined
	.comm	_bfd_link_hash_defweak,8,3      ; @bfd_link_hash_defweak
	.comm	_DYNAMIC,4,2                    ; @DYNAMIC
	.comm	_bfd_link_hash_undefweak,8,3    ; @bfd_link_hash_undefweak
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_DT_TEXTREL,4,2                 ; @DT_TEXTREL
	.no_dead_strip	_elf64_alpha_calc_dynrel_sizes
.subsections_via_symbols
