	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m2mops_venc_job_ready
_m2mops_venc_job_ready:                 ## @m2mops_venc_job_ready
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_MTK_STATE_ABORT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_2
## %bb.1:
	movq	_MTK_STATE_FREE@GOTPCREL(%rip), %rdx
	movl	$1, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.3:
	popq	%rbp
	retq
LBB0_2:
	movl	8(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_mtk_v4l2_debug
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTK_STATE_ABORT,8,3            ## @MTK_STATE_ABORT
	.comm	_MTK_STATE_FREE,8,3             ## @MTK_STATE_FREE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%d]Not ready: state=0x%x."

	.no_dead_strip	_m2mops_venc_job_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m2mops_venc_job_ready
_m2mops_venc_job_ready:                 ; @m2mops_venc_job_ready
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x3, [x0]
Lloh0:
	adrp	x8, _MTK_STATE_ABORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTK_STATE_ABORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MTK_STATE_FREE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MTK_STATE_FREE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x3, x8
	ccmp	x3, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w2, [x0, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_mtk_v4l2_debug
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MTK_STATE_ABORT,8,3            ; @MTK_STATE_ABORT
	.comm	_MTK_STATE_FREE,8,3             ; @MTK_STATE_FREE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%d]Not ready: state=0x%x."

	.no_dead_strip	_m2mops_venc_job_ready
.subsections_via_symbols
