	.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	%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
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_check_dev
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	(%r13), %eax
	movl	%eax, (%rbx)
	movl	20(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_vidioc_try_fmt_vid_cap
	movl	-44(%rbp), %esi
	movl	%esi, 20(%rbx)
	movl	-48(%rbp), %edx
	movl	%edx, 16(%rbx)
	leaq	12(%rbx), %rcx
	leaq	8(%rbx), %r8
	movq	%rbx, %rdi
	callq	_get_scale
	movq	%rbx, %rdi
	callq	_em28xx_resolution_set
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_s_std@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%rbx), %r8d
	addq	$4, %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_v4l2_device_call_all
	jmp	LBB0_3
LBB0_1:
	movl	%eax, %r12d
LBB0_3:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_core,4,2                       ## @core
	.comm	_s_std,4,2                      ## @s_std
	.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	w8, [x22]
	str	w8, [x19]
	ldr	d0, [x19, #16]
	str	d0, [sp, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_vidioc_try_fmt_vid_cap
	ldp	w2, w1, [sp, #8]
	stp	w2, w1, [x19, #16]
	add	x3, x19, #12
	add	x4, x19, #8
	mov	x0, x19
	bl	_get_scale
	mov	x0, x19
	bl	_em28xx_resolution_set
Lloh0:
	adrp	x8, _core@GOTPAGE
Lloh1:
	ldr	x8, [x8, _core@GOTPAGEOFF]
	add	x0, x19, #4
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _s_std@GOTPAGE
Lloh4:
	ldr	x8, [x8, _s_std@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	w4, [x19]
	mov	w1, #0
	bl	_v4l2_device_call_all
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_core,4,2                       ; @core
	.comm	_s_std,4,2                      ; @s_std
	.no_dead_strip	_vidioc_s_std
.subsections_via_symbols
