	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpc_intr
_cpc_intr:                              ## @cpc_intr
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %rbx
	cmpl	$0, 24(%rsi)
	je	LBB0_13
## %bb.2:
	movl	(%rbx), %eax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	cmpl	$128, %eax
	je	LBB0_12
## %bb.3:
	cmpl	$130, %eax
	je	LBB0_12
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_13
## %bb.5:
	movq	8(%rbx), %rdi
	addq	16(%rbx), %rdi
	callq	_cpc_readb
	movq	_PLX_9050_LINT1_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	_PLX_9050_LINT2_STATUS@GOTPCREL(%rip), %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rdi
	addq	16(%rbx), %rdi
	callq	_cpc_readb
	movl	(%r15), %ecx
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	orl	(%r12), %ecx
	andl	%eax, %ecx
	movl	%ecx, -36(%rbp)
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-36(%rbp), %eax
	andl	(%r15), %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_sca_intr
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-36(%rbp), %eax
	andl	(%r12), %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_falc_intr
	jmp	LBB0_11
LBB0_12:
	movq	%rbx, %rdi
	callq	_sca_intr
LBB0_13:
	movl	(%r14), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_PLX_9050_LINT1_STATUS,4,2      ## @PLX_9050_LINT1_STATUS
	.comm	_PLX_9050_LINT2_STATUS,4,2      ## @PLX_9050_LINT2_STATUS
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_cpc_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpc_intr
_cpc_intr:                              ; @cpc_intr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x1, LBB0_11
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1, #24]
	cbz	w8, LBB0_11
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_12
; %bb.3:
	cmp	w8, #130
	b.eq	LBB0_12
; %bb.4:
	cmp	w8, #129
	b.ne	LBB0_13
; %bb.5:
	ldp	x9, x8, [x19, #8]
	add	x0, x9, x8
	bl	_cpc_readb
Lloh0:
	adrp	x21, _PLX_9050_LINT1_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PLX_9050_LINT1_STATUS@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _PLX_9050_LINT2_STATUS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _PLX_9050_LINT2_STATUS@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ands	w8, w8, w0
	str	w8, [sp, #12]
Lloh4:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh5:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
	b.ne	LBB0_7
	b	LBB0_14
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldp	x9, x8, [x19, #8]
	add	x0, x9, x8
	bl	_cpc_readb
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ands	w8, w8, w0
	str	w8, [sp, #12]
	b.eq	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_sca_intr
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_falc_intr
	b	LBB0_6
LBB0_11:
Lloh6:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
	mov	x0, x19
	bl	_sca_intr
LBB0_13:
Lloh8:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh9:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x20]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_PLX_9050_LINT1_STATUS,4,2      ; @PLX_9050_LINT1_STATUS
	.comm	_PLX_9050_LINT2_STATUS,4,2      ; @PLX_9050_LINT2_STATUS
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_cpc_intr
.subsections_via_symbols
