	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf64_alpha_size_plt_section
_elf64_alpha_size_plt_section:          ## @elf64_alpha_size_plt_section
	.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, %r15
	callq	_elf_hash_table
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	$0, (%rax)
	movq	%r15, %rdi
	callq	_alpha_elf_hash_table
	movq	_elf64_alpha_size_plt_section_1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movq	%rbx, %rdx
	callq	_alpha_elf_link_hash_traverse
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rcx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_elf64_alpha_use_secureplt@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	movq	_NEW_PLT_HEADER_SIZE@GOTPCREL(%rip), %rdx
	cmoveq	_OLD_PLT_HEADER_SIZE@GOTPCREL(%rip), %rdx
	movq	_NEW_PLT_ENTRY_SIZE@GOTPCREL(%rip), %rsi
	cmoveq	_OLD_PLT_ENTRY_SIZE@GOTPCREL(%rip), %rsi
	subq	(%rdx), %rax
	movq	(%rsi), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %ebx
LBB0_6:
	leaq	(,%rbx,4), %rax
	movq	%rax, (%rcx)
	movq	_elf64_alpha_use_secureplt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_bfd_get_section_by_name
	xorl	%ecx, %ecx
	testq	%rbx, %rbx
	setne	%cl
	shlq	$4, %rcx
	movq	%rcx, (%rax)
LBB0_8:
	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	".plt"

	.comm	_elf64_alpha_size_plt_section_1,4,2 ## @elf64_alpha_size_plt_section_1
L_.str.1:                               ## @.str.1
	.asciz	".rela.plt"

	.comm	_elf64_alpha_use_secureplt,8,3  ## @elf64_alpha_use_secureplt
	.comm	_NEW_PLT_HEADER_SIZE,8,3        ## @NEW_PLT_HEADER_SIZE
	.comm	_NEW_PLT_ENTRY_SIZE,8,3         ## @NEW_PLT_ENTRY_SIZE
	.comm	_OLD_PLT_HEADER_SIZE,8,3        ## @OLD_PLT_HEADER_SIZE
	.comm	_OLD_PLT_ENTRY_SIZE,8,3         ## @OLD_PLT_ENTRY_SIZE
L_.str.2:                               ## @.str.2
	.asciz	".got.plt"

	.no_dead_strip	_elf64_alpha_size_plt_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf64_alpha_size_plt_section
_elf64_alpha_size_plt_section:          ; @elf64_alpha_size_plt_section
	.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	x21, x0
	bl	_elf_hash_table
	ldr	x19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
	str	xzr, [x0]
	mov	x0, x21
	bl	_alpha_elf_hash_table
Lloh2:
	adrp	x8, _elf64_alpha_size_plt_section_1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _elf64_alpha_size_plt_section_1@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_alpha_elf_link_hash_traverse
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	ldr	x9, [x20]
Lloh7:
	adrp	x8, _elf64_alpha_use_secureplt@GOTPAGE
Lloh8:
	ldr	x8, [x8, _elf64_alpha_use_secureplt@GOTPAGEOFF]
	cbz	x9, LBB0_3
; %bb.2:
Lloh9:
	adrp	x10, _OLD_PLT_HEADER_SIZE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _OLD_PLT_HEADER_SIZE@GOTPAGEOFF]
Lloh11:
	adrp	x11, _NEW_PLT_HEADER_SIZE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _NEW_PLT_HEADER_SIZE@GOTPAGEOFF]
	ldr	x12, [x8]
	cmp	x12, #0
	csel	x10, x10, x11, eq
	ldr	x10, [x10]
Lloh13:
	adrp	x11, _OLD_PLT_ENTRY_SIZE@GOTPAGE
Lloh14:
	ldr	x11, [x11, _OLD_PLT_ENTRY_SIZE@GOTPAGEOFF]
Lloh15:
	adrp	x12, _NEW_PLT_ENTRY_SIZE@GOTPAGE
Lloh16:
	ldr	x12, [x12, _NEW_PLT_ENTRY_SIZE@GOTPAGEOFF]
	csel	x11, x11, x12, eq
	sub	x9, x9, x10
	ldr	x10, [x11]
	udiv	x20, x9, x10
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	lsl	x9, x20, #2
	str	x9, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_bfd_get_section_by_name
	cmp	x20, #0
	cset	w8, ne
	lsl	x8, x8, #4
	str	x8, [x0]
LBB0_6:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".plt"

	.comm	_elf64_alpha_size_plt_section_1,4,2 ; @elf64_alpha_size_plt_section_1
l_.str.1:                               ; @.str.1
	.asciz	".rela.plt"

	.comm	_elf64_alpha_use_secureplt,8,3  ; @elf64_alpha_use_secureplt
	.comm	_NEW_PLT_HEADER_SIZE,8,3        ; @NEW_PLT_HEADER_SIZE
	.comm	_NEW_PLT_ENTRY_SIZE,8,3         ; @NEW_PLT_ENTRY_SIZE
	.comm	_OLD_PLT_HEADER_SIZE,8,3        ; @OLD_PLT_HEADER_SIZE
	.comm	_OLD_PLT_ENTRY_SIZE,8,3         ; @OLD_PLT_ENTRY_SIZE
l_.str.2:                               ; @.str.2
	.asciz	".got.plt"

	.no_dead_strip	_elf64_alpha_size_plt_section
.subsections_via_symbols
