	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcxhr_interrupt                ## -- Begin function pcxhr_interrupt
	.p2align	4, 0x90
_pcxhr_interrupt:                       ## @pcxhr_interrupt
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	leaq	20(%rsi), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_PCXHR_PLX_IRQCS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_PCXHR_INPL
	movq	_PCXHR_IRQCS_ACTIVE_PCIDB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_PCXHR_PLX_L2PCIDB@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_PCXHR_INPL
	movl	%eax, %ebx
	movl	(%r14), %esi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_PCXHR_OUTPL
	movq	_PCXHR_IRQ_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	andl	%ebx, %r14d
	je	LBB0_23
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	_PCXHR_PLX_MBOX4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_PCXHR_INPL
	movl	%eax, %ebx
	movq	_PCXHR_DSP_TIME_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	(%r12), %esi
	movl	%ebx, %r13d
	subl	%esi, %r13d
	jns	LBB0_6
## %bb.4:
	movq	_PCXHR_DSP_TIME_INVALID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_snd_printdd
	incl	40(%r12)
LBB0_6:
	movl	%ebx, (%r12)
	cmpl	8(%r12), %r14d
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_snd_printdd
	incl	40(%r12)
LBB0_8:
	movl	%r14d, 8(%r12)
	movq	_PCXHR_IRQ_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	movl	12(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_22
## %bb.9:
	xorl	%edx, %edx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_15
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	32(%r12), %rcx
	movq	(%rcx,%rdx,8), %rbx
	cmpl	$0, (%rbx)
	jle	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rbx), %rsi
	addq	%r15, %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_pcxhr_update_timer_pos
	incq	%r14
	movslq	(%rbx), %rax
	addq	$4, %r15
	cmpq	%rax, %r14
	jl	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	12(%r12), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r14
	jmp	LBB0_27
LBB0_15:
	testl	%eax, %eax
	jle	LBB0_22
## %bb.16:
	xorl	%edx, %edx
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_22
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	movq	32(%r12), %rcx
	movq	(%rcx,%rdx,8), %r15
	cmpl	$0, 4(%r15)
	jle	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_pcxhr_update_timer_pos
	incq	%r14
	movslq	4(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	12(%r12), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_22:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_23:
	movq	_PCXHR_IRQ_MASK@GOTPCREL(%rip), %rax
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r14
	testl	%ebx, (%rax)
	je	LBB0_27
## %bb.24:
	movq	_PCXHR_IRQ_ASYNC@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_26
## %bb.25:
	movq	_PCXHR_DSP_TIME_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_26:
	movl	%ebx, 16(%r12)
	addq	$24, %r12
	movq	%r12, %rdi
	callq	_tasklet_schedule
LBB0_27:
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	(%r14), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCXHR_PLX_IRQCS,4,2            ## @PCXHR_PLX_IRQCS
	.comm	_PCXHR_IRQCS_ACTIVE_PCIDB,4,2   ## @PCXHR_IRQCS_ACTIVE_PCIDB
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_PCXHR_PLX_L2PCIDB,4,2          ## @PCXHR_PLX_L2PCIDB
	.comm	_PCXHR_IRQ_TIMER,4,2            ## @PCXHR_IRQ_TIMER
	.comm	_PCXHR_PLX_MBOX4,4,2            ## @PCXHR_PLX_MBOX4
	.comm	_PCXHR_DSP_TIME_MASK,4,2        ## @PCXHR_DSP_TIME_MASK
	.comm	_PCXHR_DSP_TIME_INVALID,4,2     ## @PCXHR_DSP_TIME_INVALID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR DSP TIME old(%d) new(%d) -> resynchronize all streams\n"

L_.str.1:                               ## @.str.1
	.asciz	"ERROR TIMER TOGGLE\n"

	.comm	_PCXHR_IRQ_MASK,4,2             ## @PCXHR_IRQ_MASK
	.comm	_PCXHR_IRQ_ASYNC,4,2            ## @PCXHR_IRQ_ASYNC
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_PCXHR_FATAL_DSP_ERR,4,2        ## @PCXHR_FATAL_DSP_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pcxhr_interrupt                ; -- Begin function pcxhr_interrupt
	.p2align	2
_pcxhr_interrupt:                       ; @pcxhr_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	add	x19, x1, #20
	mov	x0, x19
	bl	_spin_lock
Lloh0:
	adrp	x8, _PCXHR_PLX_IRQCS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCXHR_PLX_IRQCS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PCXHR_INPL
Lloh3:
	adrp	x8, _PCXHR_IRQCS_ACTIVE_PCIDB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCXHR_IRQCS_ACTIVE_PCIDB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.1:
Lloh6:
	adrp	x22, _PCXHR_PLX_L2PCIDB@GOTPAGE
Lloh7:
	ldr	x22, [x22, _PCXHR_PLX_L2PCIDB@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_PCXHR_INPL
	mov	x21, x0
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x21
	bl	_PCXHR_OUTPL
Lloh8:
	adrp	x24, _PCXHR_IRQ_TIMER@GOTPAGE
Lloh9:
	ldr	x24, [x24, _PCXHR_IRQ_TIMER@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh10:
	adrp	x23, _PCXHR_DSP_TIME_INVALID@GOTPAGE
Lloh11:
	ldr	x23, [x23, _PCXHR_DSP_TIME_INVALID@GOTPAGEOFF]
	ands	w25, w8, w21
	b.eq	LBB0_22
; %bb.2:
Lloh12:
	adrp	x8, _PCXHR_PLX_MBOX4@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCXHR_PLX_MBOX4@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_PCXHR_INPL
Lloh15:
	adrp	x8, _PCXHR_DSP_TIME_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PCXHR_DSP_TIME_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w26, w8, w0
	ldr	w8, [x20]
	subs	w22, w26, w8
	b.pl	LBB0_5
; %bb.3:
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.4:
	stp	x8, x26, [sp]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_snd_printdd
	ldr	w8, [x20, #40]
	add	w8, w8, #1
	str	w8, [x20, #40]
LBB0_5:
	str	w26, [x20]
	ldr	w8, [x20, #8]
	cmp	w25, w8
	b.ne	LBB0_7
; %bb.6:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_snd_printdd
	ldr	w8, [x20, #40]
	add	w8, w8, #1
	str	w8, [x20, #40]
LBB0_7:
	str	w25, [x20, #8]
	ldr	w8, [x24]
	bic	w21, w21, w8
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.8:
	mov	x24, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_15
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x9, [x20, #32]
	ldr	x25, [x9, x24, lsl #3]
	ldr	w9, [x25]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, #0
	mov	x27, #0
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25, #16]
	add	x1, x8, x26
	mov	x0, x20
	mov	x2, x22
	bl	_pcxhr_update_timer_pos
	add	x27, x27, #1
	ldrsw	x8, [x25]
	add	x26, x26, #4
	cmp	x27, x8
	b.lt	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x20, #12]
	b	LBB0_9
LBB0_14:
Lloh22:
	adrp	x20, _IRQ_NONE@GOTPAGE
Lloh23:
	ldr	x20, [x20, _IRQ_NONE@GOTPAGEOFF]
	b	LBB0_27
LBB0_15:
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.16:
	mov	x24, #0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_22
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
	ldr	x9, [x20, #32]
	ldr	x25, [x9, x24, lsl #3]
	ldr	w9, [x25, #4]
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x26, #0
	mov	x27, #0
LBB0_20:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x25, #8]
	add	x1, x8, x26
	mov	x0, x20
	mov	x2, x22
	bl	_pcxhr_update_timer_pos
	add	x27, x27, #1
	ldrsw	x8, [x25, #4]
	add	x26, x26, #4
	cmp	x27, x8
	b.lt	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w8, [x20, #12]
	b	LBB0_17
LBB0_22:
Lloh24:
	adrp	x8, _PCXHR_IRQ_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PCXHR_IRQ_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_26
; %bb.23:
Lloh27:
	adrp	x8, _PCXHR_IRQ_ASYNC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PCXHR_IRQ_ASYNC@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_25
; %bb.24:
	ldr	w8, [x23]
	str	w8, [x20]
LBB0_25:
	str	w21, [x20, #16]
	add	x0, x20, #24
	bl	_tasklet_schedule
LBB0_26:
Lloh30:
	adrp	x20, _IRQ_HANDLED@GOTPAGE
Lloh31:
	ldr	x20, [x20, _IRQ_HANDLED@GOTPAGEOFF]
LBB0_27:
	mov	x0, x19
	bl	_spin_unlock
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_PCXHR_PLX_IRQCS,4,2            ; @PCXHR_PLX_IRQCS
	.comm	_PCXHR_IRQCS_ACTIVE_PCIDB,4,2   ; @PCXHR_IRQCS_ACTIVE_PCIDB
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_PCXHR_PLX_L2PCIDB,4,2          ; @PCXHR_PLX_L2PCIDB
	.comm	_PCXHR_IRQ_TIMER,4,2            ; @PCXHR_IRQ_TIMER
	.comm	_PCXHR_PLX_MBOX4,4,2            ; @PCXHR_PLX_MBOX4
	.comm	_PCXHR_DSP_TIME_MASK,4,2        ; @PCXHR_DSP_TIME_MASK
	.comm	_PCXHR_DSP_TIME_INVALID,4,2     ; @PCXHR_DSP_TIME_INVALID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR DSP TIME old(%d) new(%d) -> resynchronize all streams\n"

l_.str.1:                               ; @.str.1
	.asciz	"ERROR TIMER TOGGLE\n"

	.comm	_PCXHR_IRQ_MASK,4,2             ; @PCXHR_IRQ_MASK
	.comm	_PCXHR_IRQ_ASYNC,4,2            ; @PCXHR_IRQ_ASYNC
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_PCXHR_FATAL_DSP_ERR,4,2        ; @PCXHR_FATAL_DSP_ERR
.subsections_via_symbols
