	.file	"extr_bout.c_b_out_canonicalize_reloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	b_out_canonicalize_reloc, @function
b_out_canonicalize_reloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	eax, DWORD PTR [rsi]
	test	DWORD PTR SEC_CONSTRUCTOR[rip], eax
	je	.L2
	mov	eax, DWORD PTR 4[rsi]
	mov	rdx, QWORD PTR 16[rsi]
	test	eax, eax
	je	.L10
	lea	ecx, -1[rax]
	lea	rcx, 8[rbx+rcx*8]
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rsi, 8[rdx]
	add	rbx, 8
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR -8[rbx], rsi
	cmp	rbx, rcx
	jne	.L4
.L3:
	mov	QWORD PTR [rcx], 0
	mov	eax, eax
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r8, QWORD PTR 8[rsi]
	test	r8, r8
	je	.L15
.L5:
	mov	eax, DWORD PTR 4[rsi]
	test	eax, eax
	je	.L10
	lea	edx, -1[rax]
	lea	rcx, 8[rbx+rdx*8]
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdx, r8
	add	rbx, 8
	add	r8, 4
	mov	QWORD PTR -8[rbx], rdx
	cmp	rbx, rcx
	jne	.L7
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdx, rcx
	mov	QWORD PTR 8[rsp], rsi
	call	b_out_slurp_reloc_table@PLT
	test	eax, eax
	je	.L9
	mov	rsi, QWORD PTR 8[rsp]
	mov	r8, QWORD PTR 8[rsi]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rcx, rbx
	jmp	.L3
.L9:
	or	rax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	b_out_canonicalize_reloc, .-b_out_canonicalize_reloc
	.comm	SEC_CONSTRUCTOR,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_bout.c_b_out_canonicalize_reloc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	b_out_canonicalize_reloc, %function
b_out_canonicalize_reloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L21
	push	{r4, r5, r6, lr}
	ldr	ip, [ip]
	ldr	lr, [r1]
	mov	r5, r1
	tst	lr, ip
	mov	r4, r2
	beq	.L2
	ldr	r0, [r1, #4]
	ldr	r3, [r1, #12]
	cmp	r0, #0
	beq	.L3
	mov	ip, r2
	mov	r1, #0
.L4:
	add	r1, r1, #1
	add	r2, r3, #4
	cmp	r1, r0
	ldr	r3, [r3]
	str	r2, [ip], #4
	bne	.L4
	add	r4, r4, r0, lsl #2
.L3:
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	ip, [r1, #8]
	cmp	ip, #0
	beq	.L20
.L5:
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L3
	mov	r1, r4
	mov	r3, #1
.L7:
	cmp	r0, r3
	mov	lr, r3
	str	ip, [r1], #4
	add	r3, r3, #1
	add	ip, ip, #4
	bne	.L7
	add	r4, r4, r0, lsl #2
	b	.L3
.L20:
	mov	r2, r3
	bl	b_out_slurp_reloc_table
	cmp	r0, #0
	ldrne	ip, [r5, #8]
	bne	.L5
.L8:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L22:
	.align	2
.L21:
	.word	SEC_CONSTRUCTOR
	.size	b_out_canonicalize_reloc, .-b_out_canonicalize_reloc
	.comm	SEC_CONSTRUCTOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
