	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tvp5150_s_std
_tvp5150_s_std:                         ## @tvp5150_s_std
	.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_tvp5150
	cmpl	%ebx, (%rax)
	jne	LBB0_1
## %bb.5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_TVP5150_V_MAX_OTHERS@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_TVP5150_V_MAX_525_60@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movl	%ebx, (%rax)
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tvp5150_set_std                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.comm	_TVP5150_V_MAX_525_60,4,2       ## @TVP5150_V_MAX_525_60
	.comm	_TVP5150_V_MAX_OTHERS,4,2       ## @TVP5150_V_MAX_OTHERS
	.no_dead_strip	_tvp5150_s_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tvp5150_s_std
_tvp5150_s_std:                         ; @tvp5150_s_std
	.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	x19, x1
	mov	x20, x0
	bl	_to_tvp5150
	ldr	w8, [x0]
	cmp	w8, w19
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh0:
	adrp	x8, _V4L2_STD_525_60@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TVP5150_V_MAX_OTHERS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TVP5150_V_MAX_OTHERS@GOTPAGEOFF]
Lloh5:
	adrp	x10, _TVP5150_V_MAX_525_60@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TVP5150_V_MAX_525_60@GOTPAGEOFF]
	tst	w8, w19
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	stp	w19, w8, [x0]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tvp5150_set_std
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.comm	_TVP5150_V_MAX_525_60,4,2       ; @TVP5150_V_MAX_525_60
	.comm	_TVP5150_V_MAX_OTHERS,4,2       ; @TVP5150_V_MAX_OTHERS
	.no_dead_strip	_tvp5150_s_std
.subsections_via_symbols
