	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lio_cn6xxx_process_interrupt_regs ## -- Begin function lio_cn6xxx_process_interrupt_regs
	.p2align	4, 0x90
_lio_cn6xxx_process_interrupt_regs:     ## @lio_cn6xxx_process_interrupt_regs
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	movl	(%r15), %edi
	callq	_readq
	movl	%eax, %ebx
	leal	1(%rbx), %eax
	cmpl	$2, %eax
	jae	LBB0_2
## %bb.1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	movl	$0, (%r14)
	movq	_CN6XXX_INTR_ERR@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_lio_cn6xxx_process_pcie_error_intr
LBB0_4:
	movq	_CN6XXX_INTR_PKT_DATA@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_lio_cn6xxx_process_droq_intr_regs
	movq	_OCT_DEV_INTR_PKT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_6:
	movq	_CN6XXX_INTR_DMA0_FORCE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_OCT_DEV_INTR_DMA0_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_8:
	movq	_CN6XXX_INTR_DMA1_FORCE@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_OCT_DEV_INTR_DMA1_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_10:
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_writeq
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_CN6XXX_INTR_ERR,4,2            ## @CN6XXX_INTR_ERR
	.comm	_CN6XXX_INTR_PKT_DATA,4,2       ## @CN6XXX_INTR_PKT_DATA
	.comm	_OCT_DEV_INTR_PKT_DATA,4,2      ## @OCT_DEV_INTR_PKT_DATA
	.comm	_CN6XXX_INTR_DMA0_FORCE,4,2     ## @CN6XXX_INTR_DMA0_FORCE
	.comm	_OCT_DEV_INTR_DMA0_FORCE,4,2    ## @OCT_DEV_INTR_DMA0_FORCE
	.comm	_CN6XXX_INTR_DMA1_FORCE,4,2     ## @CN6XXX_INTR_DMA1_FORCE
	.comm	_OCT_DEV_INTR_DMA1_FORCE,4,2    ## @OCT_DEV_INTR_DMA1_FORCE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lio_cn6xxx_process_interrupt_regs ; -- Begin function lio_cn6xxx_process_interrupt_regs
	.p2align	2
_lio_cn6xxx_process_interrupt_regs:     ; @lio_cn6xxx_process_interrupt_regs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	w0, [x21]
	bl	_readq
	add	w8, w0, #1
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_11
LBB0_2:
	mov	x20, x0
	str	wzr, [x19]
Lloh2:
	adrp	x8, _CN6XXX_INTR_ERR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CN6XXX_INTR_ERR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_lio_cn6xxx_process_pcie_error_intr
LBB0_4:
Lloh5:
	adrp	x8, _CN6XXX_INTR_PKT_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CN6XXX_INTR_PKT_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_lio_cn6xxx_process_droq_intr_regs
Lloh8:
	adrp	x8, _OCT_DEV_INTR_PKT_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OCT_DEV_INTR_PKT_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
Lloh11:
	adrp	x8, _CN6XXX_INTR_DMA0_FORCE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CN6XXX_INTR_DMA0_FORCE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh14:
	adrp	x8, _OCT_DEV_INTR_DMA0_FORCE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _OCT_DEV_INTR_DMA0_FORCE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_8:
Lloh17:
	adrp	x8, _CN6XXX_INTR_DMA1_FORCE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CN6XXX_INTR_DMA1_FORCE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
Lloh20:
	adrp	x8, _OCT_DEV_INTR_DMA1_FORCE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _OCT_DEV_INTR_DMA1_FORCE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_10:
	ldr	w1, [x21]
	mov	x0, x20
	bl	_writeq
Lloh23:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_CN6XXX_INTR_ERR,4,2            ; @CN6XXX_INTR_ERR
	.comm	_CN6XXX_INTR_PKT_DATA,4,2       ; @CN6XXX_INTR_PKT_DATA
	.comm	_OCT_DEV_INTR_PKT_DATA,4,2      ; @OCT_DEV_INTR_PKT_DATA
	.comm	_CN6XXX_INTR_DMA0_FORCE,4,2     ; @CN6XXX_INTR_DMA0_FORCE
	.comm	_OCT_DEV_INTR_DMA0_FORCE,4,2    ; @OCT_DEV_INTR_DMA0_FORCE
	.comm	_CN6XXX_INTR_DMA1_FORCE,4,2     ; @CN6XXX_INTR_DMA1_FORCE
	.comm	_OCT_DEV_INTR_DMA1_FORCE,4,2    ; @OCT_DEV_INTR_DMA1_FORCE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
