	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_std
_vidioc_s_std:                          ## @vidioc_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_check_dev
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_cx231xx_info
	movq	(%r14), %rax
	movq	%rax, 8(%rbx)
	movl	4(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %r14
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_vidioc_try_fmt_vid_cap
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_std@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%rbx), %rcx
	movq	%rbx, %rdi
	callq	_call_all
	movq	_V4L2_MBUS_FMT_FIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_v4l2_fill_mbus_format
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_mbus_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r15, %rcx
	callq	_call_all
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_v4l2_fill_pix_format
	movl	-36(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	-40(%rbp), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_cx231xx_do_mode_ctrl_overrides
	xorl	%eax, %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vidioc_s_std : 0x%x\n"

	.comm	_core,4,2                       ## @core
	.comm	_s_std,4,2                      ## @s_std
	.comm	_V4L2_MBUS_FMT_FIXED,4,2        ## @V4L2_MBUS_FMT_FIXED
	.comm	_video,4,2                      ## @video
	.comm	_s_mbus_fmt,4,2                 ## @s_mbus_fmt
	.no_dead_strip	_vidioc_s_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_std
_vidioc_s_std:                          ; @vidioc_s_std
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x1]
	mov	x0, x19
	bl	_check_dev
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w1, [x22]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_cx231xx_info
	ldr	x8, [x22]
	str	x8, [x19, #8]
	ldr	d0, [x19]
	str	d0, [sp]
	mov	x2, sp
	mov	x0, x21
	mov	x1, x20
	bl	_vidioc_try_fmt_vid_cap
Lloh2:
	adrp	x8, _core@GOTPAGE
Lloh3:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _s_std@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_std@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	x3, [x19, #8]
	mov	x0, x19
	bl	_call_all
Lloh8:
	adrp	x8, _V4L2_MBUS_FMT_FIXED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_MBUS_FMT_FIXED@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, sp
	bl	_v4l2_fill_mbus_format
Lloh11:
	adrp	x8, _video@GOTPAGE
Lloh12:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _s_mbus_fmt@GOTPAGE
Lloh15:
	ldr	x8, [x8, _s_mbus_fmt@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_call_all
	mov	x0, sp
	add	x1, sp, #8
	bl	_v4l2_fill_pix_format
	ldr	d0, [sp]
	str	d0, [x19]
	mov	x0, x19
	bl	_cx231xx_do_mode_ctrl_overrides
	mov	w0, #0
LBB0_2:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vidioc_s_std : 0x%x\n"

	.comm	_core,4,2                       ; @core
	.comm	_s_std,4,2                      ; @s_std
	.comm	_V4L2_MBUS_FMT_FIXED,4,2        ; @V4L2_MBUS_FMT_FIXED
	.comm	_video,4,2                      ; @video
	.comm	_s_mbus_fmt,4,2                 ; @s_mbus_fmt
	.no_dead_strip	_vidioc_s_std
.subsections_via_symbols
