	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s2250_s_std
_s2250_s_std:                           ## @s2250_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_to_state
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_v4l2_get_subdevdata
	movq	%rax, %r12
	xorl	%ebx, %ebx
	cmpl	$1, (%r15)
	sete	%bl
	shll	$5, %ebx
	addl	$32, %ebx
	movq	_V4L2_STD_625_50@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%r14d, %r13d
	movq	_vid_regs_fp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_write_regs_fp
	testl	%r13d, %r13d
	je	LBB0_2
## %bb.1:
	movq	_vid_regs_fp_pal@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_write_regs_fp
	jmp	LBB0_3
LBB0_2:
	orl	$1, %ebx
LBB0_3:
	movq	%r12, %rdi
	movl	$32, %esi
	movl	%ebx, %edx
	callq	_write_reg_fp
	movl	%r14d, 4(%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.comm	_vid_regs_fp,4,2                ## @vid_regs_fp
	.comm	_vid_regs_fp_pal,4,2            ## @vid_regs_fp_pal
	.no_dead_strip	_s2250_s_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s2250_s_std
_s2250_s_std:                           ; @s2250_s_std
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	bl	_to_state
	mov	x20, x0
	mov	x0, x21
	bl	_v4l2_get_subdevdata
	mov	x21, x0
	ldr	w8, [x20]
	mov	w9, #32
	mov	w10, #64
Lloh0:
	adrp	x11, _V4L2_STD_625_50@GOTPAGE
Lloh1:
	ldr	x11, [x11, _V4L2_STD_625_50@GOTPAGEOFF]
	cmp	w8, #1
	csel	w22, w10, w9, eq
Lloh2:
	ldr	w8, [x11]
	and	w23, w8, w19
Lloh3:
	adrp	x8, _vid_regs_fp@GOTPAGE
Lloh4:
	ldr	x8, [x8, _vid_regs_fp@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_write_regs_fp
	cbz	w23, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _vid_regs_fp_pal@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vid_regs_fp_pal@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_write_regs_fp
	b	LBB0_3
LBB0_2:
	orr	w22, w22, #0x1
LBB0_3:
	mov	x0, x21
	mov	w1, #32
	mov	x2, x22
	bl	_write_reg_fp
	str	w19, [x20, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.comm	_vid_regs_fp,4,2                ; @vid_regs_fp
	.comm	_vid_regs_fp_pal,4,2            ; @vid_regs_fp_pal
	.no_dead_strip	_s2250_s_std
.subsections_via_symbols
