	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf64_alpha_do_reloc_gpdisp
_elf64_alpha_do_reloc_gpdisp:           ## @elf64_alpha_do_reloc_gpdisp
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_bfd_reloc_ok@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rsi
	callq	_bfd_get_32
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_bfd_get_32
	movq	%rax, %rbx
	movl	%r14d, %eax
	andl	$-67108864, %eax                ## imm = 0xFC000000
	xorq	$603979776, %rax                ## imm = 0x24000000
	movl	%ebx, %ecx
	andl	$-67108864, %ecx                ## imm = 0xFC000000
	xorq	$536870912, %rcx                ## imm = 0x20000000
	orq	%rax, %rcx
	je	LBB0_2
## %bb.1:
	movq	_bfd_reloc_dangerous@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_2:
	movl	%r14d, %eax
	shll	$16, %eax
	movzwl	%bx, %ecx
	orl	%eax, %ecx
	xorl	$-2147450880, %ecx              ## imm = 0x80008000
	leal	(%r15,%rcx), %eax
	addl	$2147450880, %eax               ## imm = 0x7FFF8000
	cmpl	$2147450880, %eax               ## imm = 0x7FFF8000
	jl	LBB0_4
## %bb.3:
	movq	_bfd_reloc_overflow@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
LBB0_4:
	movl	%eax, %ecx
	shrl	$16, %ecx
	btl	$15, %eax
	adcl	$0, %ecx
	movzwl	%cx, %ecx
	movzwl	%ax, %r15d
	andl	$-65536, %r14d                  ## imm = 0xFFFF0000
	orl	%ecx, %r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_bfd_put_32
	andl	$-65536, %ebx                   ## imm = 0xFFFF0000
	orl	%r15d, %ebx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_bfd_put_32
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_reloc_ok,4,2               ## @bfd_reloc_ok
	.comm	_bfd_reloc_dangerous,4,2        ## @bfd_reloc_dangerous
	.comm	_bfd_reloc_overflow,4,2         ## @bfd_reloc_overflow
	.no_dead_strip	_elf64_alpha_do_reloc_gpdisp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf64_alpha_do_reloc_gpdisp
_elf64_alpha_do_reloc_gpdisp:           ; @elf64_alpha_do_reloc_gpdisp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _bfd_reloc_ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_reloc_ok@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	mov	x1, x2
	bl	_bfd_get_32
	mov	x23, x0
	mov	x0, x22
	mov	x1, x19
	bl	_bfd_get_32
	mov	x24, x0
	and	x8, x23, #0xfc000000
	and	x9, x0, #0xfc000000
	mov	w10, #536870912
	cmp	x9, x10
	mov	w9, #603979776
Lloh3:
	adrp	x10, _bfd_reloc_dangerous@GOTPAGE
Lloh4:
	ldr	x10, [x10, _bfd_reloc_dangerous@GOTPAGEOFF]
	ccmp	x8, x9, #0, eq
Lloh5:
	ldr	w8, [x10]
	csel	w8, w25, w8, eq
	mov	x9, x24
	bfi	w9, w23, #16, #16
	eor	w9, w9, #0x80008000
	mov	w10, #2147450880
	add	w9, w21, w9
	add	w25, w9, w10
Lloh6:
	adrp	x9, _bfd_reloc_overflow@GOTPAGE
Lloh7:
	ldr	x9, [x9, _bfd_reloc_overflow@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mov	w10, #2147450879
	cmp	w25, w10
	csel	w21, w9, w8, gt
	ubfx	w8, w25, #15, #1
	add	w8, w8, w25, lsr #16
	bfxil	w23, w8, #0, #16
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_bfd_put_32
	bfxil	w24, w25, #0, #16
	mov	x0, x22
	mov	x1, x24
	mov	x2, x19
	bl	_bfd_put_32
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_reloc_ok,4,2               ; @bfd_reloc_ok
	.comm	_bfd_reloc_dangerous,4,2        ; @bfd_reloc_dangerous
	.comm	_bfd_reloc_overflow,4,2         ; @bfd_reloc_overflow
	.no_dead_strip	_elf64_alpha_do_reloc_gpdisp
.subsections_via_symbols
