	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ml86v7667_s_std
_ml86v7667_s_std:                       ## @ml86v7667_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, %r14d
	callq	_to_ml86v7667
	movq	%rax, %rbx
	leaq	4(%rax), %rdi
	callq	_v4l2_get_subdevdata
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%r14d, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_MRA_PAL_BT601@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_MRA_NTSC_BT601@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movq	_MRA_REG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	_MRA_INPUT_MODE_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	%rax, %rdi
	callq	_ml86v7667_mask_set
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movl	%r14d, (%rbx)
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.comm	_MRA_NTSC_BT601,4,2             ## @MRA_NTSC_BT601
	.comm	_MRA_PAL_BT601,4,2              ## @MRA_PAL_BT601
	.comm	_MRA_REG,4,2                    ## @MRA_REG
	.comm	_MRA_INPUT_MODE_MASK,4,2        ## @MRA_INPUT_MODE_MASK
	.no_dead_strip	_ml86v7667_s_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ml86v7667_s_std
_ml86v7667_s_std:                       ; @ml86v7667_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_ml86v7667
	mov	x20, x0
	add	x0, x0, #4
	bl	_v4l2_get_subdevdata
Lloh0:
	adrp	x8, _V4L2_STD_525_60@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MRA_NTSC_BT601@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MRA_NTSC_BT601@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x10, _MRA_PAL_BT601@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MRA_PAL_BT601@GOTPAGEOFF]
	tst	w8, w19
	csel	x8, x10, x9, eq
	ldr	w3, [x8]
Lloh7:
	adrp	x8, _MRA_REG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MRA_REG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _MRA_INPUT_MODE_MASK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MRA_INPUT_MODE_MASK@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_ml86v7667_mask_set
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #0
	str	w19, [x20]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.comm	_MRA_NTSC_BT601,4,2             ; @MRA_NTSC_BT601
	.comm	_MRA_PAL_BT601,4,2              ; @MRA_PAL_BT601
	.comm	_MRA_REG,4,2                    ; @MRA_REG
	.comm	_MRA_INPUT_MODE_MASK,4,2        ; @MRA_INPUT_MODE_MASK
	.no_dead_strip	_ml86v7667_s_std
.subsections_via_symbols
