	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_check_mr_contiguous
_i40iw_check_mr_contiguous:             ## @i40iw_check_mr_contiguous
	.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, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_I40IW_LEVEL_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.9:
	movq	16(%r15), %rdi
	movl	8(%r15), %esi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40iw_check_mem_contiguous     ## TAILCALL
LBB0_1:
	movl	$1, %eax
	cmpl	$0, 24(%r15)
	jle	LBB0_8
## %bb.2:
	movq	32(%r15), %rbx
	movq	8(%rbx), %rdi
	movl	%r14d, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	%r14d, %edx
	callq	_i40iw_check_mem_contiguous
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	cmpl	24(%r15), %r13d
	jge	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%rbx), %rdi
	movq	_PBLE_PER_PAGE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%r12d, %rcx
	imulq	%rax, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	(%rax), %rcx
	addl	%r14d, %r12d
	addq	$16, %rbx
	cmpq	(%rdi), %rcx
	je	LBB0_3
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movl	$1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_LEVEL_1,8,3              ## @I40IW_LEVEL_1
	.comm	_PBLE_PER_PAGE,4,2              ## @PBLE_PER_PAGE
	.no_dead_strip	_i40iw_check_mr_contiguous
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_check_mr_contiguous
_i40iw_check_mr_contiguous:             ; @i40iw_check_mr_contiguous
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _I40IW_LEVEL_1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40IW_LEVEL_1@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20, #16]
	ldr	w1, [x20, #8]
	mov	x2, x19
	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
	b	_i40iw_check_mem_contiguous
LBB0_2:
	ldr	w8, [x20, #24]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	w21, #0
	ldr	x22, [x20, #32]
	ldr	x23, [x22, #8]
Lloh3:
	adrp	x24, _PBLE_PER_PAGE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PBLE_PER_PAGE@GOTPAGEOFF]
	mov	x25, x19
	mov	x0, x23
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x2, x19
	bl	_i40iw_check_mem_contiguous
	cbz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	ldr	w8, [x20, #24]
	cmp	w21, w8
	b.ge	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w25
	add	w9, w25, w19
	ldr	x0, [x22, #24]
	ldr	x10, [x23]
	ldrsw	x11, [x24]
	madd	x8, x8, x11, x10
	ldr	x10, [x0]
	add	x22, x22, #16
	mov	x25, x9
	cmp	x8, x10
	b.eq	LBB0_4
; %bb.7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_LEVEL_1,8,3              ; @I40IW_LEVEL_1
	.comm	_PBLE_PER_PAGE,4,2              ; @PBLE_PER_PAGE
	.no_dead_strip	_i40iw_check_mr_contiguous
.subsections_via_symbols
