	.file	"extr_elf_machdep.c_elf_reloc_internal.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown reloc type %d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"kldload: unexpected relocation type %d\n"
	.text
	.p2align 4
	.type	elf_reloc_internal, @function
elf_reloc_internal:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	cmp	ecx, 136
	je	.L2
	cmp	ecx, 137
	jne	.L3
	mov	edi, DWORD PTR 4[rdx]
	add	ebp, DWORD PTR [rdx]
	movsx	rbp, ebp
	call	ELF_R_TYPE@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	r15d, eax
	call	ELF_R_SYM@PLT
	mov	r14d, DWORD PTR 0[rbp]
	mov	esi, eax
	cmp	r15d, 133
	je	.L5
	lea	eax, -128[r15]
	cmp	eax, 7
	ja	.L6
	lea	rdx, .L8[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L33-.L8
	.long	.L13-.L8
	.long	.L12-.L8
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L6-.L8
	.long	.L5-.L8
	.long	.L27-.L8
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	edi, r12d
	call	r13
	test	eax, eax
	jne	.L32
	add	r14d, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], r14d
	cmp	r14d, DWORD PTR 0[rbp]
	je	.L33
	mov	DWORD PTR 0[rbp], r14d
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L37
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rdx]
	add	ebp, DWORD PTR [rdx]
	mov	r14d, DWORD PTR 4[rdx]
	movsx	rbp, ebp
	call	ELF_R_TYPE@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	r15d, eax
	call	ELF_R_SYM@PLT
	mov	esi, eax
	lea	eax, -128[r15]
	cmp	eax, 7
	ja	.L6
	lea	rdx, .L16[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L16:
	.long	.L33-.L16
	.long	.L18-.L16
	.long	.L12-.L16
	.long	.L11-.L16
	.long	.L17-.L16
	.long	.L5-.L16
	.long	.L5-.L16
	.long	.L7-.L16
	.text
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, ecx
	lea	rdi, .LC0[rip]
	xor	r15d, r15d
	call	panic@PLT
.L6:
	mov	esi, r15d
	lea	rdi, .LC1[rip]
	call	printf@PLT
.L32:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	sal	r14d, 16
	mov	rsi, rbp
	mov	edi, r14d
	call	mips_tmp_reloc_add@PLT
	test	eax, eax
	je	.L32
	mov	DWORD PTR last_ahl.1974[rip], r14d
	.p2align 4,,10
	.p2align 3
.L33:
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	xor	ebx, ebx
.L7:
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	edi, r12d
	call	r13
	test	eax, eax
	jne	.L32
	mov	edx, r14d
	mov	r14d, ebp
	and	edx, 67108863
	test	rbx, rbx
	lea	ecx, 0[0+rdx*4]
	cmove	edx, ecx
	and	r14d, -268435456
	or	r14d, edx
	add	r14d, DWORD PTR 4[rsp]
	sar	r14d, 2
	mov	DWORD PTR 4[rsp], r14d
	mov	ecx, DWORD PTR 0[rbp]
	and	ecx, -67108864
	mov	DWORD PTR 0[rbp], ecx
	mov	edx, DWORD PTR 4[rsp]
	and	edx, 67108863
	or	edx, ecx
	mov	DWORD PTR 0[rbp], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	edi, r12d
	call	r13
	test	eax, eax
	jne	.L32
	add	DWORD PTR 4[rsp], r14d
	mov	edx, DWORD PTR 0[rbp]
	mov	esi, 2147516416
	xor	dx, dx
	mov	DWORD PTR 0[rbp], edx
	movsx	rcx, DWORD PTR 4[rsp]
	add	rcx, rsi
	sar	rcx, 32
	or	edx, ecx
	mov	DWORD PTR 0[rbp], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	edi, r12d
	call	r13
	test	eax, eax
	jne	.L32
	add	DWORD PTR 4[rsp], r14d
	and	DWORD PTR 0[rbp], -65536
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	edi, r12d
	call	r13
	test	eax, eax
	jne	.L32
	add	DWORD PTR 4[rsp], r14d
	mov	ecx, DWORD PTR 0[rbp]
	xor	cx, cx
	mov	DWORD PTR 0[rbp], ecx
	movsx	rdx, DWORD PTR 4[rsp]
	add	rdx, 32768
	shr	edx, 16
	or	edx, ecx
	mov	DWORD PTR 0[rbp], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	edi, r12d
	call	r13
	test	eax, eax
	jne	.L32
	add	DWORD PTR 4[rsp], r14d
	mov	edx, DWORD PTR 0[rbp]
	xor	dx, dx
	mov	DWORD PTR 0[rbp], edx
	movzx	ecx, WORD PTR 4[rsp]
	or	edx, ecx
	mov	DWORD PTR 0[rbp], edx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	ebx, DWORD PTR last_ahl.1974[rip]
	lea	rcx, 4[rsp]
	mov	edx, 1
	mov	edi, r12d
	add	ebx, r14d
	call	r13
	test	eax, eax
	jne	.L32
	add	ebx, DWORD PTR 4[rsp]
	xor	r14w, r14w
	or	r14d, ebx
	mov	DWORD PTR 0[rbp], r14d
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rax, QWORD PTR 8[rdi]
	and	DWORD PTR [rax], -65536
	call	mips_tmp_reloc_free@PLT
.L24:
	xor	eax, eax
	call	mips_tmp_reloc_get@PLT
	mov	rdi, rax
	test	rax, rax
	jne	.L25
	xor	eax, eax
	jmp	.L1
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	elf_reloc_internal, .-elf_reloc_internal
	.local	last_ahl.1974
	.comm	last_ahl.1974,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_elf_machdep.c_elf_reloc_internal.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown reloc type %d\012\000"
	.align	2
.LC1:
	.ascii	"kldload: unexpected relocation type %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	elf_reloc_internal, %function
elf_reloc_internal:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	ldr	r2, .L36
	sub	sp, sp, #12
	cmp	r3, #136
	mov	r6, r0
	mov	r5, r1
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ldr	r9, [sp, #52]
	beq	.L2
	cmp	r3, #137
	bne	.L3
	ldr	r0, [r4, #4]
	ldr	r10, [r4]
	bl	ELF_R_TYPE
	mov	fp, r0
	ldr	r0, [r4, #4]
	bl	ELF_R_SYM
	cmp	fp, #133
	mov	r1, r0
	ldreq	r8, [r5, r10]
	add	r7, r5, r10
	beq	.L5
	sub	r3, fp, #128
	ldr	r8, [r5, r10]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L23
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L6
	.word	.L5
	.word	.L27
.L5:
	mov	r0, r6
	mov	r3, sp
	mov	r2, #1
	blx	r9
	cmp	r0, #0
	bne	.L32
	ldr	r3, [sp]
	add	r8, r8, r3
	str	r8, [sp]
	ldr	r3, [r7]
	cmp	r8, r3
	strne	r8, [r7]
	beq	.L23
.L1:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L35
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r0, [r4, #8]
	ldr	r10, [r4]
	ldr	r8, [r4, #4]
	bl	ELF_R_TYPE
	mov	fp, r0
	ldr	r0, [r4, #8]
	bl	ELF_R_SYM
	sub	r3, fp, #128
	mov	r1, r0
	add	r7, r5, r10
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L16:
	.word	.L23
	.word	.L18
	.word	.L12
	.word	.L11
	.word	.L17
	.word	.L5
	.word	.L5
	.word	.L7
.L3:
	mov	r1, r3
	ldr	r0, .L36+4
	bl	panic
	mov	fp, #0
.L6:
	mov	r1, fp
	ldr	r0, .L36+8
	bl	printf
.L32:
	mvn	r0, #0
	b	.L1
.L13:
	ldr	r3, .L36+12
	mov	r0, r6
	ldr	ip, [r3]
	mov	r2, #1
	mov	r3, sp
	add	r6, r8, ip
	blx	r9
	cmp	r0, #0
	bne	.L32
	ldr	r3, [sp]
	ldr	r4, .L36+16
	add	r6, r6, r3
	and	r8, r8, r4
	orr	r6, r6, r8
	str	r6, [r5, r10]
	b	.L24
.L25:
	ldr	r2, [r3, #4]
	ldr	r3, [r2]
	and	r3, r3, r4
	str	r3, [r2]
	bl	mips_tmp_reloc_free
.L24:
	bl	mips_tmp_reloc_get
	subs	r3, r0, #0
	bne	.L25
.L23:
	mov	r0, #0
	b	.L1
.L27:
	mov	r4, #0
.L7:
	mov	r0, r6
	mov	r3, sp
	mov	r2, #1
	blx	r9
	cmp	r0, #0
	bne	.L32
	bic	r8, r8, #-67108864
	cmp	r4, #0
	ldr	r2, [sp]
	lsleq	r8, r8, #2
	and	r3, r7, #-268435456
	orr	r3, r3, r8
	add	r3, r3, r2
	asr	r3, r3, #2
	str	r3, [sp]
	ldr	r3, [r7]
	and	r2, r3, #-67108864
	str	r2, [r7]
	ldr	r3, [sp]
	bic	r3, r3, #-67108864
	orr	r3, r3, r2
	str	r3, [r7]
	b	.L1
.L11:
	mov	r0, r6
	mov	r3, sp
	mov	r2, #1
	blx	r9
	cmp	r0, #0
	bne	.L32
	mov	r5, #0
	ldr	r3, [sp]
	ldr	r4, .L36+20
	add	r8, r3, r8
	str	r8, [sp]
	ldr	r3, [r7]
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	str	r3, [r7]
	ldr	r2, [sp]
	adds	r4, r4, r2
	adc	r5, r5, r2, asr #31
	orr	r3, r3, r5
	str	r3, [r7]
	b	.L1
.L12:
	mov	r0, r6
	mov	r3, sp
	mov	r2, #1
	blx	r9
	cmp	r0, #0
	bne	.L32
	ldr	r3, [sp]
	add	r8, r3, r8
	str	r8, [sp]
	ldr	r3, [r7]
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	str	r3, [r7]
	b	.L1
.L17:
	mov	r0, r6
	mov	r3, sp
	mov	r2, #1
	blx	r9
	cmp	r0, #0
	bne	.L32
	ldr	r3, [sp]
	add	r8, r3, r8
	str	r8, [sp]
	ldr	r3, [r5, r10]
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	str	r3, [r5, r10]
	ldr	r2, [sp]
	add	r2, r2, #32768
	orr	r3, r3, r2, lsr #16
	str	r3, [r5, r10]
	b	.L1
.L18:
	mov	r0, r6
	mov	r3, sp
	mov	r2, #1
	blx	r9
	cmp	r0, #0
	bne	.L32
	ldr	r3, [sp]
	add	r8, r3, r8
	str	r8, [sp]
	ldr	r3, [r5, r10]
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	str	r3, [r5, r10]
	ldrh	r2, [sp]
	orr	r3, r2, r3
	str	r3, [r5, r10]
	b	.L1
.L10:
	lsl	r8, r8, #16
	mov	r1, r7
	mov	r0, r8
	bl	mips_tmp_reloc_add
	cmp	r0, #0
	beq	.L32
	ldr	r3, .L36+12
	mov	r0, #0
	str	r8, [r3]
	b	.L1
.L35:
	bl	__stack_chk_fail
.L37:
	.align	2
.L36:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	.LANCHOR0
	.word	-65536
	.word	-2147450880
	.size	elf_reloc_internal, .-elf_reloc_internal
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	last_ahl.4258, %object
	.size	last_ahl.4258, 4
last_ahl.4258:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
