	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpfe_isr
_vpfe_isr:                              ## @vpfe_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	_debug@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	40(%r13), %r15
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_v4l2_dbg
	cmpl	$0, 44(%r13)
	je	LBB0_18
## %bb.1:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	48(%r13), %ebx
	movq	_ccdc_dev@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_3:
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_6
## %bb.4:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_v4l2_dbg
	movq	(%r13), %rax
	cmpq	8(%r13), %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_18
## %bb.5:
	movq	%r13, %rdi
	callq	_vpfe_process_buffer_complete
	jmp	LBB0_18
LBB0_6:
	movq	(%r12), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movl	%eax, %r12d
	movl	16(%r13), %r9d
	xorl	$1, %r9d
	movl	%r9d, 16(%r13)
	movl	(%r14), %esi
	leaq	L_.str.2(%rip), %rcx
	movl	$1, %edi
	movq	%r15, %rdx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_v4l2_dbg
	cmpl	16(%r13), %r12d
	jne	LBB0_16
## %bb.7:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.12:
	leaq	32(%r13), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	36(%r13), %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	movq	(%r13), %rax
	cmpq	8(%r13), %rax
	jne	LBB0_15
## %bb.14:
	movq	%r13, %rdi
	callq	_vpfe_schedule_next_buffer
LBB0_15:
	movq	%r15, %rdi
	callq	_spin_unlock
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_16:
	testl	%r12d, %r12d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_18
## %bb.17:
	movl	$0, 16(%r13)
	jmp	LBB0_18
LBB0_8:
	movq	(%r13), %rax
	cmpq	8(%r13), %rax
	je	LBB0_10
## %bb.9:
	movq	%r13, %rdi
	callq	_vpfe_process_buffer_complete
LBB0_10:
	movq	_V4L2_FIELD_SEQ_TB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_18
## %bb.11:
	movq	%r13, %rdi
	callq	_vpfe_schedule_bottom_field
LBB0_18:
	movq	24(%r13), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	%ebx, %edi
	callq	*%rax
LBB0_20:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nStarting vpfe_isr...\n"

	.comm	_ccdc_dev,8,3                   ## @ccdc_dev
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
L_.str.1:                               ## @.str.1
	.asciz	"frame format is progressive...\n"

L_.str.2:                               ## @.str.2
	.asciz	"field id = %x:%x.\n"

	.comm	_V4L2_FIELD_SEQ_TB,4,2          ## @V4L2_FIELD_SEQ_TB
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_vpfe_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpfe_isr
_vpfe_isr:                              ; @vpfe_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _debug@GOTPAGE
Lloh1:
	ldr	x24, [x24, _debug@GOTPAGEOFF]
	ldr	w1, [x24]
	add	x21, x20, #40
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_v4l2_dbg
	ldr	w8, [x20, #44]
	cbz	w8, LBB0_18
; %bb.1:
	ldr	w23, [x20, #48]
Lloh4:
	adrp	x22, _ccdc_dev@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ccdc_dev@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
LBB0_3:
Lloh6:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_6
; %bb.4:
	ldr	w1, [x24]
Lloh9:
	adrp	x3, l_.str.1@PAGE
Lloh10:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_v4l2_dbg
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.5:
	mov	x0, x20
	bl	_vpfe_process_buffer_complete
	b	LBB0_18
LBB0_6:
	ldr	x8, [x22]
	ldr	x8, [x8]
	blr	x8
	mov	x22, x0
	ldr	w8, [x20, #16]
	eor	w8, w8, #0x1
	str	w8, [x20, #16]
	ldr	w1, [x24]
	stp	x22, x8, [sp]
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_v4l2_dbg
	ldr	w8, [x20, #16]
	cmp	w22, w8
	b.ne	LBB0_12
; %bb.7:
	cbz	w22, LBB0_14
; %bb.8:
	add	x21, x20, #32
	mov	x0, x21
	bl	_spin_lock
	add	x0, x20, #36
	bl	_list_empty
	cbnz	w0, LBB0_11
; %bb.9:
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x20
	bl	_vpfe_schedule_next_buffer
LBB0_11:
	mov	x0, x21
	bl	_spin_unlock
	b	LBB0_18
LBB0_12:
	cbnz	w22, LBB0_18
; %bb.13:
	str	wzr, [x20, #16]
	b	LBB0_18
LBB0_14:
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x20
	bl	_vpfe_process_buffer_complete
LBB0_16:
Lloh13:
	adrp	x8, _V4L2_FIELD_SEQ_TB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _V4L2_FIELD_SEQ_TB@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_vpfe_schedule_bottom_field
LBB0_18:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:
	mov	x0, x19
	blr	x8
LBB0_20:
Lloh16:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nStarting vpfe_isr...\n"

	.comm	_ccdc_dev,8,3                   ; @ccdc_dev
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
l_.str.1:                               ; @.str.1
	.asciz	"frame format is progressive...\n"

l_.str.2:                               ; @.str.2
	.asciz	"field id = %x:%x.\n"

	.comm	_V4L2_FIELD_SEQ_TB,4,2          ; @V4L2_FIELD_SEQ_TB
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_vpfe_isr
.subsections_via_symbols
