	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpif_channel_isr
_vpif_channel_isr:                      ## @vpif_channel_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_VPIF_NUMOBJECTS@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_17
## %bb.1:
	movslq	(%rsi), %rdx
	movq	_vpif_obj@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rbx
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	callq	_process_interlaced_mode
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_VPIF_NUMOBJECTS@GOTPCREL(%rip), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%rcx), %rax
	addq	$32, %r14
	cmpq	%rax, %r15
	jge	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rbx), %r13
	cmpq	$0, (%r13,%r14)
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r13), %r12
	cmpl	$1, 16(%rbx)
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r13), %rdi
	addq	$24, %rdi
	callq	_list_empty
	testq	%rax, %rax
	jne	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_channel_first_int@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13,%r14), %rdi
	addq	$8, %rdi
	callq	_do_gettimeofday
	movq	_VIDEOBUF_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r13,%r14), %rdi
	movl	%eax, 4(%rdi)
	callq	_wake_up_interruptible
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%r13,%r14), %rax
	movq	%rax, 16(%r13,%r14)
	movq	_channel_first_int@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%rax,%rcx,8)
	movq	%r12, %rdi
	callq	_process_progressive_mode
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	_VPIF_NUMOBJECTS@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_channel_first_int@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %rax
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%rax,%rdx,8)
	jmp	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	xorb	$1, (%rbx)
	movq	8(%rbx), %rdi
	addq	$2, %rdi
	callq	_vpif_channel_getfid
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	(%rbx), %eax
	je	LBB0_14
## %bb.12:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_17
## %bb.13:
	movl	$0, (%rbx)
LBB0_17:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vpif_obj,8,3                   ## @vpif_obj
	.comm	_VPIF_VIDEO_INDEX,8,3           ## @VPIF_VIDEO_INDEX
	.comm	_VPIF_NUMOBJECTS,4,2            ## @VPIF_NUMOBJECTS
	.comm	_channel_first_int,8,3          ## @channel_first_int
	.comm	_VIDEOBUF_DONE,4,2              ## @VIDEOBUF_DONE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_vpif_channel_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpif_channel_isr
_vpif_channel_isr:                      ; @vpif_channel_isr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x21, _VPIF_NUMOBJECTS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VPIF_NUMOBJECTS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	ldrsw	x25, [x1]
Lloh2:
	adrp	x8, _vpif_obj@GOTPAGE
Lloh3:
	ldr	x8, [x8, _vpif_obj@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x22, [x8, x25, lsl #3]
	mov	w19, #-1
Lloh5:
	adrp	x26, _channel_first_int@GOTPAGE
Lloh6:
	ldr	x26, [x26, _channel_first_int@GOTPAGEOFF]
Lloh7:
	adrp	x27, _VIDEOBUF_DONE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _VIDEOBUF_DONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x9, [x8, x25, lsl #3]
	cbz	x9, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x8, x25, lsl #3]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x21]
	add	x23, x23, #32
	cmp	x24, x8
	b.ge	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x22, #24]
	add	x20, x28, x23
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22, #16]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x28, x23
	add	x0, x8, #24
	bl	_list_empty
	cbnz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8, x24, lsl #3]
	ldr	x9, [x8, x25, lsl #3]
	cbnz	x9, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, x23
	ldr	x8, [x28, #16]
	add	x0, x8, #8
	bl	_do_gettimeofday
	ldr	w8, [x27]
	ldr	x0, [x28, #16]
	str	w8, [x0, #4]
	bl	_wake_up_interruptible
	ldr	x8, [x28, #8]
	str	x8, [x28, #16]
	ldr	x8, [x26]
	ldr	x8, [x8, x24, lsl #3]
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [x8, x25, lsl #3]
	mov	x0, x20
	bl	_process_progressive_mode
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x23, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22]
	eor	w8, w8, #0x1
	str	w8, [x22]
	ldr	x8, [x22, #8]
	add	x0, x8, #2
	bl	_vpif_channel_getfid
	mov	x19, x0
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_process_interlaced_mode
	b	LBB0_4
LBB0_14:
	cbnz	w19, LBB0_16
; %bb.15:
	str	wzr, [x22]
LBB0_16:
Lloh9:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_vpif_obj,8,3                   ; @vpif_obj
	.comm	_VPIF_VIDEO_INDEX,8,3           ; @VPIF_VIDEO_INDEX
	.comm	_VPIF_NUMOBJECTS,4,2            ; @VPIF_NUMOBJECTS
	.comm	_channel_first_int,8,3          ; @channel_first_int
	.comm	_VIDEOBUF_DONE,4,2              ; @VIDEOBUF_DONE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_vpif_channel_isr
.subsections_via_symbols
