	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sony_btf_mpx_s_std
_sony_btf_mpx_s_std:                    ## @sony_btf_mpx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_to_state
	movq	_V4L2_STD_PAL_BG@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	testl	%ebx, (%rdx)
	jne	LBB0_4
## %bb.1:
	movq	_V4L2_STD_PAL_I@GOTPCREL(%rip), %rdx
	movl	$4, %ecx
	testl	%ebx, (%rdx)
	jne	LBB0_4
## %bb.2:
	movq	_V4L2_STD_PAL_DK@GOTPCREL(%rip), %rdx
	movl	$6, %ecx
	testl	%ebx, (%rdx)
	jne	LBB0_4
## %bb.3:
	movq	_V4L2_STD_SECAM_L@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movl	$11, %ecx
	cmovel	%ebx, %ecx
LBB0_4:
	cmpl	(%rax), %ecx
	je	LBB0_6
## %bb.5:
	movl	%ecx, (%rax)
	movq	%rax, %rdi
	callq	_mpx_setup
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_PAL_BG,4,2            ## @V4L2_STD_PAL_BG
	.comm	_V4L2_STD_PAL_I,4,2             ## @V4L2_STD_PAL_I
	.comm	_V4L2_STD_PAL_DK,4,2            ## @V4L2_STD_PAL_DK
	.comm	_V4L2_STD_SECAM_L,4,2           ## @V4L2_STD_SECAM_L
	.no_dead_strip	_sony_btf_mpx_s_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sony_btf_mpx_s_std
_sony_btf_mpx_s_std:                    ; @sony_btf_mpx_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
	bl	_to_state
Lloh0:
	adrp	x8, _V4L2_STD_PAL_BG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_PAL_BG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	b	LBB0_7
LBB0_2:
Lloh3:
	adrp	x8, _V4L2_STD_PAL_I@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_STD_PAL_I@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_4
; %bb.3:
	mov	w8, #4
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x8, _V4L2_STD_PAL_DK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_STD_PAL_DK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_6
; %bb.5:
	mov	w8, #6
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _V4L2_STD_SECAM_L@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_STD_SECAM_L@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w19
	mov	w8, #11
	csel	w8, wzr, w8, eq
LBB0_7:
	ldr	w9, [x0]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.8:
	str	w8, [x0]
	bl	_mpx_setup
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_PAL_BG,4,2            ; @V4L2_STD_PAL_BG
	.comm	_V4L2_STD_PAL_I,4,2             ; @V4L2_STD_PAL_I
	.comm	_V4L2_STD_PAL_DK,4,2            ; @V4L2_STD_PAL_DK
	.comm	_V4L2_STD_SECAM_L,4,2           ; @V4L2_STD_SECAM_L
	.no_dead_strip	_sony_btf_mpx_s_std
.subsections_via_symbols
