	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function device_frame_end
_device_frame_end:                      ## @device_frame_end
	.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
	movl	%esi, %r12d
	movq	%rdi, %r14
	callq	_get_hw_queued_job
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	(%r14), %edi
	callq	_v4l2_m2m_get_curr_priv
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	incq	(%rax)
	movl	40(%rax), %edi
	callq	_FDP1_DEINT_MODE_USES_PREV
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	8(%r15,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_fdp1_field_complete
	leaq	4(%r14), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irqsave
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_v4l2_m2m_buf_done
	movq	$0, (%r15)
	movq	%r13, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_fdp1_job_free
	movq	(%rbx), %rdx
	movq	8(%rbx), %rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_5
## %bb.2:
	cmpq	$0, 32(%rbx)
	je	LBB0_3
LBB0_5:
	movq	24(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dprintk
	movq	$0, (%rbx)
	movl	(%r14), %edi
	movl	16(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_m2m_job_finish            ## TAILCALL
LBB0_4:
	addq	$8, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_err                       ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fdp1_device_process            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"+\n"

L_.str.1:                               ## @.str.1
	.asciz	"Instance released before the end of transaction\n"

L_.str.2:                               ## @.str.2
	.asciz	"curr_ctx->num_processed %d curr_ctx->translen %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Finishing transaction\n"

	.no_dead_strip	_device_frame_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function device_frame_end
_device_frame_end:                      ; @device_frame_end
	.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	x22, x1
	mov	x19, x0
	bl	_get_hw_queued_job
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dprintk
	ldr	w0, [x19]
	bl	_v4l2_m2m_get_curr_priv
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	add	x8, x8, #1
	str	x8, [x0]
	ldr	w0, [x0, #40]
	bl	_FDP1_DEINT_MODE_USES_PREV
	mov	w8, #12
	mov	w9, #8
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w1, [x21, x8]
	mov	x0, x20
	bl	_fdp1_field_complete
	add	x23, x19, #4
	mov	x0, x23
	bl	_spin_lock_irqsave
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_v4l2_m2m_buf_done
	str	xzr, [x21]
	mov	x0, x23
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x21
	bl	_fdp1_job_free
	ldp	x8, x9, [x20]
	stp	x8, x9, [sp]
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dprintk
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_5
LBB0_3:
	ldr	x0, [x20, #24]
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dprintk
	str	xzr, [x20]
	ldr	w0, [x19]
	ldr	w1, [x20, #16]
	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
	b	_v4l2_m2m_job_finish
LBB0_4:
	add	x0, x19, #8
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	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
	b	_v4l2_err
LBB0_5:
	mov	x0, x20
	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
	b	_fdp1_device_process
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"+\n"

l_.str.1:                               ; @.str.1
	.asciz	"Instance released before the end of transaction\n"

l_.str.2:                               ; @.str.2
	.asciz	"curr_ctx->num_processed %d curr_ctx->translen %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Finishing transaction\n"

	.no_dead_strip	_device_frame_end
.subsections_via_symbols
