	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nb_advance_process             ## -- Begin function nb_advance_process
	.p2align	4, 0x90
_nb_advance_process:                    ## @nb_advance_process
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	24(%rdi), %r12
	movq	32(%rdi), %r15
	testq	%r15, %r15
	setne	%al
	testl	%esi, %esi
	setns	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	xorl	%r13d, %r13d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rcx, %rax
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	jle	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movq	%rax, %rcx
	cmpq	8(%r12), %rax
	jne	LBB0_9
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ecx, %edx
	subl	%eax, %edx
	cmpl	%edx, %ebx
	cmovll	%ebx, %edx
	testl	%edx, %edx
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	%edx, %r13d
	movl	%edx, %esi
	addq	%rsi, %rax
	movq	%rax, (%r12)
	subl	%edx, %ebx
	jmp	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r12), %r12
	cmpq	%r15, %r12
	jne	LBB0_1
## %bb.8:
	xorl	%edi, %edi
	testl	%ebx, %ebx
	sete	%dil
	callq	_assert
	xorl	%r12d, %r12d
LBB0_9:
	addl	%r13d, 16(%r15)
	movl	20(%r15), %eax
	movl	%eax, %ecx
	subl	%r13d, %ecx
	movl	%ecx, 20(%r15)
	cmpq	24(%r14), %r12
	je	LBB0_10
## %bb.13:
	testq	%r12, %r12
	je	LBB0_14
## %bb.15:
	movq	%r12, 24(%r14)
	movq	(%r12), %rax
	movq	%rax, (%r14)
	movl	8(%r12), %ecx
	subl	%eax, %ecx
	movl	%ecx, 8(%r14)
	xorl	%edi, %edi
	testl	%ecx, %ecx
	setg	%dil
	callq	_assert
	movq	24(%r12), %rax
	cmpq	%r15, %rax
	je	LBB0_17
## %bb.16:
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	cmpq	%rcx, %rax
	jne	LBB0_18
LBB0_17:
	movq	$0, 16(%r14)
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_10:
	movslq	%r13d, %rax
	addq	(%r14), %rax
	movq	%rax, (%r14)
	subl	%r13d, 8(%r14)
	jle	LBB0_11
## %bb.12:
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
	jmp	LBB0_20
LBB0_14:
	xorl	%edi, %edi
	cmpl	%r13d, %eax
	sete	%dil
	callq	_assert
	movq	32(%r15), %rax
	movq	%rax, 24(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r14)
	movq	$0, 16(%r14)
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_11:
	xorl	%edi, %edi
	jmp	LBB0_20
LBB0_18:
	movq	%rcx, 16(%r14)
	subl	%ecx, %eax
LBB0_19:
	movl	%eax, 12(%r14)
	addl	8(%r14), %eax
	xorl	%edi, %edi
	cmpl	20(%r15), %eax
	setle	%dil
LBB0_20:
	callq	_assert
	movl	12(%r14), %eax
	addl	8(%r14), %eax
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nb_advance_process             ; -- Begin function nb_advance_process
	.p2align	2
_nb_advance_process:                    ; @nb_advance_process
	.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	x20, x1
	mov	x19, x0
	ldp	x22, x21, [x0, #24]
	cmp	w1, #0
	ccmp	x21, #0, #4, ge
	cset	w0, ne
	bl	_assert
	mov	w23, #0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x8, x9
	b.eq	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	x8, x9, [x22]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldp	x8, x10, [x22]
	mov	x9, x8
	cmp	x8, x10
	b.ne	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w10, w9, w8
	cmp	w20, w10
	csel	w10, w20, w10, lt
	cmp	w10, #1
	b.lt	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w23, w10, w23
	add	x8, x8, w10, uxtw
	str	x8, [x22]
	sub	w20, w20, w10
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x22, #24]
	cmp	x22, x21
	b.ne	LBB0_2
; %bb.8:
	cmp	w20, #0
	cset	w0, eq
	bl	_assert
	mov	x22, #0
LBB0_9:
	ldp	w9, w8, [x21, #16]
	add	w9, w9, w23
	sub	w10, w8, w23
	stp	w9, w10, [x21, #16]
	ldr	x9, [x19, #24]
	cmp	x22, x9
	b.eq	LBB0_14
; %bb.10:
	cbz	x22, LBB0_16
; %bb.11:
	str	x22, [x19, #24]
	ldr	x8, [x22]
	str	x8, [x19]
	ldr	w9, [x22, #8]
	sub	w8, w9, w8
	str	w8, [x19, #8]
	cmp	w8, #0
	cset	w0, gt
	bl	_assert
	ldr	x9, [x22, #24]
	cmp	x9, x21
	b.eq	LBB0_13
; %bb.12:
	ldp	x8, x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
LBB0_13:
	mov	w8, #0
	str	xzr, [x19, #16]
	b	LBB0_19
LBB0_14:
	ldr	x8, [x19]
	add	x8, x8, w23, sxtw
	str	x8, [x19]
	ldr	w9, [x19, #8]
	sub	w9, w9, w23
	str	w9, [x19, #8]
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.15:
	ldr	x9, [x22]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_20
LBB0_16:
	cmp	w8, w23
	cset	w0, eq
	bl	_assert
	mov	w0, #0
	ldr	x8, [x21, #32]
	stp	xzr, x8, [x19, #16]
	stp	xzr, xzr, [x19]
	b	LBB0_21
LBB0_17:
	mov	w0, #0
	b	LBB0_20
LBB0_18:
	str	x8, [x19, #16]
	sub	w8, w9, w8
LBB0_19:
	str	w8, [x19, #12]
	ldr	w9, [x19, #8]
	ldr	w10, [x21, #20]
	add	w8, w8, w9
	cmp	w8, w10
	cset	w0, le
LBB0_20:
	bl	_assert
	ldp	w8, w9, [x19, #8]
	add	w0, w9, w8
LBB0_21:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
