	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipu_ic_enable_task
_ipu_ic_enable_task:                    ## @ipu_ic_enable_task
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$128, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_5
## %bb.2:
	movq	_IC_CONF_PRPENC_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_4
LBB0_3:
	movq	_IC_CONF_RWS_EN@GOTPCREL(%rip), %rax
	movq	_IC_CONF_PRPENC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
LBB0_4:
	movq	_IC_CONF@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_idmac_read_icreg
	orl	%eax, %ebx
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_idmac_write_icreg              ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IC_CONF_PRPENC_EN,4,2          ## @IC_CONF_PRPENC_EN
	.comm	_IC_CONF_RWS_EN,4,2             ## @IC_CONF_RWS_EN
	.comm	_IC_CONF,4,2                    ## @IC_CONF
	.no_dead_strip	_ipu_ic_enable_task
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipu_ic_enable_task
_ipu_ic_enable_task:                    ; @ipu_ic_enable_task
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	cmp	w1, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _IC_CONF_PRPENC_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IC_CONF_PRPENC_EN@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _IC_CONF_RWS_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IC_CONF_RWS_EN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IC_CONF_PRPENC_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IC_CONF_PRPENC_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w20, w9, w8
LBB0_4:
Lloh9:
	adrp	x21, _IC_CONF@GOTPAGE
Lloh10:
	ldr	x21, [x21, _IC_CONF@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_idmac_read_icreg
	orr	w1, w0, w20
	ldr	w2, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_idmac_write_icreg
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IC_CONF_PRPENC_EN,4,2          ; @IC_CONF_PRPENC_EN
	.comm	_IC_CONF_RWS_EN,4,2             ; @IC_CONF_RWS_EN
	.comm	_IC_CONF,4,2                    ; @IC_CONF
	.no_dead_strip	_ipu_ic_enable_task
.subsections_via_symbols
