	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	leaq	20(%rsi), %r14
	movq	_VPFE_IRQ_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_vpfe_reg_read
	movl	%eax, %r15d
	movq	_VPFE_VDINT0@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_16
## %bb.1:
	movl	32(%rbx), %r12d
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_4
## %bb.2:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_16
## %bb.3:
	movq	%rbx, %rdi
	callq	_vpfe_process_buffer_complete
	jmp	LBB0_16
LBB0_4:
	movq	%r14, %rdi
	callq	_vpfe_ccdc_getfid
	movl	16(%rbx), %ecx
	xorl	$1, %ecx
	movl	%ecx, 16(%rbx)
	cmpl	%ecx, %eax
	jne	LBB0_14
## %bb.5:
	testl	%eax, %eax
	je	LBB0_6
## %bb.10:
	leaq	24(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	leaq	28(%rbx), %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_vpfe_schedule_next_buffer
LBB0_13:
	movq	%r12, %rdi
	callq	_spin_unlock
	jmp	LBB0_16
LBB0_14:
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movl	$0, 16(%rbx)
	jmp	LBB0_16
LBB0_6:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_vpfe_process_buffer_complete
LBB0_8:
	movq	_V4L2_FIELD_SEQ_TB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_16
## %bb.9:
	movq	%rbx, %rdi
	callq	_vpfe_schedule_bottom_field
LBB0_16:
	movq	_VPFE_VDINT1@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_22
## %bb.17:
	leaq	24(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	movl	32(%rbx), %eax
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.18:
	leaq	28(%rbx), %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_21
## %bb.19:
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	callq	_vpfe_schedule_next_buffer
LBB0_21:
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_22:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_vpfe_clear_intr
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPFE_IRQ_STS,4,2               ## @VPFE_IRQ_STS
	.comm	_VPFE_VDINT0,4,2                ## @VPFE_VDINT0
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_V4L2_FIELD_SEQ_TB,4,2          ## @V4L2_FIELD_SEQ_TB
	.comm	_VPFE_VDINT1,4,2                ## @VPFE_VDINT1
	.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:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	add	x19, x1, #20
Lloh0:
	adrp	x8, _VPFE_IRQ_STS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPFE_IRQ_STS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vpfe_reg_read
	mov	x20, x0
Lloh3:
	adrp	x8, _VPFE_VDINT0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VPFE_VDINT0@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x23, _V4L2_FIELD_NONE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _V4L2_FIELD_NONE@GOTPAGEOFF]
	tst	w8, w0
	b.eq	LBB0_16
; %bb.1:
	ldr	w22, [x21, #32]
	ldr	w8, [x23]
	cmp	w22, w8
	b.ne	LBB0_4
; %bb.2:
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.3:
	mov	x0, x21
	bl	_vpfe_process_buffer_complete
	b	LBB0_16
LBB0_4:
	mov	x0, x19
	bl	_vpfe_ccdc_getfid
	ldr	w8, [x21, #16]
	eor	w8, w8, #0x1
	str	w8, [x21, #16]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.5:
	cbz	w0, LBB0_12
; %bb.6:
	add	x22, x21, #24
	mov	x0, x22
	bl	_spin_lock
	add	x0, x21, #28
	bl	_list_empty
	cbnz	w0, LBB0_9
; %bb.7:
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_vpfe_schedule_next_buffer
LBB0_9:
	mov	x0, x22
	bl	_spin_unlock
	b	LBB0_16
LBB0_10:
	cbnz	w0, LBB0_16
; %bb.11:
	str	wzr, [x21, #16]
	b	LBB0_16
LBB0_12:
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x21
	bl	_vpfe_process_buffer_complete
LBB0_14:
Lloh8:
	adrp	x8, _V4L2_FIELD_SEQ_TB@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_FIELD_SEQ_TB@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w22, w8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x21
	bl	_vpfe_schedule_bottom_field
LBB0_16:
Lloh11:
	adrp	x8, _VPFE_VDINT1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VPFE_VDINT1@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_22
; %bb.17:
	add	x22, x21, #24
	mov	x0, x22
	bl	_spin_lock
	ldr	w8, [x21, #32]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.18:
	add	x0, x21, #28
	bl	_list_empty
	cbnz	w0, LBB0_21
; %bb.19:
	ldp	x8, x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
	mov	x0, x21
	bl	_vpfe_schedule_next_buffer
LBB0_21:
	mov	x0, x22
	bl	_spin_unlock
LBB0_22:
	mov	x0, x19
	mov	x1, x20
	bl	_vpfe_clear_intr
Lloh14:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_VPFE_IRQ_STS,4,2               ; @VPFE_IRQ_STS
	.comm	_VPFE_VDINT0,4,2                ; @VPFE_VDINT0
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_V4L2_FIELD_SEQ_TB,4,2          ; @V4L2_FIELD_SEQ_TB
	.comm	_VPFE_VDINT1,4,2                ; @VPFE_VDINT1
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_vpfe_isr
.subsections_via_symbols
