	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_m2m_job_finish            ## -- Begin function v4l2_m2m_job_finish
	.p2align	4, 0x90
_v4l2_m2m_job_finish:                   ## @v4l2_m2m_job_finish
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	4(%rdi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	%r14, %rax
	jne	LBB0_2
## %bb.3:
	leaq	8(%r14), %rdi
	callq	_list_del
	movq	_TRANS_QUEUED@GOTPCREL(%rip), %rax
	movq	_TRANS_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	movq	8(%rbx), %rdi
	andl	%ecx, (%rdi)
	addq	$4, %rdi
	callq	_wake_up
	movq	$0, 8(%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	___v4l2_m2m_try_queue
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintk                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Called by an instance not currently running\n"

	.comm	_TRANS_QUEUED,4,2               ## @TRANS_QUEUED
	.comm	_TRANS_RUNNING,4,2              ## @TRANS_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_m2m_job_finish            ; -- Begin function v4l2_m2m_job_finish
	.p2align	2
_v4l2_m2m_job_finish:                   ; @v4l2_m2m_job_finish
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	cmp	x8, #0
	ccmp	x8, x20, #0, ne
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dprintk
LBB0_2:
	add	x0, x20, #8
	bl	_list_del
Lloh2:
	adrp	x8, _TRANS_QUEUED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRANS_QUEUED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _TRANS_RUNNING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TRANS_RUNNING@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x0, [x19, #8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0], #4
	bl	_wake_up
	str	xzr, [x19, #8]
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	mov	x1, x20
	bl	___v4l2_m2m_try_queue
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_schedule_work
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Called by an instance not currently running\n"

	.comm	_TRANS_QUEUED,4,2               ; @TRANS_QUEUED
	.comm	_TRANS_RUNNING,4,2              ; @TRANS_RUNNING
.subsections_via_symbols
