	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flexcop_pci_isr
_flexcop_pci_isr:                       ## @flexcop_pci_isr
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	24(%rsi), %r13
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	12(%rsi), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	movq	_irq_20c@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-112(%rbp), %rdi
	movq	%r13, %rsi
	callq	*(%r13)
	movl	-112(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-104(%rbp), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	-100(%rbp), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-96(%rbp), %r12
	movq	-88(%rbp), %r14
	movq	-80(%rbp), %r15
	cmpq	$0, -72(%rbp)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_chk
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_chk
LBB0_4:
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_chk
LBB0_6:
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_chk
LBB0_8:
	movl	(%rbx), %esi
	imull	$652835029, %esi, %eax          ## imm = 0x26E978D5
	addl	$17179864, %eax                 ## imm = 0x10624D8
	rorl	$3, %eax
	cmpl	$4294966, %eax                  ## imm = 0x418936
	jbe	LBB0_9
## %bb.10:
	cmpl	$1, -64(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
LBB0_11:
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	setne	%al
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rdi
	movq	8(%rcx,%rax,8), %rsi
	movslq	(%rcx), %rax
	imulq	$-1370734243, %rax, %rdx        ## imm = 0xAE4C415D
	shrq	$32, %rdx
	addl	%eax, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	sarl	$7, %edx
	addl	%eax, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_flexcop_pass_dmx_packets
	xorl	%esi, %esi
	cmpl	$0, 4(%rbx)
	sete	%sil
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_irq
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	sete	%al
	movl	%eax, 4(%rbx)
	jmp	LBB0_19
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_chk
	cmpl	$1, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
LBB0_12:
	cmpl	$1, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_20
## %bb.13:
	movq	_dma1_008@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-160(%rbp), %rdi
	movq	%r13, %rsi
	callq	*(%r13)
	movl	-156(%rbp), %r14d
	shll	$2, %r14d
	movq	16(%rbx), %rax
	movl	%r14d, %r13d
	subl	4(%rax), %r13d
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	subq	32(%rbx), %rdi
	callq	_jiffies_to_usecs
	movslq	%r14d, %rcx
	movl	8(%rbx), %r9d
	leaq	L_.str.6(%rip), %rdi
	xorl	%r14d, %r14d
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_deb_irq
	movq	(%r15), %rax
	movq	%rax, 32(%rbx)
	movl	8(%rbx), %eax
	cmpl	%eax, %r13d
	jge	LBB0_14
## %bb.15:
	movq	16(%rbx), %rcx
	movl	(%rcx), %ecx
	notl	%eax
	leal	(%rax,%rcx,2), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_irq
	movq	16(%rbx), %rax
	movq	24(%rbx), %rdi
	movslq	8(%rbx), %rsi
	movl	(%rax), %edx
	addl	%edx, %edx
	subl	%esi, %edx
	addq	8(%rax), %rsi
	callq	_flexcop_pass_dmx_data
	movl	$0, 8(%rbx)
	jmp	LBB0_16
LBB0_20:
	leaq	L_.str.10(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_deb_irq
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_14:
	movl	%eax, %r14d
LBB0_16:
	movl	%r13d, %esi
	subl	%r14d, %esi
	jle	LBB0_18
## %bb.17:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_irq
	movq	16(%rbx), %rax
	movq	24(%rbx), %rdi
	movslq	8(%rbx), %rsi
	movl	%r13d, %edx
	subl	%esi, %edx
	addq	8(%rax), %rsi
	callq	_flexcop_pass_dmx_data
LBB0_18:
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_deb_irq
	movl	%r13d, 8(%rbx)
	incl	(%rbx)
LBB0_19:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_21:
	callq	_spin_unlock_irqrestore
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_irq_20c,4,2                    ## @irq_20c
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"data receiver error\n"

L_.str.1:                               ## @.str.1
	.asciz	"Continuity error flag is set\n"

L_.str.2:                               ## @.str.2
	.asciz	"LLC_SNAP_FLAG_set is set\n"

L_.str.3:                               ## @.str.3
	.asciz	"Transport error\n"

L_.str.4:                               ## @.str.4
	.asciz	"%d valid irq took place so far\n"

L_.str.5:                               ## @.str.5
	.asciz	"page change to page: %d\n"

	.comm	_dma1_008,4,2                   ## @dma1_008
L_.str.6:                               ## @.str.6
	.asciz	"%u irq: %08x cur_addr: %llx: cur_pos: %08x, last_cur_pos: %08x "

	.comm	_jiffies,8,3                    ## @jiffies
L_.str.7:                               ## @.str.7
	.asciz	" end was reached: passing %d bytes "

L_.str.8:                               ## @.str.8
	.asciz	" passing %d bytes "

L_.str.9:                               ## @.str.9
	.asciz	"\n"

L_.str.10:                              ## @.str.10
	.asciz	"isr for flexcop called, apparently without reason (%08x)\n"

	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_flexcop_pci_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flexcop_pci_isr
_flexcop_pci_isr:                       ; @flexcop_pci_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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	x21, x1
	ldr	x22, [x1, #24]
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	add	x19, x1, #12
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x9, [x22]
Lloh3:
	adrp	x8, _irq_20c@GOTPAGE
Lloh4:
	ldr	x8, [x8, _irq_20c@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x8, sp, #96
	mov	x0, x22
	blr	x9
	ldr	w23, [sp, #96]
	ldp	w25, w24, [sp, #104]
	ldp	x26, x27, [sp, #112]
	ldp	x28, x8, [sp, #128]
	cbz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_deb_chk
LBB0_2:
	cbz	x28, LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_deb_chk
LBB0_4:
	cbz	x27, LBB0_6
; %bb.5:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_deb_chk
LBB0_6:
	cbz	x26, LBB0_8
; %bb.7:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_deb_chk
LBB0_8:
	ldr	w8, [x21]
	mov	w9, #30933
	movk	w9, #9961, lsl #16
	mov	w10, #9432
	movk	w10, #262, lsl #16
	madd	w9, w8, w9, w10
	ror	w9, w9, #3
	mov	w10, #35126
	movk	w10, #65, lsl #16
	cmp	w9, w10
	b.ls	LBB0_11
; %bb.9:
	cmp	w25, #1
	b.ne	LBB0_12
LBB0_10:
	ldr	w8, [x21, #4]
	ldp	x9, x0, [x21, #16]
	cmp	w8, #0
	mov	w8, #16
	mov	w10, #8
	csel	x8, x10, x8, eq
	ldr	x1, [x9, x8]
	ldrsw	x8, [x9]
	mov	x9, #-48803
	movk	x9, #44620, lsl #16
	mul	x9, x8, x9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w2, w9, w8, lsr #31
	bl	_flexcop_pass_dmx_packets
	ldr	w8, [x21, #4]
	cmp	w8, #0
	cset	w8, eq
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_deb_irq
	ldr	w8, [x21, #4]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x21, #4]
	b	LBB0_19
LBB0_11:
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_deb_chk
	cmp	w25, #1
	b.eq	LBB0_10
LBB0_12:
	cmp	w24, #1
	b.ne	LBB0_18
; %bb.13:
	ldr	x9, [x22]
Lloh18:
	adrp	x8, _dma1_008@GOTPAGE
Lloh19:
	ldr	x8, [x8, _dma1_008@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x8, sp, #48
	mov	x0, x22
	blr	x9
	ldr	w8, [sp, #52]
	lsl	w24, w8, #2
	ldr	x8, [x21, #16]
	ldr	w8, [x8, #4]
	sub	w22, w24, w8
Lloh21:
	adrp	x25, _jiffies@GOTPAGE
Lloh22:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x9, [x21, #32]
	sub	x0, x8, x9
	bl	_jiffies_to_usecs
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w24
	ldr	w9, [x21, #8]
	stp	x22, x9, [sp, #24]
	stp	x23, x8, [sp, #8]
	str	x0, [sp]
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_deb_irq
	ldr	x8, [x25]
	str	x8, [x21, #32]
	ldr	w8, [x21, #8]
	cmp	w22, w8
	b.ge	LBB0_15
; %bb.14:
	ldr	x9, [x21, #16]
	ldr	w9, [x9]
	mvn	w8, w8
	add	w8, w8, w9, lsl #1
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.7@PAGE
Lloh26:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_deb_irq
	ldp	x8, x0, [x21, #16]
	ldr	x9, [x8, #8]
	ldrsw	x10, [x21, #8]
	add	x1, x9, x10
	ldr	w8, [x8]
	lsl	w8, w8, #1
	sub	w2, w8, w10
	bl	_flexcop_pass_dmx_data
	mov	w8, #0
	str	wzr, [x21, #8]
LBB0_15:
	subs	w8, w22, w8
	b.le	LBB0_17
; %bb.16:
	str	x8, [sp]
Lloh27:
	adrp	x0, l_.str.8@PAGE
Lloh28:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_deb_irq
	ldp	x8, x0, [x21, #16]
	ldr	x8, [x8, #8]
	ldrsw	x9, [x21, #8]
	add	x1, x8, x9
	sub	w2, w22, w9
	bl	_flexcop_pass_dmx_data
LBB0_17:
Lloh29:
	adrp	x0, l_.str.9@PAGE
Lloh30:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_deb_irq
	str	w22, [x21, #8]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	b	LBB0_19
LBB0_18:
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	str	x23, [sp]
Lloh31:
	adrp	x0, l_.str.10@PAGE
Lloh32:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_deb_irq
Lloh33:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
LBB0_19:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x20
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_irq_20c,4,2                    ; @irq_20c
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"data receiver error\n"

l_.str.1:                               ; @.str.1
	.asciz	"Continuity error flag is set\n"

l_.str.2:                               ; @.str.2
	.asciz	"LLC_SNAP_FLAG_set is set\n"

l_.str.3:                               ; @.str.3
	.asciz	"Transport error\n"

l_.str.4:                               ; @.str.4
	.asciz	"%d valid irq took place so far\n"

l_.str.5:                               ; @.str.5
	.asciz	"page change to page: %d\n"

	.comm	_dma1_008,4,2                   ; @dma1_008
l_.str.6:                               ; @.str.6
	.asciz	"%u irq: %08x cur_addr: %llx: cur_pos: %08x, last_cur_pos: %08x "

	.comm	_jiffies,8,3                    ; @jiffies
l_.str.7:                               ; @.str.7
	.asciz	" end was reached: passing %d bytes "

l_.str.8:                               ; @.str.8
	.asciz	" passing %d bytes "

l_.str.9:                               ; @.str.9
	.asciz	"\n"

l_.str.10:                              ; @.str.10
	.asciz	"isr for flexcop called, apparently without reason (%08x)\n"

	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_flexcop_pci_isr
.subsections_via_symbols
