	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpia2_do_ioctl
_cpia2_do_ioctl:                        ## @cpia2_do_ioctl
	.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, %r15
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_video_drvdata
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mutex_lock_interruptible
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOTTY@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subq	(%rax), %r12
LBB0_62:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, 28(%r14)
	je	LBB0_6
## %bb.7:
	leal	-177(%r13), %eax
	cmpl	$13, %eax
	ja	LBB0_8
## %bb.63:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movq	_V4L2_PRIORITY_RECORD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	cmpl	$138, %r13d
	jne	LBB0_13
LBB0_9:
	movq	(%rbx), %rsi
	leaq	16(%r14), %rdi
	callq	_v4l2_prio_check
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_13:
	leal	-128(%r13), %eax
	cmpl	$69, %eax
	ja	LBB0_59
## %bb.14:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_58:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_60:
	xorl	%r12d, %r12d
	subq	(%rax), %r12
LBB0_61:
	movq	%r14, %rdi
	callq	_mutex_unlock
	jmp	LBB0_62
LBB0_28:
	movl	%r13d, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ioctl_input
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_59:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_30:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_try_fmt
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_41:
	movq	(%rbx), %r12
	movl	(%r15), %ebx
	cmpl	$0, 4(%r14)
	je	LBB0_42
## %bb.47:
	movl	(%r12), %ecx
	movq	_V4L2_PRIORITY_RECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ecx, %ebx
	je	LBB0_43
## %bb.48:
	cmpl	%eax, %ecx
	je	LBB0_49
	jmp	LBB0_43
LBB0_39:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_s_jpegcomp
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_32:
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_set_fmt
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_37:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_s_ctrl
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_54:
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	cmpl	$0, 4(%r14)
	jne	LBB0_58
## %bb.55:
	movl	12(%r14), %esi
	movq	%r14, %rdi
	callq	_cpia2_usb_stream_start
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_56:
	movl	4(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_DBG
	cmpl	$0, 4(%r14)
	je	LBB0_58
## %bb.57:
	movq	%r14, %rdi
	callq	_cpia2_usb_stream_stop
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_50:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_reqbufs
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_35:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_querymenu
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_34:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_queryctrl
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_27:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_querycap
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_51:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_querybuf
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_52:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_qbuf
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_40:
	movq	(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	xorl	%r12d, %r12d
	jmp	LBB0_61
LBB0_38:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_g_jpegcomp
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_31:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_get_fmt
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_36:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_g_ctrl
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_29:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_enum_fmt
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_53:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_ioctl_dqbuf
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_33:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_cropcap
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_25:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_sync
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_22:
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_set_window_size
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_20:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_set_image_prop
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_17:
	movq	%r15, %rdi
	callq	_ioctl_set_channel
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_24:
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_mcapture
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_21:
	movq	%r14, %rsi
	addq	$20, %rsi
	jmp	LBB0_19
LBB0_18:
	movq	%r14, %rsi
	addq	$24, %rsi
LBB0_19:
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcpy
	xorl	%r12d, %r12d
	jmp	LBB0_61
LBB0_23:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_get_mbuf
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_16:
	movq	%r15, %rdi
	callq	_ioctl_get_channel
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_15:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_cap_query
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_26:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ioctl_set_gpio
	movq	%rax, %r12
	jmp	LBB0_61
LBB0_42:
	movq	_V4L2_PRIORITY_RECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_43:
	cmpl	%eax, %ebx
	jne	LBB0_46
## %bb.44:
	cmpl	(%r12), %ebx
	je	LBB0_46
## %bb.45:
	leaq	16(%r14), %rdi
	callq	_v4l2_prio_max
	movq	_V4L2_PRIORITY_RECORD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_46
LBB0_49:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_60
LBB0_46:
	movq	%r14, %rdi
	addq	$16, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_v4l2_prio_change
	movq	%rax, %r12
	jmp	LBB0_61
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_11
.set L0_1_set_30, LBB0_30-LJTI0_1
.set L0_1_set_58, LBB0_58-LJTI0_1
.set L0_1_set_41, LBB0_41-LJTI0_1
.set L0_1_set_39, LBB0_39-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_32, LBB0_32-LJTI0_1
.set L0_1_set_37, LBB0_37-LJTI0_1
.set L0_1_set_54, LBB0_54-LJTI0_1
.set L0_1_set_56, LBB0_56-LJTI0_1
.set L0_1_set_50, LBB0_50-LJTI0_1
.set L0_1_set_35, LBB0_35-LJTI0_1
.set L0_1_set_34, LBB0_34-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_51, LBB0_51-LJTI0_1
.set L0_1_set_52, LBB0_52-LJTI0_1
.set L0_1_set_40, LBB0_40-LJTI0_1
.set L0_1_set_38, LBB0_38-LJTI0_1
.set L0_1_set_31, LBB0_31-LJTI0_1
.set L0_1_set_36, LBB0_36-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
.set L0_1_set_53, LBB0_53-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
LJTI0_1:
	.long	L0_1_set_30
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_41
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_39
	.long	L0_1_set_28
	.long	L0_1_set_58
	.long	L0_1_set_32
	.long	L0_1_set_58
	.long	L0_1_set_37
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_54
	.long	L0_1_set_56
	.long	L0_1_set_50
	.long	L0_1_set_58
	.long	L0_1_set_35
	.long	L0_1_set_34
	.long	L0_1_set_27
	.long	L0_1_set_51
	.long	L0_1_set_52
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_40
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_38
	.long	L0_1_set_28
	.long	L0_1_set_58
	.long	L0_1_set_31
	.long	L0_1_set_58
	.long	L0_1_set_36
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_29
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_28
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_53
	.long	L0_1_set_33
	.long	L0_1_set_25
	.long	L0_1_set_22
	.long	L0_1_set_58
	.long	L0_1_set_20
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_17
	.long	L0_1_set_58
	.long	L0_1_set_24
	.long	L0_1_set_58
	.long	L0_1_set_21
	.long	L0_1_set_58
	.long	L0_1_set_18
	.long	L0_1_set_23
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_16
	.long	L0_1_set_15
	.long	L0_1_set_58
	.long	L0_1_set_58
	.long	L0_1_set_26
	.end_data_region
                                        ## -- End function
	.comm	_ENOTTY,8,3                     ## @ENOTTY
	.comm	_ERESTARTSYS,8,3                ## @ERESTARTSYS
	.comm	_ENODEV,8,3                     ## @ENODEV
	.comm	_V4L2_PRIORITY_RECORD,4,2       ## @V4L2_PRIORITY_RECORD
	.comm	_EBUSY,8,3                      ## @EBUSY
	.comm	_EINVAL,8,3                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIDIOC_STREAMON, streaming=%d\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
L_.str.1:                               ## @.str.1
	.asciz	"VIDIOC_STREAMOFF, streaming=%d\n"

	.comm	_ENOIOCTLCMD,8,3                ## @ENOIOCTLCMD
	.no_dead_strip	_cpia2_do_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpia2_do_ioctl
_cpia2_do_ioctl:                        ; @cpia2_do_ioctl
	.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	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_video_drvdata
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_mutex_lock_interruptible
	cbz	x0, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	neg	x20, x8
LBB0_5:
	mov	x0, x20
	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
LBB0_6:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_11
; %bb.7:
	sub	w8, w23, #177
	cmp	w8, #13
	b.hi	LBB0_12
; %bb.8:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	ldr	x8, [x22]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _V4L2_PRIORITY_RECORD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _V4L2_PRIORITY_RECORD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_15
; %bb.10:
	mov	x0, x19
	bl	_mutex_unlock
Lloh9:
	adrp	x8, _EBUSY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_11:
	mov	x0, x19
	bl	_mutex_unlock
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_4
LBB0_12:
	cmp	w23, #138
	b.ne	LBB0_15
LBB0_13:
	ldr	x1, [x22]
	add	x0, x19, #16
	bl	_v4l2_prio_check
	cbz	x0, LBB0_15
; %bb.14:
	mov	x20, x0
	b	LBB0_19
LBB0_15:
	sub	w8, w23, #128
	cmp	w8, #69
	b.hi	LBB0_21
; %bb.16:
Lloh13:
	adrp	x9, lJTI0_1@PAGE
Lloh14:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_18:
	ldr	x8, [x8]
	neg	x20, x8
LBB0_19:
	mov	x0, x19
	bl	_mutex_unlock
	b	LBB0_5
LBB0_20:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x19
	bl	_ioctl_input
	mov	x20, x0
	b	LBB0_19
LBB0_21:
Lloh17:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
	b	LBB0_18
LBB0_22:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_try_fmt
	mov	x20, x0
	b	LBB0_19
LBB0_23:
	ldr	x20, [x22]
	ldr	w21, [x21]
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_58
; %bb.24:
	ldr	w9, [x20]
Lloh19:
	adrp	x8, _V4L2_PRIORITY_RECORD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _V4L2_PRIORITY_RECORD@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w21, w9
	b.eq	LBB0_59
; %bb.25:
	cmp	w9, w8
	b.eq	LBB0_62
	b	LBB0_59
LBB0_26:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_s_jpegcomp
	mov	x20, x0
	b	LBB0_19
LBB0_27:
	ldr	x2, [x22]
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_set_fmt
	mov	x20, x0
	b	LBB0_19
LBB0_28:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_s_ctrl
	mov	x20, x0
	b	LBB0_19
LBB0_29:
	ldr	w1, [x19, #4]
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_17
; %bb.30:
	ldr	w1, [x19, #12]
	mov	x0, x19
	bl	_cpia2_usb_stream_start
	mov	x20, x0
	b	LBB0_19
LBB0_31:
	ldr	w1, [x19, #4]
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DBG
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_17
; %bb.32:
	mov	x0, x19
	bl	_cpia2_usb_stream_stop
	mov	x20, x0
	b	LBB0_19
LBB0_33:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_reqbufs
	mov	x20, x0
	b	LBB0_19
LBB0_34:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_querymenu
	mov	x20, x0
	b	LBB0_19
LBB0_35:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_queryctrl
	mov	x20, x0
	b	LBB0_19
LBB0_36:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_querycap
	mov	x20, x0
	b	LBB0_19
LBB0_37:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_querybuf
	mov	x20, x0
	b	LBB0_19
LBB0_38:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_qbuf
	mov	x20, x0
	b	LBB0_19
LBB0_39:
	mov	x20, #0
	ldr	x8, [x22]
	ldr	w8, [x8]
	str	w8, [x21]
	b	LBB0_19
LBB0_40:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_g_jpegcomp
	mov	x20, x0
	b	LBB0_19
LBB0_41:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_get_fmt
	mov	x20, x0
	b	LBB0_19
LBB0_42:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_g_ctrl
	mov	x20, x0
	b	LBB0_19
LBB0_43:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_enum_fmt
	mov	x20, x0
	b	LBB0_19
LBB0_44:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_ioctl_dqbuf
	mov	x20, x0
	b	LBB0_19
LBB0_45:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_cropcap
	mov	x20, x0
	b	LBB0_19
LBB0_46:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_sync
	mov	x20, x0
	b	LBB0_19
LBB0_47:
	ldr	x2, [x22]
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_set_window_size
	mov	x20, x0
	b	LBB0_19
LBB0_48:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_set_image_prop
	mov	x20, x0
	b	LBB0_19
LBB0_49:
	mov	x0, x21
	bl	_ioctl_set_channel
	mov	x20, x0
	b	LBB0_19
LBB0_50:
	ldr	x2, [x22]
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_mcapture
	mov	x20, x0
	b	LBB0_19
LBB0_51:
	add	x1, x19, #20
	b	LBB0_53
LBB0_52:
	add	x1, x19, #24
LBB0_53:
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	mov	x20, #0
	b	LBB0_19
LBB0_54:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_get_mbuf
	mov	x20, x0
	b	LBB0_19
LBB0_55:
	mov	x0, x21
	bl	_ioctl_get_channel
	mov	x20, x0
	b	LBB0_19
LBB0_56:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_cap_query
	mov	x20, x0
	b	LBB0_19
LBB0_57:
	mov	x0, x21
	mov	x1, x19
	bl	_ioctl_set_gpio
	mov	x20, x0
	b	LBB0_19
LBB0_58:
Lloh26:
	adrp	x8, _V4L2_PRIORITY_RECORD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _V4L2_PRIORITY_RECORD@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
LBB0_59:
	cmp	w21, w8
	b.ne	LBB0_63
; %bb.60:
	ldr	w8, [x20]
	cmp	w21, w8
	b.eq	LBB0_63
; %bb.61:
	add	x0, x19, #16
	bl	_v4l2_prio_max
Lloh29:
	adrp	x8, _V4L2_PRIORITY_RECORD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _V4L2_PRIORITY_RECORD@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_63
LBB0_62:
Lloh32:
	adrp	x8, _EBUSY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_18
LBB0_63:
	add	x0, x19, #16
	mov	x1, x20
	mov	x2, x21
	bl	_v4l2_prio_change
	mov	x20, x0
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
lJTI0_1:
	.byte	(LBB0_22-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_23-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_26-LBB0_17)>>2
	.byte	(LBB0_20-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_27-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_28-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_29-LBB0_17)>>2
	.byte	(LBB0_31-LBB0_17)>>2
	.byte	(LBB0_33-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_34-LBB0_17)>>2
	.byte	(LBB0_35-LBB0_17)>>2
	.byte	(LBB0_36-LBB0_17)>>2
	.byte	(LBB0_37-LBB0_17)>>2
	.byte	(LBB0_38-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_39-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_40-LBB0_17)>>2
	.byte	(LBB0_20-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_41-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_42-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_43-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_20-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_44-LBB0_17)>>2
	.byte	(LBB0_45-LBB0_17)>>2
	.byte	(LBB0_46-LBB0_17)>>2
	.byte	(LBB0_47-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_48-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_49-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_50-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_51-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_52-LBB0_17)>>2
	.byte	(LBB0_54-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_55-LBB0_17)>>2
	.byte	(LBB0_56-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_57-LBB0_17)>>2
                                        ; -- End function
	.comm	_ENOTTY,8,3                     ; @ENOTTY
	.comm	_ERESTARTSYS,8,3                ; @ERESTARTSYS
	.comm	_ENODEV,8,3                     ; @ENODEV
	.comm	_V4L2_PRIORITY_RECORD,4,2       ; @V4L2_PRIORITY_RECORD
	.comm	_EBUSY,8,3                      ; @EBUSY
	.comm	_EINVAL,8,3                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIDIOC_STREAMON, streaming=%d\n"

	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
l_.str.1:                               ; @.str.1
	.asciz	"VIDIOC_STREAMOFF, streaming=%d\n"

	.comm	_ENOIOCTLCMD,8,3                ; @ENOIOCTLCMD
	.no_dead_strip	_cpia2_do_ioctl
.subsections_via_symbols
