	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_reloption
_add_reloption:                         ## @add_reloption
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_num_custom_options@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	cmpl	_add_reloption.max_custom_options(%rip), %eax
	jl	LBB0_5
## %bb.1:
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	movl	_add_reloption.max_custom_options(%rip), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	leal	(%rsi,%rsi), %eax
	movl	%eax, _add_reloption.max_custom_options(%rip)
	movq	_custom_options@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shll	$4, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_repalloc
	jmp	LBB0_4
LBB0_2:
	movl	$8, _add_reloption.max_custom_options(%rip)
	movl	$64, %edi
	callq	_palloc
LBB0_4:
	movq	_custom_options@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movl	(%r15), %eax
LBB0_5:
	movq	_custom_options@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leal	1(%rax), %edx
	movl	%edx, (%r15)
	cltq
	movq	%rbx, (%rcx,%rax,8)
	movq	_need_initialization@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_add_reloption.max_custom_options,4,2 ## @add_reloption.max_custom_options
	.comm	_num_custom_options,4,2         ## @num_custom_options
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_custom_options,8,3             ## @custom_options
	.comm	_need_initialization,4,2        ## @need_initialization
	.no_dead_strip	_add_reloption
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_reloption
_add_reloption:                         ; @add_reloption
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _num_custom_options@GOTPAGE
Lloh1:
	ldr	x21, [x21, _num_custom_options@GOTPAGEOFF]
	ldr	w8, [x21]
	adrp	x23, _add_reloption.max_custom_options@PAGE
	ldr	w9, [x23, _add_reloption.max_custom_options@PAGEOFF]
Lloh2:
	adrp	x22, _custom_options@GOTPAGE
Lloh3:
	ldr	x22, [x22, _custom_options@GOTPAGEOFF]
	cmp	w8, w9
	b.lt	LBB0_5
; %bb.1:
Lloh4:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	ldr	w8, [x23, _add_reloption.max_custom_options@PAGEOFF]
	cbz	w8, LBB0_3
; %bb.2:
	lsl	w9, w8, #1
	str	w9, [x23, _add_reloption.max_custom_options@PAGEOFF]
	ldr	x0, [x22]
	lsl	w1, w8, #4
	bl	_repalloc
	b	LBB0_4
LBB0_3:
	mov	w8, #8
	str	w8, [x23, _add_reloption.max_custom_options@PAGEOFF]
	mov	w0, #64
	bl	_palloc
LBB0_4:
	str	x0, [x22]
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldr	w8, [x21]
LBB0_5:
	ldr	x9, [x22]
	add	w10, w8, #1
	str	w10, [x21]
	str	x19, [x9, w8, sxtw #3]
Lloh7:
	adrp	x8, _need_initialization@GOTPAGE
Lloh8:
	ldr	x8, [x8, _need_initialization@GOTPAGEOFF]
	mov	w9, #1
Lloh9:
	str	w9, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_add_reloption.max_custom_options,4,2 ; @add_reloption.max_custom_options
	.comm	_num_custom_options,4,2         ; @num_custom_options
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_custom_options,8,3             ; @custom_options
	.comm	_need_initialization,4,2        ; @need_initialization
	.no_dead_strip	_add_reloption
.subsections_via_symbols
