	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_vxworks_finish_exec_plt
_mips_vxworks_finish_exec_plt:          ## @mips_vxworks_finish_exec_plt
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_mips_elf_hash_table
	movq	%rax, %r14
	movq	_mips_vxworks_exec_plt0_entry@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, _mips_vxworks_finish_exec_plt.plt_entry(%rip)
	movq	(%r14), %rcx
	movq	24(%r14), %rdx
	movq	16(%rcx), %rsi
	movq	8(%rsi), %rdi
	movl	(%rsi), %esi
	addl	(%rdi), %esi
	movl	8(%rcx), %ecx
	leal	(%rsi,%rcx), %edi
	addl	%ecx, %esi
	addl	$32768, %esi                    ## imm = 0x8000
	shrl	$16, %esi
	movq	16(%rdx), %rcx
	movl	(%rdx), %r13d
	addl	(%rcx), %r13d
	movzwl	%di, %r12d
	movq	8(%rdx), %rbx
	orl	(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_bfd_put_32
	movq	_mips_vxworks_finish_exec_plt.plt_entry(%rip), %rax
	orl	4(%rax), %r12d
	leaq	16(%rbx), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_bfd_put_32
	movq	_mips_vxworks_finish_exec_plt.plt_entry(%rip), %rax
	movl	8(%rax), %esi
	leaq	32(%rbx), %rdx
	movq	%r15, %rdi
	callq	_bfd_put_32
	movq	_mips_vxworks_finish_exec_plt.plt_entry(%rip), %rax
	movl	12(%rax), %esi
	leaq	48(%rbx), %rdx
	movq	%r15, %rdi
	callq	_bfd_put_32
	movq	_mips_vxworks_finish_exec_plt.plt_entry(%rip), %rax
	movl	16(%rax), %esi
	leaq	64(%rbx), %rdx
	movq	%r15, %rdi
	callq	_bfd_put_32
	movq	_mips_vxworks_finish_exec_plt.plt_entry(%rip), %rax
	movl	20(%rax), %esi
	addq	$80, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_bfd_put_32
	movq	16(%r14), %rax
	movq	8(%rax), %rbx
	movl	%r13d, -64(%rbp)
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_R_MIPS_HI16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ELF32_R_INFO
	movq	%rax, -56(%rbp)
	movq	$0, -48(%rbp)
	leaq	-64(%rbp), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_bfd_elf32_swap_reloca_out
	leaq	16(%rbx), %r13
	addl	$4, -64(%rbp)
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_R_MIPS_LO16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ELF32_R_INFO
	movq	%rax, -56(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_bfd_elf32_swap_reloca_out
	addq	$32, %rbx
	movq	16(%r14), %rax
	movslq	(%rax), %rcx
	shlq	$2, %rcx
	addq	8(%rax), %rcx
	cmpq	%rcx, %rbx
	jae	LBB0_3
## %bb.1:
	leaq	-88(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_bfd_elf32_swap_reloca_in
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movq	_R_MIPS_32@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ELF32_R_INFO
	movq	%rax, -80(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_bfd_elf32_swap_reloca_out
	leaq	16(%rbx), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_bfd_elf32_swap_reloca_in
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_R_MIPS_HI16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ELF32_R_INFO
	movq	%rax, -80(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_bfd_elf32_swap_reloca_out
	leaq	32(%rbx), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_bfd_elf32_swap_reloca_in
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_R_MIPS_LO16@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ELF32_R_INFO
	movq	%rax, -80(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_bfd_elf32_swap_reloca_out
	movq	16(%r14), %rax
	movslq	(%rax), %rcx
	shlq	$2, %rcx
	addq	8(%rax), %rcx
	addq	$48, %rbx
	cmpq	%rcx, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mips_vxworks_finish_exec_plt.plt_entry,8,3 ## @mips_vxworks_finish_exec_plt.plt_entry
	.comm	_mips_vxworks_exec_plt0_entry,8,3 ## @mips_vxworks_exec_plt0_entry
	.comm	_R_MIPS_HI16,4,2                ## @R_MIPS_HI16
	.comm	_R_MIPS_LO16,4,2                ## @R_MIPS_LO16
	.comm	_R_MIPS_32,4,2                  ## @R_MIPS_32
	.no_dead_strip	_mips_vxworks_finish_exec_plt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_vxworks_finish_exec_plt
_mips_vxworks_finish_exec_plt:          ; @mips_vxworks_finish_exec_plt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x0
	mov	x0, x1
	bl	_mips_elf_hash_table
	mov	x20, x0
Lloh0:
	adrp	x8, _mips_vxworks_exec_plt0_entry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mips_vxworks_exec_plt0_entry@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	adrp	x22, _mips_vxworks_finish_exec_plt.plt_entry@PAGE
	str	x8, [x22, _mips_vxworks_finish_exec_plt.plt_entry@PAGEOFF]
	ldr	x9, [x0]
	ldr	x10, [x9, #16]
	ldr	x11, [x10, #8]
	ldr	w11, [x11]
	ldr	w10, [x10]
	ldr	w9, [x9, #8]
	add	w10, w10, w11
	add	w9, w10, w9
	add	w10, w9, #8, lsl #12            ; =32768
	and	w23, w9, #0xffff
	ldr	x9, [x0, #24]
	ldp	x21, x11, [x9, #8]
	ldr	w11, [x11]
	ldr	w9, [x9]
	add	w24, w9, w11
	ldr	w8, [x8]
	orr	w1, w8, w10, lsr #16
	mov	x0, x19
	mov	x2, x21
	bl	_bfd_put_32
	ldr	x8, [x22, _mips_vxworks_finish_exec_plt.plt_entry@PAGEOFF]
	ldr	w8, [x8, #4]
	orr	w1, w8, w23
	add	x2, x21, #16
	mov	x0, x19
	bl	_bfd_put_32
	ldr	x8, [x22, _mips_vxworks_finish_exec_plt.plt_entry@PAGEOFF]
	ldr	w1, [x8, #8]
	add	x2, x21, #32
	mov	x0, x19
	bl	_bfd_put_32
	ldr	x8, [x22, _mips_vxworks_finish_exec_plt.plt_entry@PAGEOFF]
	ldr	w1, [x8, #12]
	add	x2, x21, #48
	mov	x0, x19
	bl	_bfd_put_32
	ldr	x8, [x22, _mips_vxworks_finish_exec_plt.plt_entry@PAGEOFF]
	ldr	w1, [x8, #16]
	add	x2, x21, #64
	mov	x0, x19
	bl	_bfd_put_32
	ldr	x8, [x22, _mips_vxworks_finish_exec_plt.plt_entry@PAGEOFF]
	ldr	w1, [x8, #20]
	add	x2, x21, #80
	mov	x0, x19
	bl	_bfd_put_32
	ldr	x8, [x20, #16]
	ldr	x21, [x8, #8]
	str	w24, [sp, #24]
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh3:
	adrp	x23, _R_MIPS_HI16@GOTPAGE
Lloh4:
	ldr	x23, [x23, _R_MIPS_HI16@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_ELF32_R_INFO
	stp	x0, xzr, [sp, #32]
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x21
	bl	_bfd_elf32_swap_reloca_out
	add	x22, x21, #16
	ldr	w8, [sp, #24]
	add	w8, w8, #4
	str	w8, [sp, #24]
	ldr	x8, [x20]
	ldr	w0, [x8]
Lloh5:
	adrp	x24, _R_MIPS_LO16@GOTPAGE
Lloh6:
	ldr	x24, [x24, _R_MIPS_LO16@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_ELF32_R_INFO
	str	x0, [sp, #32]
	add	x1, sp, #24
	mov	x0, x19
	mov	x2, x22
	bl	_bfd_elf32_swap_reloca_out
	add	x21, x21, #32
	ldr	x8, [x20, #16]
	ldr	x9, [x8, #8]
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	cmp	x21, x8
	b.hs	LBB0_3
; %bb.1:
Lloh7:
	adrp	x25, _R_MIPS_32@GOTPAGE
Lloh8:
	ldr	x25, [x25, _R_MIPS_32@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x2, sp
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_elf32_swap_reloca_in
	ldr	x8, [x20, #8]
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_ELF32_R_INFO
	str	x0, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	mov	x2, x21
	bl	_bfd_elf32_swap_reloca_out
	add	x22, x21, #16
	mov	x2, sp
	mov	x0, x19
	mov	x1, x22
	bl	_bfd_elf32_swap_reloca_in
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x23]
	bl	_ELF32_R_INFO
	str	x0, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	mov	x2, x22
	bl	_bfd_elf32_swap_reloca_out
	add	x22, x21, #32
	mov	x2, sp
	mov	x0, x19
	mov	x1, x22
	bl	_bfd_elf32_swap_reloca_in
	ldr	x8, [x20]
	ldr	w0, [x8]
	ldr	w1, [x24]
	bl	_ELF32_R_INFO
	str	x0, [sp, #8]
	mov	x1, sp
	mov	x0, x19
	mov	x2, x22
	bl	_bfd_elf32_swap_reloca_out
	ldr	x8, [x20, #16]
	ldr	x9, [x8, #8]
	ldrsw	x8, [x8]
	add	x8, x9, x8, lsl #2
	add	x21, x21, #48
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_3:
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mips_vxworks_finish_exec_plt.plt_entry,8,3 ; @mips_vxworks_finish_exec_plt.plt_entry
	.comm	_mips_vxworks_exec_plt0_entry,8,3 ; @mips_vxworks_exec_plt0_entry
	.comm	_R_MIPS_HI16,4,2                ; @R_MIPS_HI16
	.comm	_R_MIPS_LO16,4,2                ; @R_MIPS_LO16
	.comm	_R_MIPS_32,4,2                  ; @R_MIPS_32
	.no_dead_strip	_mips_vxworks_finish_exec_plt
.subsections_via_symbols
