	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function state_check_enable_encoder_run
_state_check_enable_encoder_run:        ## @state_check_enable_encoder_run
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$0, 28(%rdi)
	je	LBB0_10
## %bb.1:
	cmpl	$0, 24(%rdi)
	je	LBB0_10
## %bb.2:
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.4:
	cmpl	$0, 20(%rdi)
	je	LBB0_6
## %bb.5:
	movl	$1, %eax
	cmpl	$0, 16(%rdi)
	je	LBB0_6
LBB0_10:
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movq	_PVR2_DIGITAL_SCHEME_ONAIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.8:
	cmpl	$0, 4(%rdi)
	je	LBB0_9
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_9:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PVR2_DIGITAL_SCHEME_ONAIR,4,2  ## @PVR2_DIGITAL_SCHEME_ONAIR
	.no_dead_strip	_state_check_enable_encoder_run
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function state_check_enable_encoder_run
_state_check_enable_encoder_run:        ; @state_check_enable_encoder_run
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #28]
	cbz	w8, LBB0_8
; %bb.1:
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_8
; %bb.2:
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.4:
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_8
; %bb.5:
	ldr	w8, [x0, #16]
	cbnz	w8, LBB0_9
	b	LBB0_8
LBB0_6:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _PVR2_DIGITAL_SCHEME_ONAIR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PVR2_DIGITAL_SCHEME_ONAIR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_9
LBB0_8:
	mov	w0, #0
	ret
LBB0_9:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PVR2_DIGITAL_SCHEME_ONAIR,4,2  ; @PVR2_DIGITAL_SCHEME_ONAIR
	.no_dead_strip	_state_check_enable_encoder_run
.subsections_via_symbols
