	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __v4l2_m2m_try_queue
___v4l2_m2m_try_queue:                  ## @__v4l2_m2m_try_queue
	.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, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	cmpl	$0, 16(%rbx)
	je	LBB0_19
## %bb.1:
	cmpl	$0, 32(%rbx)
	je	LBB0_19
## %bb.2:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	_TRANS_ABORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_19:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dprintk                        ## TAILCALL
LBB0_5:
	movq	_TRANS_QUEUED@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
LBB0_4:
	xorl	%eax, %eax
	callq	_dprintk
LBB0_18:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_7:
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	leaq	12(%rbx), %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	cmpl	$0, 8(%rbx)
	je	LBB0_9
LBB0_11:
	leaq	20(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_irqsave
	leaq	28(%rbx), %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	cmpl	$0, 24(%rbx)
	je	LBB0_13
LBB0_14:
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	8(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movl	40(%rbx), %edi
	callq	*%rax
	testl	%eax, %eax
	je	LBB0_16
LBB0_17:
	leaq	36(%rbx), %rdi
	leaq	4(%r14), %rsi
	callq	_list_add_tail
	movl	(%r13), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_18
LBB0_9:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_10
LBB0_13:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movq	%r12, %rdi
	callq	_spin_unlock_irqrestore
LBB0_10:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_18
LBB0_16:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Trying to schedule a job for m2m_ctx: %p\n"

L_.str.1:                               ## @.str.1
	.asciz	"Streaming needs to be on for both queues\n"

	.comm	_TRANS_ABORT,4,2                ## @TRANS_ABORT
L_.str.2:                               ## @.str.2
	.asciz	"Aborted context\n"

	.comm	_TRANS_QUEUED,4,2               ## @TRANS_QUEUED
L_.str.3:                               ## @.str.3
	.asciz	"On job queue already\n"

L_.str.4:                               ## @.str.4
	.asciz	"No input buffers available\n"

L_.str.5:                               ## @.str.5
	.asciz	"No output buffers available\n"

L_.str.6:                               ## @.str.6
	.asciz	"Driver not ready\n"

	.no_dead_strip	___v4l2_m2m_try_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __v4l2_m2m_try_queue
___v4l2_m2m_try_queue:                  ; @__v4l2_m2m_try_queue
	.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
	str	x1, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _TRANS_ABORT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TRANS_ABORT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh5:
	adrp	x0, l_.str.2@PAGE
Lloh6:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, 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	_dprintk
LBB0_5:
Lloh9:
	adrp	x23, _TRANS_QUEUED@GOTPAGE
Lloh10:
	ldr	x23, [x23, _TRANS_QUEUED@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_7:
	bl	_dprintk
LBB0_8:
	mov	x0, x19
	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	_spin_unlock_irqrestore
LBB0_9:
	add	x21, x20, #4
	mov	x0, x21
	bl	_spin_lock_irqsave
	add	x0, x20, #12
	bl	_list_empty
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_16
LBB0_11:
	add	x22, x20, #20
	mov	x0, x22
	bl	_spin_lock_irqsave
	add	x0, x20, #28
	bl	_list_empty
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_17
LBB0_13:
	mov	x0, x22
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	w0, [x20, #40]
	blr	x8
	cbz	w0, LBB0_19
LBB0_15:
	add	x0, x20, #36
	add	x1, x19, #4
	bl	_list_add_tail
	ldr	w8, [x23]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_8
LBB0_16:
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dprintk
	b	LBB0_18
LBB0_17:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_dprintk
	mov	x0, x22
	bl	_spin_unlock_irqrestore
LBB0_18:
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	b	LBB0_8
LBB0_19:
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Trying to schedule a job for m2m_ctx: %p\n"

l_.str.1:                               ; @.str.1
	.asciz	"Streaming needs to be on for both queues\n"

	.comm	_TRANS_ABORT,4,2                ; @TRANS_ABORT
l_.str.2:                               ; @.str.2
	.asciz	"Aborted context\n"

	.comm	_TRANS_QUEUED,4,2               ; @TRANS_QUEUED
l_.str.3:                               ; @.str.3
	.asciz	"On job queue already\n"

l_.str.4:                               ; @.str.4
	.asciz	"No input buffers available\n"

l_.str.5:                               ; @.str.5
	.asciz	"No output buffers available\n"

l_.str.6:                               ; @.str.6
	.asciz	"Driver not ready\n"

	.no_dead_strip	___v4l2_m2m_try_queue
.subsections_via_symbols
