	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pi_probe_mode
_pi_probe_mode:                         ## @pi_probe_mode
	.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	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	(%rdi), %ecx
	cmpl	$-1, %ecx
	je	LBB0_1
## %bb.3:
	xorl	%ebx, %ebx
	cmpl	%r13d, %ecx
	jge	LBB0_12
## %bb.4:
	movq	16(%r14), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	setge	%cl
	jl	LBB0_6
## %bb.5:
	testb	$7, 4(%r14)
	jne	LBB0_12
LBB0_6:
	movb	%cl, %al
	leal	(%rax,%rax,4), %eax
	addl	$3, %eax
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_pi_test_proto
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	jmp	LBB0_12
LBB0_1:
	movl	$0, (%r14)
	testl	%r13d, %r13d
	jle	LBB0_2
## %bb.7:
	xorl	%eax, %eax
	movl	$-1, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movb	%al, %cl
	leal	(%rcx,%rcx,4), %eax
	addl	$3, %eax
	movl	%eax, 8(%r14)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_pi_test_proto
	testl	%eax, %eax
	movl	(%r14), %eax
	cmovel	%eax, %ebx
	incl	%eax
	movl	%eax, (%r14)
	cmpl	%r13d, %eax
	jge	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	setge	%al
	jl	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	testb	$7, 4(%r14)
	je	LBB0_10
	jmp	LBB0_11
LBB0_2:
	movl	$-1, %ebx
LBB0_11:
	movl	%ebx, (%r14)
	notl	%ebx
	shrl	$31, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pi_probe_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pi_probe_mode
_pi_probe_mode:                         ; @pi_probe_mode
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, w22
	b.ge	LBB0_4
; %bb.2:
	ldr	x9, [x19, #16]
	ldr	w9, [x9]
	mov	w10, #8
	mov	w11, #3
	cmp	w8, w9
	csel	w8, w11, w10, lt
	b.lt	LBB0_10
; %bb.3:
	ldrb	w9, [x19, #4]
	tst	w9, #0x7
	b.eq	LBB0_10
LBB0_4:
	mov	w0, #0
	b	LBB0_13
LBB0_5:
	str	wzr, [x19]
	cmp	w22, #1
	b.lt	LBB0_11
; %bb.6:
	mov	w8, #0
	mov	w23, #-1
	mov	w24, #8
	mov	w25, #3
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	w8, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_pi_test_proto
	ldr	w8, [x19]
	cmp	w0, #0
	csel	w23, w8, w23, eq
	add	w8, w8, #1
	str	w8, [x19]
	cmp	w8, w22
	b.ge	LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, w25, w24, lt
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [x19, #4]
	tst	w9, #0x7
	b.eq	LBB0_7
	b	LBB0_12
LBB0_10:
	str	w8, [x19, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_pi_test_proto
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_13
LBB0_11:
	mov	w23, #-1
LBB0_12:
	str	w23, [x19]
	mvn	w8, w23
	lsr	w0, w8, #31
LBB0_13:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pi_probe_mode
.subsections_via_symbols
