	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __fimc_pipeline_enable
___fimc_pipeline_enable:                ## @__fimc_pipeline_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_to_fimc_pipeline
	movq	%rax, %r14
	movq	(%r15), %rax
	movq	_CLK_IDX_WB_B@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_1
LBB0_4:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_fimc_pipeline_s_power
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %ebx
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	(%r14), %rax
	movq	_IDX_IS_ISP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_9
## %bb.8:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_clk_disable_unprepare
	jmp	LBB0_9
LBB0_1:
	movq	(%r14), %rax
	movq	_IDX_IS_ISP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_5:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLK_IDX_WB_B,8,3               ## @CLK_IDX_WB_B
	.comm	_IDX_IS_ISP,8,3                 ## @IDX_IS_ISP
	.no_dead_strip	___fimc_pipeline_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __fimc_pipeline_enable
___fimc_pipeline_enable:                ; @__fimc_pipeline_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	x19, x1
	bl	_to_fimc_pipeline
	mov	x20, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x22, _CLK_IDX_WB_B@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CLK_IDX_WB_B@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_IS_ERR
	cbz	w0, LBB0_5
LBB0_1:
	mov	x0, x20
	mov	w1, #1
	bl	_fimc_pipeline_s_power
	mov	x21, x0
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_IS_ERR
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _IDX_IS_ISP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IDX_IS_ISP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_clk_disable_unprepare
	b	LBB0_8
LBB0_5:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _IDX_IS_ISP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IDX_IS_ISP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_1
; %bb.6:
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	w0, [x8, x9, lsl #2]
	bl	_clk_prepare_enable
	tbz	w0, #31, LBB0_1
; %bb.7:
	mov	x21, x0
LBB0_8:
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CLK_IDX_WB_B,8,3               ; @CLK_IDX_WB_B
	.comm	_IDX_IS_ISP,8,3                 ; @IDX_IS_ISP
	.no_dead_strip	___fimc_pipeline_enable
.subsections_via_symbols
