	.file	"extr_rheap.c_rh_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	rh_init
	.type	rh_init, @function
rh_init:
.LFB0:
	.cfi_startproc
	endbr64
	lea	eax, -1[rsi]
	test	eax, esi
	je	.L10
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	lea	r12, 16[rdi]
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	eax, DWORD PTR RHIF_STATIC_INFO[rip]
	or	eax, DWORD PTR RHIF_STATIC_BLOCK[rip]
	mov	DWORD PTR [rdi], esi
	mov	QWORD PTR 32[rdi], rcx
	mov	DWORD PTR 4[rdi], edx
	mov	DWORD PTR 8[rdi], edx
	mov	DWORD PTR 12[rdi], eax
	mov	rdi, r12
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 24[rbp]
	call	INIT_LIST_HEAD@PLT
	lea	rdi, 20[rbp]
	call	INIT_LIST_HEAD@PLT
	test	r13d, r13d
	jle	.L1
	lea	eax, -1[r13]
	lea	rbp, 4[rbx+rax*4]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbx
	mov	rsi, r12
	add	rbx, 4
	call	list_add@PLT
	cmp	rbx, rbp
	jne	.L3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rh_init, .-rh_init
	.comm	RHIF_STATIC_INFO,4,4
	.comm	RHIF_STATIC_BLOCK,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_rheap.c_rh_init.c"
	.text
	.align	2
	.global	rh_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	rh_init, %function
rh_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	sub	r5, r1, #1
	ands	r5, r5, r1
	popne	{r4, r5, r6, r7, r8, pc}
	mov	r7, r2
	mov	r4, r3
	mov	r8, r0
	ldr	r3, .L7
	ldr	r2, .L7+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	add	r6, r0, #16
	orr	r3, r3, r2
	str	r1, [r0]
	str	r3, [r0, #12]
	str	r4, [r0, #28]
	str	r7, [r0, #4]
	str	r7, [r0, #8]
	mov	r0, r6
	bl	INIT_LIST_HEAD
	add	r0, r8, #24
	bl	INIT_LIST_HEAD
	add	r0, r8, #20
	bl	INIT_LIST_HEAD
	cmp	r7, #0
	pople	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r0, r4
	mov	r1, r6
	add	r5, r5, #1
	bl	list_add
	cmp	r7, r5
	add	r4, r4, #4
	bne	.L3
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	RHIF_STATIC_INFO
	.word	RHIF_STATIC_BLOCK
	.size	rh_init, .-rh_init
	.comm	RHIF_STATIC_INFO,4,4
	.comm	RHIF_STATIC_BLOCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
