	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_ic_task_idma_init          ## -- Begin function ipu_ic_task_idma_init
	.p2align	4, 0x90
_ipu_ic_task_idma_init:                 ## @ipu_ic_task_idma_init
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	8(%rdi), %rax
	movq	%rax, %r14
	movq	8(%rax), %rbx
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r9d, %edi
	callq	_bitrev8
	cmpl	$8, %r15d
	je	LBB0_3
## %bb.1:
	cmpl	$16, %r15d
	jne	LBB0_2
LBB0_3:
	movl	%eax, %ebx
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_IC_IDMAC_1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_ipu_ic_read
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ipu_ic_read
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_ipu_ic_read
	movl	%eax, %r9d
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$10, %eax
	ja	LBB0_23
## %bb.4:
	movl	%ebx, %esi
	sarl	$5, %esi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	decl	%edi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	decl	%edx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_19:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_CB7_BURST_16@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_24
LBB0_16:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_PRPVF_ROT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	andl	%eax, %edx
	movq	_IC_IDMAC_1_PRPVF_ROT_OFFSET@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_PP_ROT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	andl	%eax, %edx
	movq	_IC_IDMAC_1_PP_ROT_OFFSET@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_14:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_PRPENC_ROT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	andl	%eax, %edx
	movq	_IC_IDMAC_1_PRPENC_ROT_OFFSET@GOTPCREL(%rip), %rax
LBB0_11:
	movb	(%rax), %cl
	shll	%cl, %esi
	orl	%edx, %esi
	jmp	LBB0_21
LBB0_12:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_CB6_BURST_16@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_CB5_BURST_16@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_15:
	movq	_IC_IDMAC_1_CB1_BURST_16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	orl	%esi, %ecx
	notl	%eax
	andl	%esi, %eax
	cmpl	$16, %r15d
	cmovel	%ecx, %eax
	movq	_IC_IDMAC_1_PRPVF_FLIP_RS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testb	$64, %bl
	cmovnel	%ecx, %esi
	movq	_IC_IDMAC_2_PRPVF_HEIGHT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_IC_IDMAC_2_PRPVF_HEIGHT_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	andl	%eax, %ecx
	orl	%edx, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_3_PRPVF_WIDTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r9d
	movq	_IC_IDMAC_3_PRPVF_WIDTH_OFFSET@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_13:
	movq	_IC_IDMAC_1_CB0_BURST_16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	orl	%esi, %ecx
	notl	%eax
	andl	%esi, %eax
	cmpl	$16, %r15d
	cmovel	%ecx, %eax
	movq	_IC_IDMAC_1_PRPENC_FLIP_RS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testb	$64, %bl
	cmovnel	%ecx, %esi
	movq	_IC_IDMAC_2_PRPENC_HEIGHT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_IC_IDMAC_2_PRPENC_HEIGHT_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	andl	%eax, %ecx
	orl	%edx, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_3_PRPENC_WIDTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r9d
	movq	_IC_IDMAC_3_PRPENC_WIDTH_OFFSET@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_IC_IDMAC_1_CB2_BURST_16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	orl	%esi, %ecx
	notl	%eax
	andl	%esi, %eax
	cmpl	$16, %r15d
	cmovel	%ecx, %eax
	movq	_IC_IDMAC_1_PP_FLIP_RS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%esi, %ecx
	orl	%eax, %ecx
	notl	%esi
	andl	%eax, %esi
	testb	$64, %bl
	cmovnel	%ecx, %esi
	movq	_IC_IDMAC_2_PP_HEIGHT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	_IC_IDMAC_2_PP_HEIGHT_OFFSET@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	andl	%eax, %ecx
	orl	%edx, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_3_PP_WIDTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r9d
	movq	_IC_IDMAC_3_PP_WIDTH_OFFSET@GOTPCREL(%rip), %rax
LBB0_6:
	movb	(%rax), %cl
	shll	%cl, %edi
	orl	%edi, %r9d
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_21
LBB0_17:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_CB3_BURST_16@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_18:
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movq	_IC_IDMAC_1_CB4_BURST_16@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %esi
	cmpl	$16, %r15d
	jne	LBB0_20
## %bb.9:
	orl	-44(%rbp), %esi                 ## 4-byte Folded Reload
	jmp	LBB0_21
LBB0_20:
	notl	%esi
	andl	-44(%rbp), %esi                 ## 4-byte Folded Reload
LBB0_21:
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movq	_IC_IDMAC_2@GOTPCREL(%rip), %r12
	movq	_IC_IDMAC_3@GOTPCREL(%rip), %rbx
	movl	(%r14), %edx
	movq	%r13, %rdi
	callq	_ipu_ic_write
	movl	(%r12), %edx
	movq	%r13, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_ipu_ic_write
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_ipu_ic_write
	movl	%r15d, %edi
	callq	_ipu_rot_mode_is_irt
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	$1, (%r13)
LBB0_23:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
LBB0_24:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_16
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_15
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Illegal burst length for IC\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IC_IDMAC_1,4,2                 ## @IC_IDMAC_1
	.comm	_IC_IDMAC_2,4,2                 ## @IC_IDMAC_2
	.comm	_IC_IDMAC_3,4,2                 ## @IC_IDMAC_3
	.comm	_IC_IDMAC_1_CB2_BURST_16,4,2    ## @IC_IDMAC_1_CB2_BURST_16
	.comm	_IC_IDMAC_1_PP_FLIP_RS,4,2      ## @IC_IDMAC_1_PP_FLIP_RS
	.comm	_IC_IDMAC_2_PP_HEIGHT_MASK,4,2  ## @IC_IDMAC_2_PP_HEIGHT_MASK
	.comm	_IC_IDMAC_2_PP_HEIGHT_OFFSET,4,2 ## @IC_IDMAC_2_PP_HEIGHT_OFFSET
	.comm	_IC_IDMAC_3_PP_WIDTH_MASK,4,2   ## @IC_IDMAC_3_PP_WIDTH_MASK
	.comm	_IC_IDMAC_3_PP_WIDTH_OFFSET,4,2 ## @IC_IDMAC_3_PP_WIDTH_OFFSET
	.comm	_IC_IDMAC_1_CB5_BURST_16,4,2    ## @IC_IDMAC_1_CB5_BURST_16
	.comm	_IC_IDMAC_1_PP_ROT_MASK,4,2     ## @IC_IDMAC_1_PP_ROT_MASK
	.comm	_IC_IDMAC_1_PP_ROT_OFFSET,4,2   ## @IC_IDMAC_1_PP_ROT_OFFSET
	.comm	_IC_IDMAC_1_CB6_BURST_16,4,2    ## @IC_IDMAC_1_CB6_BURST_16
	.comm	_IC_IDMAC_1_CB0_BURST_16,4,2    ## @IC_IDMAC_1_CB0_BURST_16
	.comm	_IC_IDMAC_1_PRPENC_FLIP_RS,4,2  ## @IC_IDMAC_1_PRPENC_FLIP_RS
	.comm	_IC_IDMAC_2_PRPENC_HEIGHT_MASK,4,2 ## @IC_IDMAC_2_PRPENC_HEIGHT_MASK
	.comm	_IC_IDMAC_2_PRPENC_HEIGHT_OFFSET,4,2 ## @IC_IDMAC_2_PRPENC_HEIGHT_OFFSET
	.comm	_IC_IDMAC_3_PRPENC_WIDTH_MASK,4,2 ## @IC_IDMAC_3_PRPENC_WIDTH_MASK
	.comm	_IC_IDMAC_3_PRPENC_WIDTH_OFFSET,4,2 ## @IC_IDMAC_3_PRPENC_WIDTH_OFFSET
	.comm	_IC_IDMAC_1_PRPENC_ROT_MASK,4,2 ## @IC_IDMAC_1_PRPENC_ROT_MASK
	.comm	_IC_IDMAC_1_PRPENC_ROT_OFFSET,4,2 ## @IC_IDMAC_1_PRPENC_ROT_OFFSET
	.comm	_IC_IDMAC_1_CB1_BURST_16,4,2    ## @IC_IDMAC_1_CB1_BURST_16
	.comm	_IC_IDMAC_1_PRPVF_FLIP_RS,4,2   ## @IC_IDMAC_1_PRPVF_FLIP_RS
	.comm	_IC_IDMAC_2_PRPVF_HEIGHT_MASK,4,2 ## @IC_IDMAC_2_PRPVF_HEIGHT_MASK
	.comm	_IC_IDMAC_2_PRPVF_HEIGHT_OFFSET,4,2 ## @IC_IDMAC_2_PRPVF_HEIGHT_OFFSET
	.comm	_IC_IDMAC_3_PRPVF_WIDTH_MASK,4,2 ## @IC_IDMAC_3_PRPVF_WIDTH_MASK
	.comm	_IC_IDMAC_3_PRPVF_WIDTH_OFFSET,4,2 ## @IC_IDMAC_3_PRPVF_WIDTH_OFFSET
	.comm	_IC_IDMAC_1_PRPVF_ROT_MASK,4,2  ## @IC_IDMAC_1_PRPVF_ROT_MASK
	.comm	_IC_IDMAC_1_PRPVF_ROT_OFFSET,4,2 ## @IC_IDMAC_1_PRPVF_ROT_OFFSET
	.comm	_IC_IDMAC_1_CB3_BURST_16,4,2    ## @IC_IDMAC_1_CB3_BURST_16
	.comm	_IC_IDMAC_1_CB4_BURST_16,4,2    ## @IC_IDMAC_1_CB4_BURST_16
	.comm	_IC_IDMAC_1_CB7_BURST_16,4,2    ## @IC_IDMAC_1_CB7_BURST_16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_ic_task_idma_init          ; -- Begin function ipu_ic_task_idma_init
	.p2align	2
_ipu_ic_task_idma_init:                 ; @ipu_ic_task_idma_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x5
	mov	x24, x4
	mov	x27, x3
	mov	x28, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	x23, [x19, #8]
	mov	x0, x5
	bl	_bitrev8
	mov	x25, x0
	cmp	w24, #8
	b.eq	LBB0_2
; %bb.1:
	cmp	w24, #16
	b.ne	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _IC_IDMAC_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IC_IDMAC_1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ipu_ic_read
	mov	x26, x0
Lloh3:
	adrp	x8, _IC_IDMAC_2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IC_IDMAC_2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ipu_ic_read
	mov	x23, x0
Lloh6:
	adrp	x8, _IC_IDMAC_3@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IC_IDMAC_3@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ipu_ic_read
	ldr	w8, [x22]
	sub	w11, w8, #128
	cmp	w11, #10
	b.hi	LBB0_21
; %bb.3:
	asr	w10, w25, #5
	sub	w8, w28, #1
	sub	w9, w27, #1
Lloh9:
	adrp	x12, lJTI0_0@PAGE
Lloh10:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_4
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_4:
	mov	x22, x0
Lloh11:
	adrp	x8, _IC_IDMAC_1_CB7_BURST_16@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IC_IDMAC_1_CB7_BURST_16@GOTPAGEOFF]
	b	LBB0_18
LBB0_5:
	ldr	w0, [x23]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_22
LBB0_6:
	mov	x22, x0
Lloh18:
	adrp	x8, _IC_IDMAC_1_PRPVF_ROT_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IC_IDMAC_1_PRPVF_ROT_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	bic	w8, w26, w8
Lloh21:
	adrp	x9, _IC_IDMAC_1_PRPVF_ROT_OFFSET@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IC_IDMAC_1_PRPVF_ROT_OFFSET@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	x22, x0
Lloh23:
	adrp	x8, _IC_IDMAC_1_PP_ROT_MASK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IC_IDMAC_1_PP_ROT_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	bic	w8, w26, w8
Lloh26:
	adrp	x9, _IC_IDMAC_1_PP_ROT_OFFSET@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IC_IDMAC_1_PP_ROT_OFFSET@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	x22, x0
Lloh28:
	adrp	x8, _IC_IDMAC_1_PRPENC_ROT_MASK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IC_IDMAC_1_PRPENC_ROT_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	bic	w8, w26, w8
Lloh31:
	adrp	x9, _IC_IDMAC_1_PRPENC_ROT_OFFSET@GOTPAGE
Lloh32:
	ldr	x9, [x9, _IC_IDMAC_1_PRPENC_ROT_OFFSET@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w1, w9, w8
	b	LBB0_19
LBB0_10:
	mov	x22, x0
Lloh33:
	adrp	x8, _IC_IDMAC_1_CB6_BURST_16@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IC_IDMAC_1_CB6_BURST_16@GOTPAGEOFF]
	b	LBB0_18
LBB0_11:
	mov	x22, x0
Lloh35:
	adrp	x8, _IC_IDMAC_1_CB5_BURST_16@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IC_IDMAC_1_CB5_BURST_16@GOTPAGEOFF]
	b	LBB0_18
LBB0_12:
Lloh37:
	adrp	x10, _IC_IDMAC_1_CB1_BURST_16@GOTPAGE
Lloh38:
	ldr	x10, [x10, _IC_IDMAC_1_CB1_BURST_16@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	orr	w11, w10, w26
	bic	w10, w26, w10
Lloh40:
	adrp	x12, _IC_IDMAC_1_PRPVF_FLIP_RS@GOTPAGE
Lloh41:
	ldr	x12, [x12, _IC_IDMAC_1_PRPVF_FLIP_RS@GOTPAGEOFF]
	cmp	w24, #16
	csel	w10, w11, w10, eq
Lloh42:
	ldr	w11, [x12]
	orr	w12, w11, w10
	bic	w10, w10, w11
	tst	w25, #0x40
	csel	w1, w10, w12, eq
Lloh43:
	adrp	x10, _IC_IDMAC_2_PRPVF_HEIGHT_MASK@GOTPAGE
Lloh44:
	ldr	x10, [x10, _IC_IDMAC_2_PRPVF_HEIGHT_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	bic	w10, w23, w10
Lloh46:
	adrp	x11, _IC_IDMAC_2_PRPVF_HEIGHT_OFFSET@GOTPAGE
Lloh47:
	ldr	x11, [x11, _IC_IDMAC_2_PRPVF_HEIGHT_OFFSET@GOTPAGEOFF]
Lloh48:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	orr	w23, w9, w10
Lloh49:
	adrp	x9, _IC_IDMAC_3_PRPVF_WIDTH_MASK@GOTPAGE
Lloh50:
	ldr	x9, [x9, _IC_IDMAC_3_PRPVF_WIDTH_MASK@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	bic	w9, w0, w9
Lloh52:
	adrp	x10, _IC_IDMAC_3_PRPVF_WIDTH_OFFSET@GOTPAGE
Lloh53:
	ldr	x10, [x10, _IC_IDMAC_3_PRPVF_WIDTH_OFFSET@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh54:
	adrp	x10, _IC_IDMAC_1_CB0_BURST_16@GOTPAGE
Lloh55:
	ldr	x10, [x10, _IC_IDMAC_1_CB0_BURST_16@GOTPAGEOFF]
Lloh56:
	ldr	w10, [x10]
	orr	w11, w10, w26
	bic	w10, w26, w10
Lloh57:
	adrp	x12, _IC_IDMAC_1_PRPENC_FLIP_RS@GOTPAGE
Lloh58:
	ldr	x12, [x12, _IC_IDMAC_1_PRPENC_FLIP_RS@GOTPAGEOFF]
	cmp	w24, #16
	csel	w10, w11, w10, eq
Lloh59:
	ldr	w11, [x12]
	orr	w12, w11, w10
	bic	w10, w10, w11
	tst	w25, #0x40
	csel	w1, w10, w12, eq
Lloh60:
	adrp	x10, _IC_IDMAC_2_PRPENC_HEIGHT_MASK@GOTPAGE
Lloh61:
	ldr	x10, [x10, _IC_IDMAC_2_PRPENC_HEIGHT_MASK@GOTPAGEOFF]
Lloh62:
	ldr	w10, [x10]
	bic	w10, w23, w10
Lloh63:
	adrp	x11, _IC_IDMAC_2_PRPENC_HEIGHT_OFFSET@GOTPAGE
Lloh64:
	ldr	x11, [x11, _IC_IDMAC_2_PRPENC_HEIGHT_OFFSET@GOTPAGEOFF]
Lloh65:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	orr	w23, w9, w10
Lloh66:
	adrp	x9, _IC_IDMAC_3_PRPENC_WIDTH_MASK@GOTPAGE
Lloh67:
	ldr	x9, [x9, _IC_IDMAC_3_PRPENC_WIDTH_MASK@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	bic	w9, w0, w9
Lloh69:
	adrp	x10, _IC_IDMAC_3_PRPENC_WIDTH_OFFSET@GOTPAGE
Lloh70:
	ldr	x10, [x10, _IC_IDMAC_3_PRPENC_WIDTH_OFFSET@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh71:
	adrp	x10, _IC_IDMAC_1_CB2_BURST_16@GOTPAGE
Lloh72:
	ldr	x10, [x10, _IC_IDMAC_1_CB2_BURST_16@GOTPAGEOFF]
Lloh73:
	ldr	w10, [x10]
	orr	w11, w10, w26
	bic	w10, w26, w10
Lloh74:
	adrp	x12, _IC_IDMAC_1_PP_FLIP_RS@GOTPAGE
Lloh75:
	ldr	x12, [x12, _IC_IDMAC_1_PP_FLIP_RS@GOTPAGEOFF]
	cmp	w24, #16
	csel	w10, w11, w10, eq
Lloh76:
	ldr	w11, [x12]
	orr	w12, w11, w10
	bic	w10, w10, w11
	tst	w25, #0x40
	csel	w1, w10, w12, eq
Lloh77:
	adrp	x10, _IC_IDMAC_2_PP_HEIGHT_MASK@GOTPAGE
Lloh78:
	ldr	x10, [x10, _IC_IDMAC_2_PP_HEIGHT_MASK@GOTPAGEOFF]
Lloh79:
	ldr	w10, [x10]
	bic	w10, w23, w10
Lloh80:
	adrp	x11, _IC_IDMAC_2_PP_HEIGHT_OFFSET@GOTPAGE
Lloh81:
	ldr	x11, [x11, _IC_IDMAC_2_PP_HEIGHT_OFFSET@GOTPAGEOFF]
Lloh82:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	orr	w23, w9, w10
Lloh83:
	adrp	x9, _IC_IDMAC_3_PP_WIDTH_MASK@GOTPAGE
Lloh84:
	ldr	x9, [x9, _IC_IDMAC_3_PP_WIDTH_MASK@GOTPAGEOFF]
Lloh85:
	ldr	w9, [x9]
	bic	w9, w0, w9
Lloh86:
	adrp	x10, _IC_IDMAC_3_PP_WIDTH_OFFSET@GOTPAGE
Lloh87:
	ldr	x10, [x10, _IC_IDMAC_3_PP_WIDTH_OFFSET@GOTPAGEOFF]
LBB0_15:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w22, w8, w9
	b	LBB0_19
LBB0_16:
	mov	x22, x0
Lloh88:
	adrp	x8, _IC_IDMAC_1_CB3_BURST_16@GOTPAGE
Lloh89:
	ldr	x8, [x8, _IC_IDMAC_1_CB3_BURST_16@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
	mov	x22, x0
Lloh90:
	adrp	x8, _IC_IDMAC_1_CB4_BURST_16@GOTPAGE
Lloh91:
	ldr	x8, [x8, _IC_IDMAC_1_CB4_BURST_16@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	bic	w9, w26, w8
	orr	w8, w8, w26
	cmp	w24, #16
	csel	w1, w9, w8, ne
LBB0_19:
Lloh92:
	adrp	x8, _IC_IDMAC_1@GOTPAGE
Lloh93:
	ldr	x8, [x8, _IC_IDMAC_1@GOTPAGEOFF]
Lloh94:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ipu_ic_write
Lloh95:
	adrp	x8, _IC_IDMAC_2@GOTPAGE
Lloh96:
	ldr	x8, [x8, _IC_IDMAC_2@GOTPAGEOFF]
Lloh97:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_ipu_ic_write
Lloh98:
	adrp	x8, _IC_IDMAC_3@GOTPAGE
Lloh99:
	ldr	x8, [x8, _IC_IDMAC_3@GOTPAGEOFF]
Lloh100:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	bl	_ipu_ic_write
	mov	x0, x21
	bl	_ipu_rot_mode_is_irt
	cbz	x0, LBB0_21
; %bb.20:
	mov	w8, #1
	str	w8, [x20]
LBB0_21:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Illegal burst length for IC\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IC_IDMAC_1,4,2                 ; @IC_IDMAC_1
	.comm	_IC_IDMAC_2,4,2                 ; @IC_IDMAC_2
	.comm	_IC_IDMAC_3,4,2                 ; @IC_IDMAC_3
	.comm	_IC_IDMAC_1_CB2_BURST_16,4,2    ; @IC_IDMAC_1_CB2_BURST_16
	.comm	_IC_IDMAC_1_PP_FLIP_RS,4,2      ; @IC_IDMAC_1_PP_FLIP_RS
	.comm	_IC_IDMAC_2_PP_HEIGHT_MASK,4,2  ; @IC_IDMAC_2_PP_HEIGHT_MASK
	.comm	_IC_IDMAC_2_PP_HEIGHT_OFFSET,4,2 ; @IC_IDMAC_2_PP_HEIGHT_OFFSET
	.comm	_IC_IDMAC_3_PP_WIDTH_MASK,4,2   ; @IC_IDMAC_3_PP_WIDTH_MASK
	.comm	_IC_IDMAC_3_PP_WIDTH_OFFSET,4,2 ; @IC_IDMAC_3_PP_WIDTH_OFFSET
	.comm	_IC_IDMAC_1_CB5_BURST_16,4,2    ; @IC_IDMAC_1_CB5_BURST_16
	.comm	_IC_IDMAC_1_PP_ROT_MASK,4,2     ; @IC_IDMAC_1_PP_ROT_MASK
	.comm	_IC_IDMAC_1_PP_ROT_OFFSET,4,2   ; @IC_IDMAC_1_PP_ROT_OFFSET
	.comm	_IC_IDMAC_1_CB6_BURST_16,4,2    ; @IC_IDMAC_1_CB6_BURST_16
	.comm	_IC_IDMAC_1_CB0_BURST_16,4,2    ; @IC_IDMAC_1_CB0_BURST_16
	.comm	_IC_IDMAC_1_PRPENC_FLIP_RS,4,2  ; @IC_IDMAC_1_PRPENC_FLIP_RS
	.comm	_IC_IDMAC_2_PRPENC_HEIGHT_MASK,4,2 ; @IC_IDMAC_2_PRPENC_HEIGHT_MASK
	.comm	_IC_IDMAC_2_PRPENC_HEIGHT_OFFSET,4,2 ; @IC_IDMAC_2_PRPENC_HEIGHT_OFFSET
	.comm	_IC_IDMAC_3_PRPENC_WIDTH_MASK,4,2 ; @IC_IDMAC_3_PRPENC_WIDTH_MASK
	.comm	_IC_IDMAC_3_PRPENC_WIDTH_OFFSET,4,2 ; @IC_IDMAC_3_PRPENC_WIDTH_OFFSET
	.comm	_IC_IDMAC_1_PRPENC_ROT_MASK,4,2 ; @IC_IDMAC_1_PRPENC_ROT_MASK
	.comm	_IC_IDMAC_1_PRPENC_ROT_OFFSET,4,2 ; @IC_IDMAC_1_PRPENC_ROT_OFFSET
	.comm	_IC_IDMAC_1_CB1_BURST_16,4,2    ; @IC_IDMAC_1_CB1_BURST_16
	.comm	_IC_IDMAC_1_PRPVF_FLIP_RS,4,2   ; @IC_IDMAC_1_PRPVF_FLIP_RS
	.comm	_IC_IDMAC_2_PRPVF_HEIGHT_MASK,4,2 ; @IC_IDMAC_2_PRPVF_HEIGHT_MASK
	.comm	_IC_IDMAC_2_PRPVF_HEIGHT_OFFSET,4,2 ; @IC_IDMAC_2_PRPVF_HEIGHT_OFFSET
	.comm	_IC_IDMAC_3_PRPVF_WIDTH_MASK,4,2 ; @IC_IDMAC_3_PRPVF_WIDTH_MASK
	.comm	_IC_IDMAC_3_PRPVF_WIDTH_OFFSET,4,2 ; @IC_IDMAC_3_PRPVF_WIDTH_OFFSET
	.comm	_IC_IDMAC_1_PRPVF_ROT_MASK,4,2  ; @IC_IDMAC_1_PRPVF_ROT_MASK
	.comm	_IC_IDMAC_1_PRPVF_ROT_OFFSET,4,2 ; @IC_IDMAC_1_PRPVF_ROT_OFFSET
	.comm	_IC_IDMAC_1_CB3_BURST_16,4,2    ; @IC_IDMAC_1_CB3_BURST_16
	.comm	_IC_IDMAC_1_CB4_BURST_16,4,2    ; @IC_IDMAC_1_CB4_BURST_16
	.comm	_IC_IDMAC_1_CB7_BURST_16,4,2    ; @IC_IDMAC_1_CB7_BURST_16
.subsections_via_symbols
