	.file	"extr_hash_utils.c_htab_bolt_mapping.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"htab_bolt_mapping(%lx..%lx -> %lx (%lx,%d,%d)\n"
	.text
	.p2align 4
	.globl	htab_bolt_mapping
	.type	htab_bolt_mapping, @function
htab_bolt_mapping:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	mov	rdi, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r9d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	movsx	rdx, r8d
	mov	r13, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR mmu_psize_defs[rip]
	mov	QWORD PTR 40[rsp], rsi
	mov	esi, DWORD PTR [rax+rdx*4]
	mov	eax, 1
	mov	ecx, esi
	mov	DWORD PTR 24[rsp], esi
	sal	eax, cl
	mov	DWORD PTR 28[rsp], eax
	call	htab_convert_pte_flags@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	rsi, r15
	mov	r9d, r13d
	mov	QWORD PTR 40[rsp], rax
	mov	r8, rax
	mov	rcx, rbx
	mov	rdx, r14
	push	r12
	.cfi_def_cfa_offset 128
	lea	rdi, .LC0[rip]
	call	DBG@PLT
	pop	rsi
	.cfi_def_cfa_offset 120
	pop	rdi
	.cfi_def_cfa_offset 112
	cmp	r15, r14
	jnb	.L7
	sub	rbx, r15
	mov	QWORD PTR 16[rsp], rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR 24[rsp]
	mov	edx, r12d
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rcx
	call	hpt_hash@PLT
	mov	r10, QWORD PTR HPTES_PER_GROUP[rip]
	and	rax, QWORD PTR htab_hash_mask[rip]
	xor	edi, edi
	imul	r10, rax
	cmp	QWORD PTR mmu_hash_ops[rip], 0
	sete	dil
	mov	r15, r10
	call	BUG_ON@PLT
	push	r12
	.cfi_def_cfa_offset 120
	mov	rdx, r14
	mov	r9d, r13d
	push	r13
	.cfi_def_cfa_offset 128
	mov	r8d, DWORD PTR HPTE_V_BOLTED[rip]
	mov	rsi, rbp
	mov	rdi, r15
	mov	rcx, QWORD PTR 24[rsp]
	call	[QWORD PTR mmu_hash_ops[rip]]
	pop	rdx
	.cfi_def_cfa_offset 120
	pop	rcx
	.cfi_def_cfa_offset 112
	test	eax, eax
	js	.L1
	cmp	rbx, QWORD PTR 40[rsp]
	jnb	.L7
	mov	r15, rbx
.L6:
	mov	rax, QWORD PTR 16[rsp]
	mov	esi, r12d
	mov	rdi, r15
	lea	r14, [rax+r15]
	call	get_kernel_vsid@PLT
	mov	edx, r12d
	mov	rdi, r15
	mov	rsi, rax
	mov	rbx, rax
	call	hpt_vpn@PLT
	mov	rbp, rax
	test	rbx, rbx
	je	.L8
	mov	ebx, DWORD PTR 28[rsp]
	mov	rdi, r15
	add	rbx, r15
	mov	rsi, rbx
	call	overlaps_kernel_text@PLT
	mov	rdx, QWORD PTR 32[rsp]
	mov	rcx, rdx
	test	rax, rax
	je	.L4
	mov	rcx, QWORD PTR HPTE_R_N[rip]
	not	rcx
	and	rcx, rdx
.L4:
	mov	rax, QWORD PTR MEMORY_START[rip]
	cmp	QWORD PTR PHYSICAL_START[rip], rax
	jle	.L5
	mov	rsi, rbx
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rcx
	call	overlaps_interrupt_vector_text@PLT
	mov	rcx, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR HPTE_R_N[rip]
	not	rax
	and	rcx, rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, -1
.L1:
	add	rsp, 56
	.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
.L7:
	.cfi_restore_state
	add	rsp, 56
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	htab_bolt_mapping, .-htab_bolt_mapping
	.comm	mmu_psize_defs,8,8
	.comm	mmu_hash_ops,8,8
	.comm	linear_map_hash_slots,8,8
	.comm	linear_map_hash_count,8,8
	.comm	htab_hash_mask,8,8
	.comm	PHYSICAL_START,8,8
	.comm	PAGE_SHIFT,8,8
	.comm	MEMORY_START,8,8
	.comm	HPTE_V_BOLTED,4,4
	.comm	HPTE_R_N,8,8
	.comm	HPTES_PER_GROUP,8,8
	.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_hash_utils.c_htab_bolt_mapping.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"htab_bolt_mapping(%lx..%lx -> %lx (%lx,%d,%d)\012\000"
	.text
	.align	2
	.global	htab_bolt_mapping
	.syntax unified
	.arm
	.fpu softvfp
	.type	htab_bolt_mapping, %function
htab_bolt_mapping:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #1
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r0, .L17
	sub	sp, sp, #44
	ldr	lr, [r0]
	ldr	r8, [sp, #80]
	mov	r0, r3
	ldr	r3, [lr, r8, lsl #2]
	mov	r7, r1
	str	r3, [sp, #28]
	lsl	r3, ip, r3
	mov	r5, r2
	ldr	r6, [sp, #84]
	str	r1, [sp, #36]
	str	r3, [sp, #20]
	bl	htab_convert_pte_flags
	mov	r3, r5
	stm	sp, {r0, r8}
	str	r0, [sp, #32]
	mov	r2, r7
	mov	r1, r4
	ldr	r0, .L17+4
	str	r6, [sp, #8]
	bl	DBG
	cmp	r4, r7
	bcs	.L7
	sub	r3, r5, r4
	ldr	r9, .L17+8
	str	r3, [sp, #24]
	b	.L6
.L5:
	mov	r2, r6
	ldr	r1, [sp, #28]
	mov	r0, r5
	bl	hpt_hash
	mov	r2, r0
	ldr	r0, [r9]
	ldr	r3, .L17+12
	clz	r0, r0
	ldr	r1, [r3]
	ldr	r3, .L17+16
	and	r2, r2, r1
	ldr	r4, [r3]
	lsr	r0, r0, #5
	mul	r4, r2, r4
	bl	BUG_ON
	ldr	r2, .L17+20
	mov	r0, r4
	ldr	ip, [r2]
	mov	r3, fp
	mov	r2, r10
	mov	r1, r5
	ldr	r4, [r9]
	str	r6, [sp, #12]
	str	r8, [sp, #8]
	str	r8, [sp, #4]
	str	ip, [sp]
	blx	r4
	cmp	r0, #0
	blt	.L1
	ldr	r3, [sp, #36]
	cmp	r7, r3
	bcs	.L7
	mov	r4, r7
.L6:
	mov	r1, r6
	mov	r0, r4
	bl	get_kernel_vsid
	ldr	r3, [sp, #20]
	mov	r10, r0
	mov	r1, r0
	mov	r2, r6
	mov	r0, r4
	add	r7, r3, r4
	bl	hpt_vpn
	ldr	r3, [sp, #24]
	cmp	r10, #0
	mov	r5, r0
	add	r10, r3, r4
	beq	.L8
	mov	r1, r7
	mov	r0, r4
	bl	overlaps_kernel_text
	cmp	r0, #0
	ldrne	r3, .L17+24
	ldrne	r2, [sp, #32]
	ldrne	r3, [r3]
	ldreq	fp, [sp, #32]
	bicne	fp, r2, r3
	ldr	r3, .L17+28
	ldr	r1, [r3]
	ldr	r3, .L17+32
	ldr	r2, [r3]
	cmp	r1, r2
	ble	.L5
	mov	r0, r4
	mov	r1, r7
	bl	overlaps_interrupt_vector_text
	cmp	r0, #0
	ldrne	r3, .L17+24
	ldrne	r2, [r3]
	bicne	fp, fp, r2
	b	.L5
.L7:
	mov	r0, #0
.L1:
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	mvn	r0, #0
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	.align	2
.L17:
	.word	mmu_psize_defs
	.word	.LC0
	.word	mmu_hash_ops
	.word	htab_hash_mask
	.word	HPTES_PER_GROUP
	.word	HPTE_V_BOLTED
	.word	HPTE_R_N
	.word	PHYSICAL_START
	.word	MEMORY_START
	.size	htab_bolt_mapping, .-htab_bolt_mapping
	.comm	mmu_psize_defs,4,4
	.comm	mmu_hash_ops,4,4
	.comm	linear_map_hash_slots,4,4
	.comm	linear_map_hash_count,4,4
	.comm	htab_hash_mask,4,4
	.comm	PHYSICAL_START,4,4
	.comm	PAGE_SHIFT,4,4
	.comm	MEMORY_START,4,4
	.comm	HPTE_V_BOLTED,4,4
	.comm	HPTE_R_N,4,4
	.comm	HPTES_PER_GROUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
