	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_av_s_sliced_fmt           ## -- Begin function cx18_av_s_sliced_fmt
	.p2align	4, 0x90
_cx18_av_s_sliced_fmt:                  ## @cx18_av_s_sliced_fmt
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_v4l2_get_subdevdata
	movq	%rax, %r13
	movq	_V4L2_STD_525_60@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%r13), %r15d
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	%r13, %rdi
	callq	_cx18_av_std_setup
	movq	%r13, %rdi
	movl	$1028, %esi                     ## imm = 0x404
	movl	$50, %edx
	callq	_cx18_av_write
	movq	%r13, %rdi
	movl	$1030, %esi                     ## imm = 0x406
	movl	$19, %edx
	callq	_cx18_av_write
	movl	4(%r13), %edx
	movq	%r13, %rdi
	movl	$1151, %esi                     ## imm = 0x47F
	callq	_cx18_av_write
	movq	(%r14), %rcx
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movl	$0, (%rcx)
	movl	$0, (%rax)
	movl	$0, 4(%rcx)
	movl	$0, 4(%rax)
	movl	$0, 8(%rcx)
	movl	$0, 8(%rax)
	movl	$0, 12(%rcx)
	movl	$0, 12(%rax)
	movl	$0, 16(%rcx)
	movl	$0, 16(%rax)
	movl	$0, 20(%rcx)
	movl	$0, 20(%rax)
	movl	$0, 24(%rcx)
	movl	$0, 24(%rax)
	andl	%r12d, %r15d
	je	LBB0_2
## %bb.1:
	movl	$0, 28(%rcx)
	movl	$0, 28(%rax)
	movl	$0, 32(%rcx)
	movl	$0, 32(%rax)
	movl	$0, 36(%rcx)
	movl	$0, 36(%rax)
	movl	$0, 88(%rcx)
	movl	$0, 88(%rax)
	movl	$0, 92(%rcx)
	movl	$0, 92(%rax)
LBB0_2:
	movl	$7, %edx
	leaq	L_switch.table.cx18_av_s_sliced_fmt(%rip), %rsi
	leaq	L_switch.table.cx18_av_s_sliced_fmt.1(%rip), %rdi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	$24, %rdx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdx,4), %ebx
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rbx
	movl	(%rsi,%rbx,4), %ebx
	orl	%ebx, -144(%rbp,%rdx,4)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax,%rdx,4), %ebx
	addl	$-128, %ebx
	cmpl	$3, %ebx
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rbx
	movl	(%rdi,%rbx,4), %ebx
	orl	%ebx, -144(%rbp,%rdx,4)
	jmp	LBB0_7
LBB0_8:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.9:
	movl	-104(%rbp), %edx
	movq	%r13, %rdi
	movl	$1060, %esi                     ## imm = 0x424
	callq	_cx18_av_write
	movl	-100(%rbp), %edx
	movq	%r13, %rdi
	movl	$1061, %esi                     ## imm = 0x425
	callq	_cx18_av_write
	movl	-96(%rbp), %edx
	movq	%r13, %rdi
	movl	$1062, %esi                     ## imm = 0x426
	callq	_cx18_av_write
	movl	-92(%rbp), %edx
	movq	%r13, %rdi
	movl	$1063, %esi                     ## imm = 0x427
	callq	_cx18_av_write
	movl	-88(%rbp), %edx
	movq	%r13, %rdi
	movl	$1064, %esi                     ## imm = 0x428
	callq	_cx18_av_write
	movl	-84(%rbp), %edx
	movq	%r13, %rdi
	movl	$1065, %esi                     ## imm = 0x429
	callq	_cx18_av_write
	movl	-80(%rbp), %edx
	movq	%r13, %rdi
	movl	$1066, %esi                     ## imm = 0x42A
	callq	_cx18_av_write
	movl	-76(%rbp), %edx
	movq	%r13, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	callq	_cx18_av_write
	movl	-72(%rbp), %edx
	movq	%r13, %rdi
	movl	$1068, %esi                     ## imm = 0x42C
	callq	_cx18_av_write
	movl	-68(%rbp), %edx
	movq	%r13, %rdi
	movl	$1069, %esi                     ## imm = 0x42D
	callq	_cx18_av_write
	movl	-64(%rbp), %edx
	movq	%r13, %rdi
	movl	$1070, %esi                     ## imm = 0x42E
	callq	_cx18_av_write
	movl	-60(%rbp), %edx
	movq	%r13, %rdi
	movl	$1071, %esi                     ## imm = 0x42F
	callq	_cx18_av_write
	movl	-56(%rbp), %edx
	movq	%r13, %rdi
	movl	$1072, %esi                     ## imm = 0x430
	callq	_cx18_av_write
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	movl	$1073, %esi                     ## imm = 0x431
	xorl	%edx, %edx
	callq	_cx18_av_write
	movq	%r13, %rdi
	movl	$1074, %esi                     ## imm = 0x432
	xorl	%edx, %edx
	callq	_cx18_av_write
	movq	%r13, %rdi
	movl	$1075, %esi                     ## imm = 0x433
	xorl	%edx, %edx
	callq	_cx18_av_write
	movl	$26, %r15d
	jmp	LBB0_11
LBB0_10:
	movl	-116(%rbp), %edx
	movq	%r13, %rdi
	movl	$1060, %esi                     ## imm = 0x424
	callq	_cx18_av_write
	movl	-112(%rbp), %edx
	movq	%r13, %rdi
	movl	$1061, %esi                     ## imm = 0x425
	callq	_cx18_av_write
	movl	-108(%rbp), %edx
	movq	%r13, %rdi
	movl	$1062, %esi                     ## imm = 0x426
	callq	_cx18_av_write
	movl	-104(%rbp), %edx
	movq	%r13, %rdi
	movl	$1063, %esi                     ## imm = 0x427
	callq	_cx18_av_write
	movl	-100(%rbp), %edx
	movq	%r13, %rdi
	movl	$1064, %esi                     ## imm = 0x428
	callq	_cx18_av_write
	movl	-96(%rbp), %edx
	movq	%r13, %rdi
	movl	$1065, %esi                     ## imm = 0x429
	callq	_cx18_av_write
	movl	-92(%rbp), %edx
	movq	%r13, %rdi
	movl	$1066, %esi                     ## imm = 0x42A
	callq	_cx18_av_write
	movl	-88(%rbp), %edx
	movq	%r13, %rdi
	movl	$1067, %esi                     ## imm = 0x42B
	callq	_cx18_av_write
	movl	-84(%rbp), %edx
	movq	%r13, %rdi
	movl	$1068, %esi                     ## imm = 0x42C
	callq	_cx18_av_write
	movl	-80(%rbp), %edx
	movq	%r13, %rdi
	movl	$1069, %esi                     ## imm = 0x42D
	callq	_cx18_av_write
	movl	-76(%rbp), %edx
	movq	%r13, %rdi
	movl	$1070, %esi                     ## imm = 0x42E
	callq	_cx18_av_write
	movl	-72(%rbp), %edx
	movq	%r13, %rdi
	movl	$1071, %esi                     ## imm = 0x42F
	callq	_cx18_av_write
	movl	-68(%rbp), %edx
	movq	%r13, %rdi
	movl	$1072, %esi                     ## imm = 0x430
	callq	_cx18_av_write
	movl	-64(%rbp), %edx
	movq	%r13, %rdi
	movl	$1073, %esi                     ## imm = 0x431
	callq	_cx18_av_write
	movl	-60(%rbp), %edx
	movq	%r13, %rdi
	movl	$1074, %esi                     ## imm = 0x432
	callq	_cx18_av_write
	movl	-56(%rbp), %edx
	movq	%r13, %rdi
	movl	$1075, %esi                     ## imm = 0x433
	callq	_cx18_av_write
	movl	$38, %r15d
	movl	-52(%rbp), %r14d
LBB0_11:
	movq	%r13, %rdi
	movl	$1076, %esi                     ## imm = 0x434
	movl	%r14d, %edx
	callq	_cx18_av_write
	movq	%r13, %rdi
	movl	$1084, %esi                     ## imm = 0x43C
	movl	$22, %edx
	callq	_cx18_av_write
	movq	%r13, %rdi
	movl	$1140, %esi                     ## imm = 0x474
	movl	%r15d, %edx
	callq	_cx18_av_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_525_60,4,2            ## @V4L2_STD_525_60
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.cx18_av_s_sliced_fmt
L_switch.table.cx18_av_s_sliced_fmt:
	.long	4                               ## 0x4
	.long	9                               ## 0x9
	.long	1                               ## 0x1
	.long	6                               ## 0x6

	.p2align	2                               ## @switch.table.cx18_av_s_sliced_fmt.1
L_switch.table.cx18_av_s_sliced_fmt.1:
	.long	64                              ## 0x40
	.long	144                             ## 0x90
	.long	16                              ## 0x10
	.long	96                              ## 0x60

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx18_av_s_sliced_fmt           ; -- Begin function cx18_av_s_sliced_fmt
	.p2align	2
_cx18_av_s_sliced_fmt:                  ; @cx18_av_s_sliced_fmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	bl	_v4l2_get_subdevdata
	mov	x19, x0
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _V4L2_STD_525_60@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_STD_525_60@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w21, w9, w8
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	bl	_cx18_av_std_setup
	mov	x0, x19
	mov	w1, #1028
	mov	w2, #50
	bl	_cx18_av_write
	mov	x0, x19
	mov	w1, #1030
	mov	w2, #19
	bl	_cx18_av_write
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	w1, #1151
	bl	_cx18_av_write
	ldr	x9, [x20]
	ldp	x9, x8, [x9]
	str	wzr, [x8]
	str	wzr, [x9]
	str	wzr, [x8, #4]
	str	wzr, [x9, #4]
	str	wzr, [x8, #8]
	str	wzr, [x9, #8]
	str	wzr, [x8, #12]
	str	wzr, [x9, #12]
	str	wzr, [x8, #16]
	str	wzr, [x9, #16]
	str	wzr, [x8, #20]
	str	wzr, [x9, #20]
	str	wzr, [x8, #24]
	str	wzr, [x9, #24]
	cbz	w21, LBB0_2
; %bb.1:
	str	wzr, [x8, #28]
	str	wzr, [x9, #28]
	str	wzr, [x8, #32]
	str	wzr, [x9, #32]
	str	wzr, [x8, #36]
	str	wzr, [x9, #36]
	str	wzr, [x8, #88]
	str	wzr, [x9, #88]
	str	wzr, [x8, #92]
	str	wzr, [x9, #92]
LBB0_2:
	mov	w10, #28
Lloh6:
	adrp	x11, l_switch.table.cx18_av_s_sliced_fmt@PAGE
Lloh7:
	add	x11, x11, l_switch.table.cx18_av_s_sliced_fmt@PAGEOFF
	mov	x12, sp
Lloh8:
	adrp	x13, l_switch.table.cx18_av_s_sliced_fmt.1@PAGE
Lloh9:
	add	x13, x13, l_switch.table.cx18_av_s_sliced_fmt.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #4
	cmp	x10, #96
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w14, [x8, x10]
	sub	w14, w14, #128
	cmp	w14, #3
	b.hi	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x11, w14, sxtw #2]
	ldr	w15, [x12, x10]
	orr	w14, w15, w14
	str	w14, [x12, x10]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x9, x10]
	sub	w14, w14, #128
	cmp	w14, #3
	b.hi	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x13, w14, sxtw #2]
	ldr	w15, [x12, x10]
	orr	w14, w15, w14
	str	w14, [x12, x10]
	b	LBB0_3
LBB0_8:
	cbz	w21, LBB0_10
; %bb.9:
	ldr	w2, [sp, #40]
	mov	x0, x19
	mov	w1, #1060
	bl	_cx18_av_write
	ldr	w2, [sp, #44]
	mov	x0, x19
	mov	w1, #1061
	bl	_cx18_av_write
	ldr	w2, [sp, #48]
	mov	x0, x19
	mov	w1, #1062
	bl	_cx18_av_write
	ldr	w2, [sp, #52]
	mov	x0, x19
	mov	w1, #1063
	bl	_cx18_av_write
	ldr	w2, [sp, #56]
	mov	x0, x19
	mov	w1, #1064
	bl	_cx18_av_write
	ldr	w2, [sp, #60]
	mov	x0, x19
	mov	w1, #1065
	bl	_cx18_av_write
	ldr	w2, [sp, #64]
	mov	x0, x19
	mov	w1, #1066
	bl	_cx18_av_write
	ldr	w2, [sp, #68]
	mov	x0, x19
	mov	w1, #1067
	bl	_cx18_av_write
	ldr	w2, [sp, #72]
	mov	x0, x19
	mov	w1, #1068
	bl	_cx18_av_write
	ldr	w2, [sp, #76]
	mov	x0, x19
	mov	w1, #1069
	bl	_cx18_av_write
	ldr	w2, [sp, #80]
	mov	x0, x19
	mov	w1, #1070
	bl	_cx18_av_write
	ldr	w2, [sp, #84]
	mov	x0, x19
	mov	w1, #1071
	bl	_cx18_av_write
	ldr	w2, [sp, #88]
	mov	x0, x19
	mov	w1, #1072
	bl	_cx18_av_write
	mov	x0, x19
	mov	w1, #1073
	mov	w2, #0
	bl	_cx18_av_write
	mov	x0, x19
	mov	w1, #1074
	mov	w2, #0
	bl	_cx18_av_write
	mov	x0, x19
	mov	w1, #1075
	mov	w2, #0
	bl	_cx18_av_write
	mov	w2, #0
	mov	w20, #26
	b	LBB0_11
LBB0_10:
	ldr	w2, [sp, #28]
	mov	x0, x19
	mov	w1, #1060
	bl	_cx18_av_write
	ldr	w2, [sp, #32]
	mov	x0, x19
	mov	w1, #1061
	bl	_cx18_av_write
	ldr	w2, [sp, #36]
	mov	x0, x19
	mov	w1, #1062
	bl	_cx18_av_write
	ldr	w2, [sp, #40]
	mov	x0, x19
	mov	w1, #1063
	bl	_cx18_av_write
	ldr	w2, [sp, #44]
	mov	x0, x19
	mov	w1, #1064
	bl	_cx18_av_write
	ldr	w2, [sp, #48]
	mov	x0, x19
	mov	w1, #1065
	bl	_cx18_av_write
	ldr	w2, [sp, #52]
	mov	x0, x19
	mov	w1, #1066
	bl	_cx18_av_write
	ldr	w2, [sp, #56]
	mov	x0, x19
	mov	w1, #1067
	bl	_cx18_av_write
	ldr	w2, [sp, #60]
	mov	x0, x19
	mov	w1, #1068
	bl	_cx18_av_write
	ldr	w2, [sp, #64]
	mov	x0, x19
	mov	w1, #1069
	bl	_cx18_av_write
	ldr	w2, [sp, #68]
	mov	x0, x19
	mov	w1, #1070
	bl	_cx18_av_write
	ldr	w2, [sp, #72]
	mov	x0, x19
	mov	w1, #1071
	bl	_cx18_av_write
	ldr	w2, [sp, #76]
	mov	x0, x19
	mov	w1, #1072
	bl	_cx18_av_write
	ldr	w2, [sp, #80]
	mov	x0, x19
	mov	w1, #1073
	bl	_cx18_av_write
	ldr	w2, [sp, #84]
	mov	x0, x19
	mov	w1, #1074
	bl	_cx18_av_write
	ldr	w2, [sp, #88]
	mov	x0, x19
	mov	w1, #1075
	bl	_cx18_av_write
	mov	w20, #38
	ldr	w2, [sp, #92]
LBB0_11:
	mov	x0, x19
	mov	w1, #1076
	bl	_cx18_av_write
	mov	x0, x19
	mov	w1, #1084
	mov	w2, #22
	bl	_cx18_av_write
	mov	x0, x19
	mov	w1, #1140
	mov	x2, x20
	bl	_cx18_av_write
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_525_60,4,2            ; @V4L2_STD_525_60
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.cx18_av_s_sliced_fmt
l_switch.table.cx18_av_s_sliced_fmt:
	.long	4                               ; 0x4
	.long	9                               ; 0x9
	.long	1                               ; 0x1
	.long	6                               ; 0x6

	.p2align	2                               ; @switch.table.cx18_av_s_sliced_fmt.1
l_switch.table.cx18_av_s_sliced_fmt.1:
	.long	64                              ; 0x40
	.long	144                             ; 0x90
	.long	16                              ; 0x10
	.long	96                              ; 0x60

.subsections_via_symbols
