	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_next_fragment
_get_next_fragment:                     ## @get_next_fragment
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movq	%rdi, %r15
	movl	(%rsi), %eax
	cmpl	(%rdx), %eax
	jg	LBB0_5
## %bb.1:
	movslq	%eax, %rbx
	movq	(%r15), %rdi
	leaq	-1(%rbx), %rcx
	shlq	$4, %rbx
	addq	%rdi, %rbx
	addq	$8, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rdx), %rdi
	incq	%rcx
	addq	$16, %rbx
	incl	%eax
	cmpq	%rdi, %rcx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rsi)
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -4(%rbx)
	jne	LBB0_4
LBB0_5:
	movl	$0, (%r12)
	movl	$0, (%r8)
	movl	(%rsi), %r13d
	movl	(%rdx), %eax
	cmpl	%eax, %r13d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jg	LBB0_16
## %bb.6:
	movslq	%r13d, %r13
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%r12)
	jge	LBB0_16
## %bb.7:
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	shlq	$4, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %r14
	movq	(%r15), %rax
	movl	(%rax,%rbx), %edi
	callq	_NONWORDTOKEN
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incl	(%r12)
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r15), %rax
	cmpq	$0, 8(%rax,%rbx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, 4(%rax,%rbx)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	movslq	(%rdx), %rax
	cmpq	%rax, %r14
	jge	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	addq	$16, %rbx
	leaq	1(%r14), %r13
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%r12)
	jl	LBB0_9
LBB0_15:
	incq	%r14
	movq	%r14, %r13
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_16:
	cmpl	%r13d, %eax
	jle	LBB0_24
## %bb.17:
	movl	%r13d, (%rdx)
	cmpl	(%rsi), %r13d
	jge	LBB0_18
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movslq	%r13d, %r14
	leaq	1(%r14), %r12
	shlq	$4, %r14
	orq	$8, %r14
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%rbx, %rsi
	movslq	(%rbx), %rax
	decq	%r12
	addq	$-16, %r14
	decl	%r13d
	cmpq	%rax, %r12
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jle	LBB0_24
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, (%rdx)
	movq	(%r15), %rax
	cmpq	$0, (%rax,%r14)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	cmpl	$0, -4(%rax,%r14)
	je	LBB0_24
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%rsi, %rbx
	movl	-8(%rax,%r14), %edi
	callq	_NONWORDTOKEN
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	decl	(%rax)
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_next_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_next_fragment
_get_next_fragment:                     ; @get_next_fragment
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x5
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w8, [x1]
	ldr	w9, [x2]
	cmp	w8, w9
	b.gt	LBB0_5
; %bb.1:
	sxtw	x10, w8
	ldr	x11, [x22]
	sub	x9, x10, #1
	add	x10, x11, x10, lsl #4
	add	x10, x10, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x11, [x20]
	add	x9, x9, #1
	add	x10, x10, #16
	add	w8, w8, #1
	cmp	x9, x11
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x21]
	ldr	x11, [x10]
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w11, [x10, #-4]
	cbnz	w11, LBB0_2
LBB0_5:
	str	wzr, [x19]
	str	wzr, [x24]
	ldr	w25, [x21]
	ldr	w8, [x20]
	cmp	w25, w8
	b.gt	LBB0_17
; %bb.6:
	sxtw	x9, w25
	ldr	w10, [x19]
	cmp	w10, w23
	b.ge	LBB0_16
; %bb.7:
	lsl	x25, x9, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x9
	ldr	x8, [x22]
	ldr	w0, [x8, x25]
	bl	_NONWORDTOKEN
	cbnz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22]
	add	x8, x8, x25
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x8, #4]
	cbnz	w8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrsw	x8, [x20]
	cmp	x26, x8
	b.ge	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w10, [x19]
	add	x25, x25, #16
	add	x9, x26, #1
	cmp	w10, w23
	b.lt	LBB0_8
LBB0_15:
	add	x9, x26, #1
LBB0_16:
	mov	x25, x9
LBB0_17:
	cmp	w8, w25
	b.le	LBB0_19
; %bb.18:
	str	w25, [x20]
	ldr	w8, [x21]
	cmp	w25, w8
	b.ge	LBB0_20
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_20:
	mov	x8, x25
	sxtw	x9, w8
	add	x23, x9, #1
	sbfiz	x24, x8, #4, #32
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	ldrsw	x8, [x21]
	sub	x23, x23, #1
	sub	x24, x24, #16
	sub	w25, w25, #1
	cmp	x23, x8
	b.le	LBB0_19
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	str	w25, [x20]
	ldr	x8, [x22]
	add	x9, x8, x24
	ldr	x10, [x9, #8]
	cbz	x10, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w9, [x9, #4]
	cbz	w9, LBB0_19
LBB0_24:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x8, x24]
	bl	_NONWORDTOKEN
	cbnz	w0, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
	b	LBB0_21
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_next_fragment
.subsections_via_symbols
