	.file	"extr_reloptions.c_add_reloption.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	add_reloption, @function
add_reloption:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	movsx	rax, DWORD PTR num_custom_options[rip]
	cmp	eax, DWORD PTR max_custom_options.1931[rip]
	jge	.L7
.L2:
	lea	edx, 1[rax]
	mov	DWORD PTR num_custom_options[rip], edx
	mov	rdx, QWORD PTR custom_options[rip]
	mov	QWORD PTR [rdx+rax*8], rbx
	mov	DWORD PTR need_initialization[rip], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR TopMemoryContext[rip]
	call	MemoryContextSwitchTo@PLT
	mov	esi, DWORD PTR max_custom_options.1931[rip]
	mov	ebp, eax
	test	esi, esi
	je	.L8
	mov	rdi, QWORD PTR custom_options[rip]
	lea	eax, [rsi+rsi]
	sal	esi, 4
	mov	DWORD PTR max_custom_options.1931[rip], eax
	call	repalloc@PLT
	mov	QWORD PTR custom_options[rip], rax
.L4:
	mov	edi, ebp
	call	MemoryContextSwitchTo@PLT
	movsx	rax, DWORD PTR num_custom_options[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	DWORD PTR max_custom_options.1931[rip], 8
	mov	edi, 64
	call	palloc@PLT
	mov	QWORD PTR custom_options[rip], rax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	add_reloption, .-add_reloption
	.local	max_custom_options.1931
	.comm	max_custom_options.1931,4,4
	.comm	num_custom_options,4,4
	.comm	need_initialization,4,4
	.comm	custom_options,8,8
	.comm	TopMemoryContext,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_reloptions.c_add_reloption.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_reloption, %function
add_reloption:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L10
	ldr	r5, .L10+4
	ldr	r3, [r7]
	ldr	r2, [r5]
	mov	r4, r0
	cmp	r3, r2
	bge	.L6
	ldr	r6, .L10+8
.L2:
	mov	r1, #1
	add	r2, r3, r1
	str	r2, [r7]
	ldr	r0, [r6]
	ldr	r2, .L10+12
	str	r4, [r0, r3, lsl #2]
	str	r1, [r2]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	bl	MemoryContextSwitchTo
	ldr	r1, [r5]
	mov	r8, r0
	cmp	r1, #0
	beq	.L9
	ldr	r6, .L10+8
	lsl	r3, r1, #1
	ldr	r0, [r6]
	lsl	r1, r1, #3
	str	r3, [r5]
	bl	repalloc
	str	r0, [r6]
.L4:
	mov	r0, r8
	bl	MemoryContextSwitchTo
	ldr	r3, [r7]
	b	.L2
.L9:
	mov	r3, #8
	mov	r0, #32
	str	r3, [r5]
	bl	palloc
	ldr	r6, .L10+8
	str	r0, [r6]
	b	.L4
.L11:
	.align	2
.L10:
	.word	num_custom_options
	.word	.LANCHOR0
	.word	custom_options
	.word	need_initialization
	.word	TopMemoryContext
	.size	add_reloption, .-add_reloption
	.comm	num_custom_options,4,4
	.comm	need_initialization,4,4
	.comm	custom_options,4,4
	.comm	TopMemoryContext,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	max_custom_options.4215, %object
	.size	max_custom_options.4215, 4
max_custom_options.4215:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
