	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_mem_probe
_do_mem_probe:                          ## @do_mem_probe
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	addq	$4, %rdi
	leal	(%rbx,%r15), %ecx
	decl	%ecx
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_dev_info
	movl	%ebx, %eax
	sarl	$4, %eax
	andl	$-8192, %eax                    ## imm = 0xE000
	cmpl	$8388608, %eax                  ## imm = 0x800000
	movl	$8388608, %ecx                  ## imm = 0x800000
	cmovll	%eax, %ecx
	cmpl	$131072, %ebx                   ## imm = 0x20000
	movl	$8192, %eax                     ## imm = 0x2000
	cmovgel	%ecx, %eax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r14d
	addl	%r14d, %r14d
	cmpl	%r14d, %eax
	cmovgl	%eax, %r14d
	testl	%ebx, %ebx
	jle	LBB0_23
## %bb.1:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	addl	%r15d, %ebx
	xorl	%eax, %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, %r12d
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r15d killed $r15d killed $r15
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r12), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_pr_cont
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_sub_interval
	addl	%r13d, -44(%rbp)                ## 4-byte Folded Spill
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	leal	(%r12,%r14), %r15d
	cmpl	%ebx, %r15d
	jge	LBB0_21
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
	testl	%eax, %eax
	movl	$1, %edx
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r12d
	cmpl	%ebx, %r15d
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	callq	_do_validate_mem
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	addl	%r14d, %r12d
	cmpl	%ebx, %r12d
	jl	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %eax
	xorl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%r12d, %ecx
	xorl	%ebx, %ecx
	xorl	%edx, %edx
	orl	%eax, %ecx
	sete	%dl
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r13, %r13
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %edx
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r12d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%r14d, %edx
	movq	%r13, %rcx
	callq	_do_validate_mem
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	addl	%r14d, %r12d
	cmpl	%ebx, %r12d
	jl	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r13d
	subl	%r15d, %r13d
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_cont
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %r12d
	jmp	LBB0_20
LBB0_21:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_23
## %bb.22:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_24
LBB0_23:
	leaq	L_.str.4(%rip), %rsi
	xorl	%r14d, %r14d
LBB0_24:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_cont
	subl	%r14d, %ebx
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cs: memory probe 0x%06lx-0x%06lx:"

L_.str.1:                               ## @.str.1
	.asciz	" excluding"

L_.str.2:                               ## @.str.2
	.asciz	" %#05lx-%#05lx"

L_.str.3:                               ## @.str.3
	.asciz	"%s\n"

L_.str.4:                               ## @.str.4
	.asciz	" clean"

L_.str.5:                               ## @.str.5
	.space	1

	.no_dead_strip	_do_mem_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_mem_probe
_do_mem_probe:                          ; @do_mem_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x26, x1
	mov	x23, x0
	ldr	x8, [x0, #8]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	add	x0, x0, #4
	add	w19, w2, w1
	sub	w3, w19, #1
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x26
	bl	_dev_info
	asr	w8, w22, #4
	and	w8, w8, #0xffffe000
	mov	w9, #8388608
	cmp	w8, #2048, lsl #12              ; =8388608
	csel	w8, w8, w9, lt
	mov	w9, #8192
	cmp	w22, #32, lsl #12               ; =131072
	csel	w8, w9, w8, lt
	ldr	w9, [x23]
	lsl	w9, w9, #1
	cmp	w8, w9
	csel	w25, w8, w9, gt
	cmp	w22, #1
	b.lt	LBB0_22
; %bb.1:
	stp	w22, w26, [sp, #16]             ; 8-byte Folded Spill
	mov	w22, #0
	mov	w24, #0
	mov	x28, x26
                                        ; kill: def $w26 killed $w26 def $x26
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w28, #1
	stp	x26, x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_cont
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x26
	mov	x2, x27
	bl	_sub_interval
	add	w24, w27, w24
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w28, w25
	cmp	w26, w19
	b.ge	LBB0_20
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	cbz	w22, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #1
	cbnz	x20, LBB0_11
	b	LBB0_16
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x26
	cmp	w26, w19
	b.ge	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x26
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x28
	mov	x2, x25
	mov	x3, x21
	bl	_do_validate_mem
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	w28, w28, w25
	cmp	w28, w19
	b.lt	LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w26, w8
	ccmp	w28, w19, #0, eq
	cset	w22, eq
	cbz	x20, LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w22, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, w19
	b.ge	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x26
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	mov	x1, x28
	mov	x2, x25
	mov	x3, x20
	bl	_do_validate_mem
	cbz	w0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	add	w28, w28, w25
	cmp	w28, w19
	b.lt	LBB0_14
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	subs	w27, w28, w26
	b.eq	LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w24, LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_cont
	b	LBB0_2
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x26
	b	LBB0_3
LBB0_20:
	ldr	w22, [sp, #16]                  ; 4-byte Folded Reload
	cbz	w24, LBB0_22
; %bb.21:
Lloh6:
	adrp	x8, l_.str.5@PAGE
Lloh7:
	add	x8, x8, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_22:
	mov	w24, #0
Lloh8:
	adrp	x8, l_.str.4@PAGE
Lloh9:
	add	x8, x8, l_.str.4@PAGEOFF
LBB0_23:
	str	x8, [sp]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_cont
	sub	w0, w22, w24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cs: memory probe 0x%06lx-0x%06lx:"

l_.str.1:                               ; @.str.1
	.asciz	" excluding"

l_.str.2:                               ; @.str.2
	.asciz	" %#05lx-%#05lx"

l_.str.3:                               ; @.str.3
	.asciz	"%s\n"

l_.str.4:                               ; @.str.4
	.asciz	" clean"

l_.str.5:                               ; @.str.5
	.space	1

	.no_dead_strip	_do_mem_probe
.subsections_via_symbols
