	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_ic_task_enable             ## -- Begin function ipu_ic_task_enable
	.p2align	4, 0x90
_ipu_ic_task_enable:                    ## @ipu_ic_task_enable
	.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, %rbx
	movq	48(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_IC_CONF@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_ipu_ic_read
	movq	(%rbx), %rcx
	orl	16(%rcx), %eax
	cmpq	$0, 40(%rbx)
	je	LBB0_2
## %bb.1:
	orl	12(%rcx), %eax
LBB0_2:
	movq	8(%rbx), %rdx
	cmpq	%rdx, 32(%rbx)
	je	LBB0_4
## %bb.3:
	orl	4(%rcx), %eax
LBB0_4:
	cmpq	$0, 24(%rbx)
	je	LBB0_7
## %bb.5:
	orl	8(%rcx), %eax
	orl	4(%rcx), %eax
	cmpq	%rdx, 16(%rbx)
	je	LBB0_7
## %bb.6:
	orl	(%rcx), %eax
LBB0_7:
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ipu_ic_write
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IC_CONF,4,2                    ## @IC_CONF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipu_ic_task_enable             ; -- Begin function ipu_ic_task_enable
	.p2align	2
_ipu_ic_task_enable:                    ; @ipu_ic_task_enable
	.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	x20, x0
	ldr	x19, [x0, #48]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x21, _IC_CONF@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IC_CONF@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_ipu_ic_read
	ldr	x8, [x20]
	ldr	w9, [x8, #16]
	orr	w1, w9, w0
	ldr	x9, [x20, #40]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w9, [x8, #12]
	orr	w1, w9, w1
LBB0_2:
	ldr	x10, [x20, #32]
	ldr	x9, [x20, #8]
	cmp	x10, x9
	b.eq	LBB0_4
; %bb.3:
	ldr	w10, [x8, #4]
	orr	w1, w10, w1
LBB0_4:
	ldr	x10, [x20, #24]
	cbz	x10, LBB0_7
; %bb.5:
	ldp	w11, w10, [x8, #4]
	orr	w10, w10, w1
	orr	w1, w10, w11
	ldr	x10, [x20, #16]
	cmp	x10, x9
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x8]
	orr	w1, w8, w1
LBB0_7:
	ldr	w2, [x21]
	mov	x0, x20
	bl	_ipu_ic_write
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IC_CONF,4,2                    ; @IC_CONF
.subsections_via_symbols
