	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pi_probe_unit
_pi_probe_unit:                         ## @pi_probe_unit
	.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, %r14d
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%esi, %r12d
	incl	%r12d
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movl	(%rax), %r12d
	xorl	%r15d, %r15d
LBB0_2:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_pi_register_parport
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_14
## %bb.3:
	movq	8(%rbx), %rax
	cmpq	$0, 8(%rax)
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_pi_claim
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_pi_unclaim
	movq	8(%rbx), %rax
	cmpq	$0, 24(%rax)
	jne	LBB0_7
	jmp	LBB0_10
LBB0_5:
	movl	16(%rax), %r13d
	cmpq	$0, 24(%rax)
	je	LBB0_10
LBB0_7:
	movq	%rbx, %rdi
	callq	_pi_claim
	movl	%r15d, (%rbx)
	cmpl	%r12d, %r15d
	jge	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	callq	*24(%rax)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	cmpl	%r12d, %eax
	jl	LBB0_8
LBB0_12:
	movq	%rbx, %rdi
	callq	_pi_unclaim
	jmp	LBB0_13
LBB0_9:
	movq	%rbx, %rdi
	callq	_pi_unclaim
LBB0_10:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_pi_probe_mode
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	callq	_pi_unregister_parport
	xorl	%eax, %eax
LBB0_14:
	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_unit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pi_probe_unit
_pi_probe_unit:                         ; @pi_probe_unit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	adds	w24, w1, #1
	b.lo	LBB0_2
; %bb.1:
	mov	w22, #0
	ldr	x8, [x19, #8]
	ldr	w24, [x8]
	b	LBB0_3
LBB0_2:
	mov	x22, x1
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_pi_register_parport
	cbz	w0, LBB0_15
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_pi_claim
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	mov	x23, x0
	mov	x0, x19
	bl	_pi_unclaim
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_7
	b	LBB0_12
LBB0_6:
	ldr	w23, [x8, #16]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_pi_claim
	str	w22, [x19]
	cmp	w22, w24
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #24]
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	cmp	w8, w24
	b.lt	LBB0_8
LBB0_10:
	mov	x0, x19
	bl	_pi_unclaim
	b	LBB0_14
LBB0_11:
	mov	x0, x19
	bl	_pi_unclaim
LBB0_12:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	bl	_pi_probe_mode
	cbz	x0, LBB0_14
; %bb.13:
	mov	w0, #1
	b	LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_pi_unregister_parport
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pi_probe_unit
.subsections_via_symbols
