	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plug_holes
_plug_holes:                            ## @plug_holes
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ram_block@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	leaq	(%rax,%rcx,4), %rdx
	cmpq	%rdi, %rdx
	je	LBB0_6
## %bb.1:
	cmpq	$0, 8(%rdx)
	jne	LBB0_6
## %bb.2:
	movq	_ram_end@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_6
## %bb.3:
	movq	_ram_free@GOTPCREL(%rip), %rcx
	cmpq	%rdx, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	%rdi, (%rcx)
LBB0_5:
	movq	(%rdx), %rcx
	movq	%rcx, (%rdi)
	movq	%rdi, %rsi
	subq	%rax, %rsi
	shrq	$2, %rsi
	movq	(%rdx), %rdx
	movl	%esi, 16(%rax,%rdx,4)
LBB0_6:
	movslq	16(%rdi), %rdx
	leaq	(%rax,%rdx,4), %rsi
	cmpq	%rdi, %rsi
	je	LBB0_11
## %bb.7:
	cmpq	$0, 8(%rsi)
	je	LBB0_8
LBB0_11:
	popq	%rbp
	retq
LBB0_8:
	movq	_ram_free@GOTPCREL(%rip), %r8
	cmpq	%rdi, (%r8)
	jne	LBB0_10
## %bb.9:
	movq	%rsi, (%r8)
LBB0_10:
	movq	%rcx, (%rsi)
	movq	(%rdi), %rcx
	movl	%edx, 16(%rax,%rcx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ram_block,8,3                  ## @ram_block
	.comm	_ram_end,8,3                    ## @ram_end
	.comm	_ram_free,8,3                   ## @ram_free
	.no_dead_strip	_plug_holes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plug_holes
_plug_holes:                            ; @plug_holes
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ram_block@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ram_block@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	add	x10, x8, x9, lsl #2
	cmp	x10, x0
	b.eq	LBB0_5
; %bb.1:
	ldr	x11, [x10, #8]
Lloh3:
	adrp	x12, _ram_end@GOTPAGE
Lloh4:
	ldr	x12, [x12, _ram_end@GOTPAGEOFF]
Lloh5:
	ldr	x12, [x12]
	cmp	x11, #0
	ccmp	x10, x12, #4, eq
	b.eq	LBB0_5
; %bb.2:
Lloh6:
	adrp	x9, _ram_free@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ram_free@GOTPAGEOFF]
	ldr	x11, [x9]
	cmp	x11, x10
	b.ne	LBB0_4
; %bb.3:
	str	x0, [x9]
LBB0_4:
	ldr	x9, [x10]
	str	x9, [x0]
	sub	x11, x0, x8
	lsr	x11, x11, #2
	ldr	x10, [x10]
	add	x10, x8, x10, lsl #2
	str	w11, [x10, #16]
LBB0_5:
	ldrsw	x10, [x0, #16]
	add	x11, x8, x10, lsl #2
	cmp	x11, x0
	b.eq	LBB0_7
; %bb.6:
	ldr	x12, [x11, #8]
	cbz	x12, LBB0_8
LBB0_7:
	ret
LBB0_8:
Lloh8:
	adrp	x12, _ram_free@GOTPAGE
Lloh9:
	ldr	x12, [x12, _ram_free@GOTPAGEOFF]
	ldr	x13, [x12]
	cmp	x13, x0
	b.ne	LBB0_10
; %bb.9:
	str	x11, [x12]
LBB0_10:
	str	x9, [x11]
	ldr	x9, [x0]
	add	x8, x8, x9, lsl #2
	str	w10, [x8, #16]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ram_block,8,3                  ; @ram_block
	.comm	_ram_end,8,3                    ; @ram_end
	.comm	_ram_free,8,3                   ; @ram_free
	.no_dead_strip	_plug_holes
.subsections_via_symbols
