	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function move_minipool_fix_backward_ref
_move_minipool_fix_backward_ref:        ## @move_minipool_fix_backward_ref
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	%rsi, %r14
	setne	%dil
	callq	_gcc_assert
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	%r15, (%r14)
	movq	24(%r14), %rax
	movq	40(%r14), %rcx
	movq	%rcx, 40(%rax)
	movq	40(%r14), %rcx
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.5:
	movq	_minipool_vector_head@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	cmpq	%r15, (%r14)
	jge	LBB0_9
## %bb.2:
	movq	%r15, (%r14)
	jmp	LBB0_9
LBB0_4:
	addq	$24, %rcx
LBB0_6:
	movq	%rax, (%rcx)
	movq	%rbx, 40(%r14)
	movq	24(%rbx), %rax
	movq	%rax, 24(%r14)
	movq	%r14, 24(%rbx)
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, 40(%rax)
	jmp	LBB0_9
LBB0_8:
	movq	_minipool_vector_tail@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
LBB0_9:
	movq	_minipool_vector_head@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, 32(%rax)
	cmpq	$0, 8(%rax)
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	addq	16(%rax), %rcx
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	24(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%rax), %rsi
	addq	(%rax), %rsi
	movq	%rdx, %rax
	cmpq	%rsi, (%rdx)
	jge	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rsi, (%rdx)
	movq	%rdx, %rax
	jmp	LBB0_11
LBB0_16:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_minipool_vector_head,8,3       ## @minipool_vector_head
	.comm	_minipool_vector_tail,8,3       ## @minipool_vector_tail
	.no_dead_strip	_move_minipool_fix_backward_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function move_minipool_fix_backward_ref
_move_minipool_fix_backward_ref:        ; @move_minipool_fix_backward_ref
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	x0, x1
	cset	w0, ne
	bl	_gcc_assert
Lloh0:
	adrp	x8, _minipool_vector_head@GOTPAGE
Lloh1:
	ldr	x8, [x8, _minipool_vector_head@GOTPAGEOFF]
	cbz	x20, LBB0_3
; %bb.1:
	str	x21, [x19]
	ldr	x9, [x19, #40]
	ldr	x10, [x19, #24]
	str	x9, [x10, #40]
	ldr	x9, [x19, #40]
	add	x11, x9, #24
	cmp	x9, #0
	csel	x9, x8, x11, eq
	str	x10, [x9]
	str	x20, [x19, #40]
	ldr	x9, [x20, #24]
	str	x9, [x19, #24]
	str	x19, [x20, #24]
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_12
; %bb.2:
	str	x19, [x9, #40]
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
	b	LBB0_13
LBB0_3:
	ldr	x9, [x19]
	cmp	x9, x21
	b.ge	LBB0_5
; %bb.4:
	str	x21, [x19]
LBB0_5:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
LBB0_6:
	mov	x9, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	x9, [x8, #32]
	ldr	x10, [x8, #8]
	cmp	x10, #1
	b.lt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x8, #16]
	add	x9, x10, x9
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [x8, #24]
	cbz	x10, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x12, [x10]
	ldr	x11, [x8]
	ldr	x8, [x8, #16]
	add	x11, x8, x11
	cmp	x12, x11
	mov	x8, x10
	b.ge	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	str	x11, [x10]
	mov	x8, x10
	b	LBB0_7
LBB0_12:
Lloh2:
	adrp	x9, _minipool_vector_tail@GOTPAGE
Lloh3:
	ldr	x9, [x9, _minipool_vector_tail@GOTPAGEOFF]
Lloh4:
	str	x19, [x9]
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_minipool_vector_head,8,3       ; @minipool_vector_head
	.comm	_minipool_vector_tail,8,3       ; @minipool_vector_tail
	.no_dead_strip	_move_minipool_fix_backward_ref
.subsections_via_symbols
