	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ipu_ch_param_set_size
LCPI0_0:
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	7                               ## 0x7
	.long	2                               ## 0x2
LCPI0_1:
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.long	7                               ## 0x7
	.long	2                               ## 0x2
LCPI0_2:
	.long	2                               ## 0x2
	.long	6                               ## 0x6
	.long	7                               ## 0x7
	.long	2                               ## 0x2
LCPI0_3:
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	7                               ## 0x7
	.long	2                               ## 0x2
LCPI0_4:
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	24                              ## 0x18
	.long	0                               ## 0x0
LCPI0_5:
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.long	7                               ## 0x7
LCPI0_6:
	.long	24                              ## 0x18
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	0                               ## 0x0
LCPI0_7:
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.long	7                               ## 0x7
	.long	2                               ## 0x2
LCPI0_8:
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	24                              ## 0x18
LCPI0_9:
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	16                              ## 0x10
	.long	24                              ## 0x18
LCPI0_10:
	.long	2                               ## 0x2
	.long	4                               ## 0x4
	.long	7                               ## 0x7
	.long	2                               ## 0x2
LCPI0_11:
	.long	0                               ## 0x0
	.long	5                               ## 0x5
	.long	11                              ## 0xb
	.long	16                              ## 0x10
LCPI0_12:
	.long	0                               ## 0x0
	.long	7                               ## 0x7
	.long	7                               ## 0x7
	.long	2                               ## 0x2
LCPI0_13:
	.long	3                               ## 0x3
	.long	7                               ## 0x7
	.long	31                              ## 0x1f
	.long	2                               ## 0x2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ipu_ch_param_set_size:                 ## @ipu_ch_param_set_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%esi, %eax
	movq	%rdi, %rbx
	decl	%edx
	movl	%edx, (%rdi)
	leal	-1(%rcx), %edx
	movl	%edx, 4(%rdi)
	sarl	$8, %edx
	movl	%edx, 8(%rdi)
	leal	-1(%r8), %edx
	movl	%edx, 12(%rdi)
	leal	-128(%rax), %edx
	cmpl	$14, %edx
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_2:
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [0,4,7,2]
	movups	%xmm0, (%rbx)
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [8,16,24,0]
	jmp	LBB0_5
LBB0_3:
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [3,3,7,2]
	movups	%xmm0, (%rbx)
	imull	%ecx, %r8d
	leal	3(%r8), %edx
	testl	%r8d, %r8d
	cmovnsl	%r8d, %edx
	sarl	$2, %edx
	jmp	LBB0_9
LBB0_4:
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [0,4,7,2]
	movups	%xmm0, (%rbx)
	movaps	LCPI0_6(%rip), %xmm0            ## xmm0 = [24,16,8,0]
LBB0_5:
	movups	%xmm0, 16(%rbx)
	movaps	LCPI0_5(%rip), %xmm0            ## xmm0 = [7,7,7,7]
	movups	%xmm0, 32(%rbx)
	jmp	LBB0_17
LBB0_6:
	movq	_ipu_data@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_17
LBB0_7:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [3,2,7,2]
	movups	%xmm0, (%rbx)
	imull	%ecx, %r8d
	movl	%r8d, %esi
	shrl	$31, %esi
	addl	%r8d, %esi
	sarl	%esi
	addl	%r8d, %esi
	movq	%rbx, %rdi
	movl	%r8d, %edx
	callq	_ipu_ch_param_set_plane_offset
	jmp	LBB0_17
LBB0_8:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [3,2,7,2]
	movups	%xmm0, (%rbx)
	imull	%ecx, %r8d
	movl	%r8d, %edx
	shrl	$31, %edx
	addl	%r8d, %edx
	sarl	%edx
LBB0_9:
	addl	%r8d, %edx
	movq	%rbx, %rdi
	movl	%r8d, %esi
	callq	_ipu_ch_param_set_plane_offset
	jmp	LBB0_17
LBB0_10:
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [2,6,7,2]
	movups	%xmm0, (%rbx)
	jmp	LBB0_17
LBB0_11:
	movaps	LCPI0_10(%rip), %xmm0           ## xmm0 = [2,4,7,2]
	movups	%xmm0, (%rbx)
	movaps	LCPI0_11(%rip), %xmm0           ## xmm0 = [0,5,11,16]
	movups	%xmm0, 16(%rbx)
	movabsq	$17179869189, %rax              ## imm = 0x400000005
	jmp	LBB0_16
LBB0_12:
	movaps	LCPI0_7(%rip), %xmm0            ## xmm0 = [1,4,7,2]
	movups	%xmm0, (%rbx)
	movaps	LCPI0_8(%rip), %xmm0            ## xmm0 = [16,8,0,24]
	movups	%xmm0, 16(%rbx)
	movabsq	$30064771079, %rax              ## imm = 0x700000007
	movq	%rax, 32(%rbx)
	movl	$7, 40(%rbx)
	jmp	LBB0_17
LBB0_13:
	movaps	LCPI0_12(%rip), %xmm0           ## xmm0 = [0,7,7,2]
	movups	%xmm0, 16(%rbx)
	jmp	LBB0_17
LBB0_14:
	movaps	LCPI0_13(%rip), %xmm0           ## xmm0 = [3,7,31,2]
	movups	%xmm0, 16(%rbx)
	jmp	LBB0_17
LBB0_15:
	movaps	LCPI0_7(%rip), %xmm0            ## xmm0 = [1,4,7,2]
	movups	%xmm0, (%rbx)
	movaps	LCPI0_9(%rip), %xmm0            ## xmm0 = [0,8,16,24]
	movups	%xmm0, 16(%rbx)
	movabsq	$30064771079, %rax              ## imm = 0x700000007
LBB0_16:
	movq	%rax, 36(%rbx)
LBB0_17:
	movl	$1, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_15
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_ipu_data,4,2                   ## @ipu_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mx3 ipu: unimplemented pixel format %d\n"

	.no_dead_strip	_ipu_ch_param_set_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ipu_ch_param_set_size
lCPI0_0:
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	7                               ; 0x7
	.long	2                               ; 0x2
lCPI0_1:
	.long	3                               ; 0x3
	.long	3                               ; 0x3
	.long	7                               ; 0x7
	.long	2                               ; 0x2
lCPI0_2:
	.long	2                               ; 0x2
	.long	6                               ; 0x6
	.long	7                               ; 0x7
	.long	2                               ; 0x2
lCPI0_3:
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	7                               ; 0x7
	.long	2                               ; 0x2
lCPI0_4:
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	24                              ; 0x18
	.long	0                               ; 0x0
lCPI0_5:
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	0                               ; 0x0
lCPI0_6:
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.long	7                               ; 0x7
	.long	2                               ; 0x2
lCPI0_7:
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	24                              ; 0x18
lCPI0_8:
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	16                              ; 0x10
	.long	24                              ; 0x18
lCPI0_9:
	.long	2                               ; 0x2
	.long	4                               ; 0x4
	.long	7                               ; 0x7
	.long	2                               ; 0x2
lCPI0_10:
	.long	0                               ; 0x0
	.long	5                               ; 0x5
	.long	11                              ; 0xb
	.long	16                              ; 0x10
lCPI0_12:
	.long	0                               ; 0x0
	.long	7                               ; 0x7
	.long	7                               ; 0x7
	.long	2                               ; 0x2
lCPI0_13:
	.long	3                               ; 0x3
	.long	7                               ; 0x7
	.long	31                              ; 0x1f
	.long	2                               ; 0x2
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_11:
	.long	5                               ; 0x5
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ipu_ch_param_set_size:                 ; @ipu_ch_param_set_size
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	sub	w9, w2, #1
	sub	w10, w3, #1
	stp	w9, w10, [x0]
	asr	w9, w10, #8
	sub	w10, w4, #1
	stp	w9, w10, [x0, #8]
	sub	w9, w1, #128
	cmp	w9, #14
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, lCPI0_3@PAGE
Lloh3:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
Lloh4:
	adrp	x8, lCPI0_4@PAGE
Lloh5:
	ldr	q1, [x8, lCPI0_4@PAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, lCPI0_1@PAGE
Lloh7:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [x19]
	mul	w1, w4, w3
	add	w8, w1, #3
	cmp	w1, #0
	csel	w8, w8, w1, lt
	add	w2, w1, w8, asr #2
	b	LBB0_9
LBB0_4:
Lloh8:
	adrp	x8, lCPI0_3@PAGE
Lloh9:
	ldr	q0, [x8, lCPI0_3@PAGEOFF]
Lloh10:
	adrp	x8, lCPI0_5@PAGE
Lloh11:
	ldr	q1, [x8, lCPI0_5@PAGEOFF]
LBB0_5:
	stp	q0, q1, [x19]
	movi.4s	v0, #7
	str	q0, [x19, #32]
	b	LBB0_17
LBB0_6:
	mov	x8, x1
Lloh12:
	adrp	x9, _ipu_data@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ipu_data@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x9]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_dev_err
	b	LBB0_17
LBB0_7:
Lloh17:
	adrp	x8, lCPI0_0@PAGE
Lloh18:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19]
	mul	w2, w4, w3
	cmp	w2, #0
	cinc	w8, w2, lt
	add	w1, w2, w8, asr #1
	b	LBB0_9
LBB0_8:
Lloh19:
	adrp	x8, lCPI0_0@PAGE
Lloh20:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x19]
	mul	w1, w4, w3
	cmp	w1, #0
	cinc	w8, w1, lt
	add	w2, w1, w8, asr #1
LBB0_9:
	mov	x0, x19
	bl	_ipu_ch_param_set_plane_offset
	b	LBB0_17
LBB0_10:
Lloh21:
	adrp	x8, lCPI0_2@PAGE
Lloh22:
	ldr	q0, [x8, lCPI0_2@PAGEOFF]
	str	q0, [x19]
	b	LBB0_17
LBB0_11:
Lloh23:
	adrp	x8, lCPI0_9@PAGE
Lloh24:
	ldr	q0, [x8, lCPI0_9@PAGEOFF]
Lloh25:
	adrp	x8, lCPI0_10@PAGE
Lloh26:
	ldr	q1, [x8, lCPI0_10@PAGEOFF]
	stp	q0, q1, [x19]
Lloh27:
	adrp	x8, lCPI0_11@PAGE
Lloh28:
	ldr	d0, [x8, lCPI0_11@PAGEOFF]
	b	LBB0_16
LBB0_12:
Lloh29:
	adrp	x8, lCPI0_6@PAGE
Lloh30:
	ldr	q0, [x8, lCPI0_6@PAGEOFF]
Lloh31:
	adrp	x8, lCPI0_7@PAGE
Lloh32:
	ldr	q1, [x8, lCPI0_7@PAGEOFF]
	stp	q0, q1, [x19]
	movi.2s	v0, #7
	str	d0, [x19, #32]
	mov	w8, #7
	str	w8, [x19, #40]
	b	LBB0_17
LBB0_13:
Lloh33:
	adrp	x8, lCPI0_12@PAGE
Lloh34:
	ldr	q0, [x8, lCPI0_12@PAGEOFF]
	str	q0, [x19, #16]
	b	LBB0_17
LBB0_14:
Lloh35:
	adrp	x8, lCPI0_13@PAGE
Lloh36:
	ldr	q0, [x8, lCPI0_13@PAGEOFF]
	str	q0, [x19, #16]
	b	LBB0_17
LBB0_15:
Lloh37:
	adrp	x8, lCPI0_6@PAGE
Lloh38:
	ldr	q0, [x8, lCPI0_6@PAGEOFF]
Lloh39:
	adrp	x8, lCPI0_8@PAGE
Lloh40:
	ldr	q1, [x8, lCPI0_8@PAGEOFF]
	stp	q0, q1, [x19]
	movi.2s	v0, #7
LBB0_16:
	stur	d0, [x19, #36]
LBB0_17:
	mov	w8, #1
	str	w8, [x19, #32]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpAdrp	Lloh2, Lloh4
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdr	Lloh27, Lloh28
	.loh AdrpAdrp	Lloh25, Lloh27
	.loh AdrpLdr	Lloh25, Lloh26
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpLdr	Lloh31, Lloh32
	.loh AdrpAdrp	Lloh29, Lloh31
	.loh AdrpLdr	Lloh29, Lloh30
	.loh AdrpLdr	Lloh33, Lloh34
	.loh AdrpLdr	Lloh35, Lloh36
	.loh AdrpLdr	Lloh39, Lloh40
	.loh AdrpAdrp	Lloh37, Lloh39
	.loh AdrpLdr	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_ipu_data,4,2                   ; @ipu_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mx3 ipu: unimplemented pixel format %d\n"

	.no_dead_strip	_ipu_ch_param_set_size
.subsections_via_symbols
