	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function envadjust
_envadjust:                             ## @envadjust
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rsi, %rdx
	je	LBB0_19
## %bb.1:
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rax), %rbx
	cmpq	(%rax), %rbx
	jbe	LBB0_2
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r14
	movq	%rsi, %r12
	leaq	(%rsi,%rcx,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	subq	%r12, %rax
	addq	%r14, %rax
	movq	%rax, (%rbx)
	addq	$24, %rbx
	movq	(%r15), %rax
	cmpq	(%rax), %rbx
	ja	LBB0_19
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_MRB_ENV_STACK_SHARED_P
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rax
	subq	%r12, %rax
	jb	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	shrq	$2, %rax
	cltq
	leaq	(%r14,%rax,4), %rax
	movq	%rax, (%r13)
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_MRB_PROC_ENV_P
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rdi
	movq	16(%rbx), %r13
	callq	_MRB_PROC_ENV
	cmpq	%rax, %r13
	je	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rdi
	callq	_MRB_PROC_ENV
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_MRB_ENV_STACK_SHARED_P
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rcx
	testq	%rcx, %rcx
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rax
	subq	%r12, %rax
	jb	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	jae	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	shrq	$2, %rax
	cltq
	leaq	(%r14,%rax,4), %rax
	movq	%rax, (%r13)
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_envadjust
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function envadjust
_envadjust:                             ; @envadjust
	.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
	cmp	x2, x1
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
	ldp	x8, x23, [x8]
	cmp	x23, x8
	b.ls	LBB0_3
LBB0_2:
	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
LBB0_3:
	mov	x19, x2
	mov	x20, x1
	add	x24, x1, x3, lsl #2
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	sub	x8, x8, x20
	add	x8, x19, x8
	str	x8, [x23], #24
	ldr	x8, [x21]
	ldr	x8, [x8]
	cmp	x23, x8
	b.hi	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x23, #16]
	cbz	x22, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_MRB_ENV_STACK_SHARED_P
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	cmp	x8, #0
	ccmp	x8, x20, #0, ne
	ccmp	x8, x24, #2, hs
	b.hs	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x8, x20
	lsr	x8, x8, #2
	add	x8, x19, w8, sxtw #2
	str	x8, [x22]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23, #8]
	cbz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_MRB_PROC_ENV_P
	cbz	x0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	x0, x22, [x23, #8]
	bl	_MRB_PROC_ENV
	cmp	x22, x0
	b.eq	LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23, #8]
	bl	_MRB_PROC_ENV
	cbz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
	bl	_MRB_ENV_STACK_SHARED_P
	cbz	x0, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	subs	x9, x8, x20
	b.lo	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x8, x24
	b.hs	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	lsr	x8, x9, #2
	add	x8, x19, w8, sxtw #2
	str	x8, [x22]
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_envadjust
.subsections_via_symbols
