	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__ve_envelope_mark              ## -- Begin function _ve_envelope_mark
	.p2align	4, 0x90
__ve_envelope_mark:                     ## @_ve_envelope_mark
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	40(%rdi), %rax
	movq	(%rax), %r8
	movq	32(%rdi), %rax
	movq	(%rax), %rcx
	movq	(%rdi), %rax
	movq	8(%rdi), %rdx
	movq	(%rcx), %r10
	movl	(%r10,%rdx,4), %ecx
	leal	3(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$2, %esi
	movslq	%esi, %rcx
	leaq	(%rax,%rcx), %r9
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	16(%rdi), %rdx
	movq	24(%rdi), %rsi
	movl	(%r10,%rdx,4), %edx
	leal	3(%rdx), %edi
	testl	%edx, %edx
	cmovnsl	%edx, %edi
	sarl	$2, %edi
	movslq	%edi, %rdi
	movl	(%r10,%rsi,4), %edx
	leal	3(%rdx), %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	sarl	$2, %esi
	movslq	%esi, %rsi
	jmp	LBB0_3
LBB0_2:
	movl	(%r10), %edx
	leal	3(%rdx), %esi
	testl	%edx, %edx
	cmovnsl	%edx, %esi
	sarl	$2, %esi
	movslq	%esi, %rsi
	movq	%rsi, %rdi
LBB0_3:
	addq	%rsi, %r9
	addq	%rcx, %rdi
	subq	%rdi, %rax
	movq	(%r8), %rsi
	movl	$1, %edx
	cmpq	%rax, %rsi
	jl	LBB0_5
## %bb.4:
	cmpq	%r9, %rsi
	jl	LBB0_17
LBB0_5:
	movq	8(%r8), %rdi
	movq	%rax, %rcx
	orq	%rdi, %rcx
	shrq	$32, %rcx
	je	LBB0_6
## %bb.7:
	cqto
	idivq	%rdi
	movq	%rax, %rsi
	jmp	LBB0_8
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
	movl	%eax, %esi
LBB0_8:
	movq	%r9, %rax
	orq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_9
## %bb.10:
	movq	%r9, %rax
	cqto
	idivq	%rdi
	jmp	LBB0_11
LBB0_9:
	movl	%r9d, %eax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_11:
	xorl	%edx, %edx
	cmpq	%rax, %rsi
	jge	LBB0_17
## %bb.12:
	movq	16(%r8), %rcx
	cmpq	$0, (%rcx,%rsi,8)
	movl	$1, %edx
	jne	LBB0_17
## %bb.13:
	incq	%rsi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rdi
	cmpq	%rsi, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	1(%rdi), %rsi
	cmpq	$0, (%rcx,%rdi,8)
	je	LBB0_14
LBB0_16:
	xorl	%edx, %edx
	cmpq	%rax, %rdi
	setl	%dl
LBB0_17:
	movl	%edx, %eax
	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	__ve_envelope_mark              ; -- Begin function _ve_envelope_mark
	.p2align	2
__ve_envelope_mark:                     ; @_ve_envelope_mark
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0, #32]
	ldr	x9, [x9]
	ldr	x12, [x9]
	ldp	x9, x13, [x0]
	ldr	w10, [x12, x13, lsl #2]
	ldr	x8, [x8]
	add	w11, w10, #3
	cmp	w10, #0
	csel	w10, w11, w10, lt
	sbfx	x11, x10, #2, #30
	add	x10, x9, x11
	cbz	x13, LBB0_2
; %bb.1:
	ldp	x13, x14, [x0, #16]
	ldr	w13, [x12, x13, lsl #2]
	add	w15, w13, #3
	cmp	w13, #0
	csel	w13, w15, w13, lt
	sbfx	x13, x13, #2, #30
	ldr	w12, [x12, x14, lsl #2]
	add	w14, w12, #3
	cmp	w12, #0
	csel	w12, w14, w12, lt
	sbfx	x12, x12, #2, #30
	b	LBB0_3
LBB0_2:
	ldr	w12, [x12]
	add	w13, w12, #3
	cmp	w12, #0
	csel	w12, w13, w12, lt
	sbfx	x12, x12, #2, #30
	mov	x13, x12
LBB0_3:
	add	x11, x13, x11
	sub	x9, x9, x11
	add	x11, x10, x12
	ldr	x10, [x8]
	cmp	x10, x9
	ccmp	x10, x11, #0, ge
	b.lt	LBB0_6
; %bb.4:
	ldr	x12, [x8, #8]
	sdiv	x10, x9, x12
	sdiv	x9, x11, x12
	cmp	x10, x9
	b.ge	LBB0_7
; %bb.5:
	ldr	x8, [x8, #16]
	ldr	x11, [x8, x10, lsl #3]
	cbz	x11, LBB0_8
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
LBB0_8:
	add	x11, x10, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x11
	cmp	x9, x11
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x12, [x8, x10, lsl #3]
	add	x11, x10, #1
	cbz	x12, LBB0_9
LBB0_11:
	cmp	x10, x9
	cset	w0, lt
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
