	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ths7303_s_std_output
_ths7303_s_std_output:                  ## @ths7303_s_std_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_to_state
	movq	_V4L2_STD_ALL@GOTPCREL(%rip), %rcx
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	(%rcx), %ebx
	testl	%edx, %ebx
	je	LBB0_1
## %bb.2:
	movl	$1, (%rax)
	movq	$0, 8(%rax)
	movq	_THS7303_FILTER_MODE_480I_576I@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_THS7303_FILTER_MODE_DISABLE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ths7303_setval                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_ALL,4,2               ## @V4L2_STD_ALL
	.comm	_V4L2_STD_SECAM,4,2             ## @V4L2_STD_SECAM
	.comm	_THS7303_FILTER_MODE_480I_576I,4,2 ## @THS7303_FILTER_MODE_480I_576I
	.comm	_THS7303_FILTER_MODE_DISABLE,4,2 ## @THS7303_FILTER_MODE_DISABLE
	.no_dead_strip	_ths7303_s_std_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ths7303_s_std_output
_ths7303_s_std_output:                  ; @ths7303_s_std_output
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_to_state
Lloh0:
	adrp	x8, _V4L2_STD_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _V4L2_STD_SECAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_STD_SECAM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w8, w20
	bics	wzr, w8, w9
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x0]
	str	xzr, [x0, #8]
Lloh6:
	adrp	x8, _THS7303_FILTER_MODE_480I_576I@GOTPAGE
Lloh7:
	ldr	x8, [x8, _THS7303_FILTER_MODE_480I_576I@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _THS7303_FILTER_MODE_DISABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _THS7303_FILTER_MODE_DISABLE@GOTPAGEOFF]
LBB0_3:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ths7303_setval
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_ALL,4,2               ; @V4L2_STD_ALL
	.comm	_V4L2_STD_SECAM,4,2             ; @V4L2_STD_SECAM
	.comm	_THS7303_FILTER_MODE_480I_576I,4,2 ; @THS7303_FILTER_MODE_480I_576I
	.comm	_THS7303_FILTER_MODE_DISABLE,4,2 ; @THS7303_FILTER_MODE_DISABLE
	.no_dead_strip	_ths7303_s_std_output
.subsections_via_symbols
