	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bytepos_delta
_bytepos_delta:                         ## @bytepos_delta
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	callq	_byte_pos
	imull	4(%rbx), %r15d
	movq	%rax, %r14
	addl	(%rbx), %r15d
	movl	%r15d, (%rbx)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_byte_pos
	movq	%rax, %rcx
	movl	(%rbx), %eax
	movl	8(%rbx), %esi
	movl	$0, 8(%rbx)
	movl	12(%rbx), %edi
	cmpl	%edi, %eax
	jb	LBB0_2
## %bb.1:
	xorl	%edx, %edx
	divl	%edi
	movl	%edx, (%rbx)
	movl	$1, 16(%rbx)
LBB0_2:
	subl	%r14d, %ecx
	xorl	%eax, %eax
	cmpl	%ecx, %esi
	cmovbel	%esi, %eax
	subl	%eax, %ecx
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bytepos_delta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bytepos_delta
_bytepos_delta:                         ; @bytepos_delta
	.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, x1
	mov	x19, x0
	ldr	w1, [x0]
	bl	_byte_pos
	mov	x20, x0
	ldp	w9, w8, [x19]
	madd	w1, w8, w21, w9
	str	w1, [x19]
	mov	x0, x19
	bl	_byte_pos
	ldp	w8, w9, [x19, #8]
	str	wzr, [x19, #8]
	ldr	w10, [x19]
	cmp	w10, w9
	b.lo	LBB0_2
; %bb.1:
	udiv	w11, w10, w9
	msub	w9, w11, w9, w10
	str	w9, [x19]
	mov	w9, #1
	str	w9, [x19, #16]
LBB0_2:
	sub	w9, w0, w20
	cmp	w8, w9
	csel	w8, wzr, w8, hi
	sub	w0, w9, w8
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bytepos_delta
.subsections_via_symbols
