	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpx3220_status
_vpx3220_status:                        ## @vpx3220_status
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$243, %esi
	callq	_vpx3220_fp_read
	movl	%eax, %r12d
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%rbx, %rdx
	movl	%r12d, %r8d
	callq	_v4l2_dbg
	testl	%r12d, %r12d
	js	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	testb	$32, %r12b
	jne	LBB0_7
## %bb.3:
	movl	%r12d, %eax
	andl	$24, %eax
	cmpl	$8, %eax
	jne	LBB0_4
## %bb.5:
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_1:
	movl	%r12d, %eax
	jmp	LBB0_11
LBB0_4:
	movq	_V4L2_STD_PAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movl	%eax, (%r15)
LBB0_9:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_11
## %bb.10:
	movl	%r12d, (%r14)
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_IN_ST_NO_SIGNAL,4,2       ## @V4L2_IN_ST_NO_SIGNAL
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"status: 0x%04x\n"

	.comm	_V4L2_STD_PAL,4,2               ## @V4L2_STD_PAL
	.comm	_V4L2_STD_SECAM,4,2             ## @V4L2_STD_SECAM
	.comm	_V4L2_STD_NTSC,4,2              ## @V4L2_STD_NTSC
	.no_dead_strip	_vpx3220_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpx3220_status
_vpx3220_status:                        ; @vpx3220_status
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	w1, #243
	bl	_vpx3220_fp_read
	mov	x20, x0
Lloh0:
	adrp	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x22
	mov	x4, x20
	bl	_v4l2_dbg
	tbnz	w20, #31, LBB0_11
; %bb.1:
	tbnz	w20, #5, LBB0_4
; %bb.2:
	and	w8, w20, #0x18
	cmp	w8, #8
	b.ne	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _V4L2_STD_SECAM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_STD_SECAM@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w8, #0
	cbnz	x21, LBB0_7
	b	LBB0_8
LBB0_5:
Lloh7:
	adrp	x8, _V4L2_STD_PAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_STD_PAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	cbz	x21, LBB0_8
LBB0_7:
	str	w8, [x21]
LBB0_8:
	cbz	x19, LBB0_10
; %bb.9:
	str	w20, [x19]
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x20
	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
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_IN_ST_NO_SIGNAL,4,2       ; @V4L2_IN_ST_NO_SIGNAL
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"status: 0x%04x\n"

	.comm	_V4L2_STD_PAL,4,2               ; @V4L2_STD_PAL
	.comm	_V4L2_STD_SECAM,4,2             ; @V4L2_STD_SECAM
	.comm	_V4L2_STD_NTSC,4,2              ; @V4L2_STD_NTSC
	.no_dead_strip	_vpx3220_status
.subsections_via_symbols
