	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_pipeline_prepare
_fimc_pipeline_prepare:                 ## @fimc_pipeline_prepare
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_entity_to_fimc_mdev
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_IDX_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.1:
	leaq	-1(%rdx), %rcx
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_12
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_12:
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	movq	$0, (%rsi,%rcx,8)
	movq	(%r12), %rsi
	movq	$0, 8(%rsi,%rcx,8)
	movq	(%r12), %rsi
	movq	$0, 16(%rsi,%rcx,8)
	movq	(%r12), %rsi
	movq	$0, 24(%rsi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_13
LBB0_3:
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_4
LBB0_5:
	movl	(%r13), %eax
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	testl	%eax, %eax
	jle	LBB0_24
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movl	(%r13), %eax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r14
	movslq	%eax, %rcx
	addq	$8, %r15
	cmpq	%rcx, %r14
	jge	LBB0_24
LBB0_8:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rdi
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi,%r15)
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	addq	%r15, %rdi
	callq	_media_entity_remote_pad
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_is_media_entity_v4l2_subdev
	testl	%eax, %eax
	je	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	4(%rbx), %edi
	callq	_media_entity_to_v4l2_subdev
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rdx
	addq	%rsi, %rdx
	movq	_IDX_SENSOR@GOTPCREL(%rip), %rcx
	jmpq	*%rdx
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IDX_SENSOR@GOTPCREL(%rip), %rcx
	movq	%rax, %rdx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IDX_FLITE@GOTPCREL(%rip), %rcx
	jmp	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IDX_IS_ISP@GOTPCREL(%rip), %rcx
	jmp	LBB0_22
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IDX_FIMC@GOTPCREL(%rip), %rcx
	jmp	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_IDX_CSIS@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r12), %rdx
	movq	(%rcx), %rcx
	movq	%rax, (%rdx,%rcx,8)
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r13
	addq	$8, %r13
	movl	8(%rax), %eax
	cmpl	$1, %eax
	jne	LBB0_6
LBB0_24:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.25:
	movq	(%r12), %rax
	movq	_IDX_FIMC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___setup_sensor_notification    ## TAILCALL
LBB0_26:
	addq	$24, %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_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_22
	.long	L0_0_set_21
	.long	L0_0_set_20
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_IDX_MAX,4,2                    ## @IDX_MAX
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_IDX_SENSOR,8,3                 ## @IDX_SENSOR
	.comm	_IDX_CSIS,8,3                   ## @IDX_CSIS
	.comm	_IDX_FLITE,8,3                  ## @IDX_FLITE
	.comm	_IDX_FIMC,8,3                   ## @IDX_FIMC
	.comm	_IDX_IS_ISP,8,3                 ## @IDX_IS_ISP
	.no_dead_strip	_fimc_pipeline_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_pipeline_prepare
_fimc_pipeline_prepare:                 ; @fimc_pipeline_prepare
	.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	x22, x1
	mov	x20, x0
	mov	x0, x1
	bl	_entity_to_fimc_mdev
	mov	x19, x0
Lloh0:
	adrp	x8, _IDX_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDX_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	lsl	x9, x9, #3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20]
	str	xzr, [x10, x8]
	add	x8, x8, #8
	cmp	x9, x8
	b.ne	LBB0_2
LBB0_3:
	mov	x21, #0
	ldr	w8, [x22]
Lloh3:
	adrp	x25, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh5:
	adrp	x26, _IDX_SENSOR@GOTPAGE
Lloh6:
	ldr	x26, [x26, _IDX_SENSOR@GOTPAGEOFF]
Lloh7:
	adrp	x24, _IDX_FIMC@GOTPAGE
Lloh8:
	ldr	x24, [x24, _IDX_FIMC@GOTPAGEOFF]
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, #0
	mov	x27, #0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x22]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x27, x27, #1
	add	x28, x28, #8
	cmp	x27, w8, sxtw
	b.ge	LBB0_20
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x22, #8]
	add	x0, x9, x28
	ldr	w9, [x0]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	bl	_media_entity_remote_pad
	cbz	x0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	ldr	w0, [x0, #4]
	bl	_is_media_entity_v4l2_subdev
	cbz	w0, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x23, #4]
	bl	_media_entity_to_v4l2_subdev
	mov	x22, x0
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x11, lJTI0_0@PAGE
Lloh10:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_13
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	mov	x8, x26
	br	x9
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x26
	mov	x21, x22
	b	LBB0_18
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh11:
	adrp	x8, _IDX_FLITE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDX_FLITE@GOTPAGEOFF]
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh13:
	adrp	x8, _IDX_IS_ISP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IDX_IS_ISP@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x24
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh15:
	adrp	x8, _IDX_CSIS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IDX_CSIS@GOTPAGEOFF]
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20]
	ldr	x8, [x8]
	str	x22, [x9, x8, lsl #3]
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, #8]!
	cmp	w8, #1
	b.ne	LBB0_4
LBB0_20:
	cbz	x21, LBB0_23
; %bb.21:
	ldr	x8, [x20]
	ldr	x9, [x24]
	ldr	x2, [x8, x9, lsl #3]
	cbz	x2, LBB0_23
; %bb.22:
	mov	x0, x19
	mov	x1, x21
	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
	b	___setup_sensor_notification
LBB0_23:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_14-LBB0_13)>>2
	.byte	(LBB0_18-LBB0_13)>>2
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_16-LBB0_13)>>2
	.byte	(LBB0_17-LBB0_13)>>2
                                        ; -- End function
	.comm	_IDX_MAX,4,2                    ; @IDX_MAX
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_IDX_SENSOR,8,3                 ; @IDX_SENSOR
	.comm	_IDX_CSIS,8,3                   ; @IDX_CSIS
	.comm	_IDX_FLITE,8,3                  ; @IDX_FLITE
	.comm	_IDX_FIMC,8,3                   ; @IDX_FIMC
	.comm	_IDX_IS_ISP,8,3                 ; @IDX_IS_ISP
	.no_dead_strip	_fimc_pipeline_prepare
.subsections_via_symbols
