	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_trip_points
_check_trip_points:                     ## @check_trip_points
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %r8
	leal	-1(%r8), %r9d
	movslq	%esi, %r10
	xorl	%ecx, %ecx
	testl	%r9d, %r9d
	movl	$0, %r11d
	cmovgl	%r9d, %r11d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %r11
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rdi), %rdx
	movq	(%rdx,%r10,8), %rdx
	movq	(%rdx,%rcx,8), %rsi
	leaq	1(%rcx), %rax
	cmpq	8(%rdx,%rcx,8), %rsi
	movq	%rax, %rcx
	jle	LBB0_1
	jmp	LBB0_9
LBB0_2:
	movq	16(%rdi), %rcx
	movq	(%rcx,%r10,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %r11
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx,%rdx,8), %rax
	leaq	1(%rdx), %rsi
	cmpq	8(%rcx,%rdx,8), %rax
	movq	%rsi, %rdx
	jle	LBB0_3
	jmp	LBB0_9
LBB0_6:
	movq	(%rcx,%r8,8), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.7:
	movq	8(%rdi), %rsi
	movq	(%rsi,%r10,8), %rdi
	movslq	%r9d, %r9
	movq	(%rdi,%r9,8), %rsi
	cmpq	(%rdi,%r8,8), %rsi
	jg	LBB0_9
## %bb.8:
	cmpq	%rdx, (%rcx,%r9,8)
	jle	LBB0_10
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_check_trip_points
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_trip_points
_check_trip_points:                     ; @check_trip_points
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x12, #0
	ldrsw	x9, [x0]
	sub	w8, w9, #1
	sxtw	x10, w1
	cmp	w8, #0
	csel	w11, w8, wzr, gt
	lsl	x13, x11, #3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x13, x12
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x14, [x0, #8]
	ldr	x14, [x14, x10, lsl #3]
	add	x14, x14, x12
	ldp	x15, x14, [x14]
	add	x12, x12, #8
	cmp	x15, x14
	b.le	LBB0_1
	b	LBB0_9
LBB0_3:
	ldr	x12, [x0, #16]
	ldr	x12, [x12, x10, lsl #3]
	add	x13, x12, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x11, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x14, x15, [x13, #-8]
	sub	x11, x11, #1
	add	x13, x13, #8
	cmp	x14, x15
	b.le	LBB0_4
	b	LBB0_9
LBB0_6:
	ldr	x11, [x12, x9, lsl #3]
	cbz	x11, LBB0_10
; %bb.7:
	ldr	x13, [x0, #8]
	ldr	x10, [x13, x10, lsl #3]
	ldr	x13, [x10, w8, sxtw #3]
	ldr	x9, [x10, x9, lsl #3]
	cmp	x13, x9
	b.gt	LBB0_9
; %bb.8:
	sxtw	x8, w8
	ldr	x8, [x12, x8, lsl #3]
	cmp	x8, x11
	b.le	LBB0_10
LBB0_9:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_10:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_check_trip_points
.subsections_via_symbols
