	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_streamon
_vidioc_streamon:                       ## @vidioc_streamon
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_q_data
	movq	%rax, %rbx
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_q_data
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	8(%rax), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_1
## %bb.2:
	movl	(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_9
## %bb.3:
	cmpl	$129, %ecx
	jne	LBB0_13
## %bb.4:
	movl	(%rax), %ecx
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_12
## %bb.5:
	movq	_V4L2_FIELD_INTERLACED_BT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_12
## %bb.6:
	movq	8(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$129, %edx
	jmp	LBB0_7
LBB0_1:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_v4l2_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_9:
	movl	(%rax), %ecx
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_12
## %bb.10:
	movq	_V4L2_FIELD_INTERLACED_TB@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	je	LBB0_12
## %bb.11:
	movq	8(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$128, %edx
LBB0_7:
	xorl	%eax, %eax
	callq	_v4l2_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_m2m_streamon              ## TAILCALL
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_14:
	subl	(%rax), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ## @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"src and dst formats don't match.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_V4L2_FIELD_INTERLACED_BT,4,2   ## @V4L2_FIELD_INTERLACED_BT
L_.str.1:                               ## @.str.1
	.asciz	"src and dst field conversion [(%d)->(%d)] not supported.\n"

	.comm	_V4L2_FIELD_INTERLACED_TB,4,2   ## @V4L2_FIELD_INTERLACED_TB
	.no_dead_strip	_vidioc_streamon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_streamon
_vidioc_streamon:                       ; @vidioc_streamon
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_OUTPUT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_q_data
	mov	x22, x0
Lloh3:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_get_q_data
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_11
; %bb.3:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _V4L2_FIELD_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _V4L2_FIELD_INTERLACED_BT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _V4L2_FIELD_INTERLACED_BT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_7
; %bb.4:
	ldr	x0, [x20, #8]
	mov	w9, #129
	b	LBB0_9
LBB0_5:
	ldr	x0, [x20, #8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_6:
	ldr	w8, [x0]
Lloh14:
	adrp	x9, _V4L2_FIELD_NONE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _V4L2_FIELD_INTERLACED_TB@GOTPAGE
Lloh18:
	ldr	x10, [x10, _V4L2_FIELD_INTERLACED_TB@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_8
LBB0_7:
	ldr	w1, [x20]
	mov	x0, x21
	mov	x2, x19
	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
	b	_v4l2_m2m_streamon
LBB0_8:
	ldr	x0, [x20, #8]
	mov	w9, #128
LBB0_9:
	stp	x9, x8, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	bl	_v4l2_err
LBB0_11:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_OUTPUT,4,2 ; @V4L2_BUF_TYPE_VIDEO_OUTPUT
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"src and dst formats don't match.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_V4L2_FIELD_INTERLACED_BT,4,2   ; @V4L2_FIELD_INTERLACED_BT
l_.str.1:                               ; @.str.1
	.asciz	"src and dst field conversion [(%d)->(%d)] not supported.\n"

	.comm	_V4L2_FIELD_INTERLACED_TB,4,2   ; @V4L2_FIELD_INTERLACED_TB
	.no_dead_strip	_vidioc_streamon
.subsections_via_symbols
