	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpia_pp_attach
_cpia_pp_attach:                        ## @cpia_pp_attach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_parport_nr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	%esi, %ecx
	andl	$-2, %ecx
	cmpl	$128, %ecx
	jne	LBB0_1
## %bb.7:
	movq	8(%rbx), %rax
	movl	8(%rax), %ecx
	movq	_PARPORT_CLASS_MEDIA@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_10
## %bb.8:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_6
LBB0_1:
	movq	_PARPORT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.2:
	movl	(%rbx), %edx
	cmpl	%esi, %edx
	je	LBB0_6
## %bb.3:
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rcx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rsi), %rdi
	cmpl	(%rax,%rsi,4), %edx
	movq	%rdi, %rsi
	jne	LBB0_4
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cpia_pp_register               ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_parport_nr,8,3                 ## @parport_nr
	.comm	_PARPORT_CLASS_MEDIA,4,2        ## @PARPORT_CLASS_MEDIA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CPIA_1"

	.comm	_PARPORT_MAX,4,2                ## @PARPORT_MAX
	.no_dead_strip	_cpia_pp_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpia_pp_attach
_cpia_pp_attach:                        ; @cpia_pp_attach
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _parport_nr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _parport_nr@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	w10, [x9]
	and	w8, w10, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #8]
Lloh3:
	adrp	x10, _PARPORT_CLASS_MEDIA@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PARPORT_CLASS_MEDIA@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_10
; %bb.2:
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_strncmp
	cbnz	w0, LBB0_10
	b	LBB0_9
LBB0_4:
Lloh8:
	adrp	x8, _PARPORT_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PARPORT_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x8]
	cbz	w11, LBB0_10
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, w10
	b.eq	LBB0_9
; %bb.6:
	add	x9, x9, #4
	sub	x10, x11, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x10, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w11, [x9], #4
	sub	x10, x10, #1
	cmp	w8, w11
	b.ne	LBB0_7
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cpia_pp_register
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_parport_nr,8,3                 ; @parport_nr
	.comm	_PARPORT_CLASS_MEDIA,4,2        ; @PARPORT_CLASS_MEDIA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CPIA_1"

	.comm	_PARPORT_MAX,4,2                ; @PARPORT_MAX
	.no_dead_strip	_cpia_pp_attach
.subsections_via_symbols
