	.file	"extr_ipu_idmac.c_ipu_ic_enable_task.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipu_ic_enable_task, @function
ipu_ic_enable_task:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	esi, 128
	je	.L2
	mov	ebx, DWORD PTR IC_CONF_PRPENC_EN[rip]
	cmp	esi, 129
	je	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR IC_CONF_RWS_EN[rip]
	mov	ebx, DWORD PTR IC_CONF_PRPENC_EN[rip]
	or	ebx, esi
.L4:
	mov	esi, DWORD PTR IC_CONF[rip]
	mov	rdi, rbp
	call	idmac_read_icreg@PLT
	mov	edx, DWORD PTR IC_CONF[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	or	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	esi, eax
	jmp	idmac_write_icreg@PLT
	.cfi_endproc
.LFE0:
	.size	ipu_ic_enable_task, .-ipu_ic_enable_task
	.comm	IC_CONF_RWS_EN,4,4
	.comm	IC_CONF_PRPENC_EN,4,4
	.comm	IC_CONF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ipu_idmac.c_ipu_ic_enable_task.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipu_ic_enable_task, %function
ipu_ic_enable_task:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #128
	push	{r4, r5, r6, lr}
	mov	r4, r0
	beq	.L2
	cmp	r1, #129
	popne	{r4, r5, r6, pc}
	ldr	r3, .L7
	ldr	r5, [r3]
.L4:
	ldr	r6, .L7+4
	mov	r0, r4
	ldr	r1, [r6]
	bl	idmac_read_icreg
	ldr	r2, [r6]
	orr	r1, r0, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	idmac_write_icreg
.L2:
	ldr	r2, .L7+8
	ldr	r3, .L7
	ldr	r5, [r2]
	ldr	r3, [r3]
	orr	r5, r5, r3
	b	.L4
.L8:
	.align	2
.L7:
	.word	IC_CONF_PRPENC_EN
	.word	IC_CONF
	.word	IC_CONF_RWS_EN
	.size	ipu_ic_enable_task, .-ipu_ic_enable_task
	.comm	IC_CONF_RWS_EN,4,4
	.comm	IC_CONF_PRPENC_EN,4,4
	.comm	IC_CONF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
