	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_pipeline_validate
_fimc_pipeline_validate:                ## @fimc_pipeline_validate
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	24(%rdi), %edi
	callq	_to_fimc_pipeline
	movl	8(%rbx), %edx
	testl	%edx, %edx
	jle	LBB0_30
## %bb.1:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	8(%rbx), %r12
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r14
	movslq	%edx, %rcx
	addq	$12, %rbx
	cmpq	%rcx, %r14
	jge	LBB0_30
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r12), %r13
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, (%r13,%rbx)
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	(%rbx,%r13), %rdi
	callq	_media_entity_remote_pad
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r12), %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movl	8(%rax), %edi
	callq	_is_media_entity_v4l2_subdev
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_31
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13,%rbx), %eax
	movl	%eax, -80(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	_pad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	leaq	-112(%rbp), %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jns	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_15
	jmp	LBB0_33
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movups	32(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	56(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rax
	jmp	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, -96(%rbp)
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %edi
	callq	_media_entity_to_v4l2_subdev
	movq	%rax, %r12
	movl	4(%r15), %eax
	movl	%eax, -120(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
	movq	_pad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%ecx, %ecx
	leaq	-152(%rbp), %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jns	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_33
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-152(%rbp), %rax
	cmpq	-112(%rbp), %rax
	jne	LBB0_33
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-144(%rbp), %rax
	cmpq	-104(%rbp), %rax
	jne	LBB0_33
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-136(%rbp), %rdi
	cmpq	-96(%rbp), %rdi
	jne	LBB0_33
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_IDX_SENSOR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rax,%rcx,8), %r12
	je	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edx
	testl	%edx, %edx
	jg	LBB0_2
	jmp	LBB0_31
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_fimc_user_defined_mbus_fmt
	testq	%rax, %rax
	je	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rsp, %r15
	movq	_FIMC_MAX_PLANES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	24(%r14), %rax
	movl	8(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_fimc_get_sensor_frame_desc
	testl	%eax, %eax
	js	LBB0_34
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r14), %rax
	movl	8(%rax), %eax
	testq	%rax, %rax
	je	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r14), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rdx,8), %rsi
	cmpq	(%rbx,%rdx,8), %rsi
	jl	LBB0_34
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_26
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsp
	xorl	%r14d, %r14d
	jmp	LBB0_21
LBB0_30:
	xorl	%r14d, %r14d
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.32:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_31
LBB0_34:
	movq	_EPIPE@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	%r15, %rsp
	jmp	LBB0_31
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_PAD_FL_SINK,4,2          ## @MEDIA_PAD_FL_SINK
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,8,3  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_pad,4,2                        ## @pad
	.comm	_get_fmt,4,2                    ## @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_IDX_SENSOR,8,3                 ## @IDX_SENSOR
	.comm	_FIMC_MAX_PLANES,4,2            ## @FIMC_MAX_PLANES
	.no_dead_strip	_fimc_pipeline_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_pipeline_validate
_fimc_pipeline_validate:                ; @fimc_pipeline_validate
	.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
	sub	sp, sp, #96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x0, #24]
	bl	_to_fimc_pipeline
	mov	x23, x19
	ldr	w8, [x23, #8]!
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x24, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh4:
	ldr	x24, [x24, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh5:
	adrp	x27, _get_fmt@GOTPAGE
Lloh6:
	ldr	x27, [x27, _get_fmt@GOTPAGEOFF]
	mov	x21, x23
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
	mov	x28, #0
	mov	x25, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	add	x25, x25, #1
	add	x28, x28, #12
	cmp	x25, w8, sxtw
	b.ge	LBB0_28
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x26, [x21, #8]
	add	x0, x26, x28
	ldr	w9, [x0]
	ldr	w10, [x24]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	bl	_media_entity_remote_pad
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x21]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x0
	ldr	w0, [x0, #8]
	bl	_is_media_entity_v4l2_subdev
	cbz	w0, LBB0_29
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x21, x23
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x26, x28
	ldr	w8, [x8, #4]
	stur	w8, [x29, #-96]
Lloh7:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	stur	x8, [x29, #-104]
Lloh10:
	adrp	x8, _pad@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pad@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x27]
	sub	x4, x29, #128
	mov	x0, x21
	mov	x3, #0
	bl	_v4l2_subdev_call
	tbz	w0, #31, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh13:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_14
	b	LBB0_31
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	ldr	q0, [x8, #32]
	stur	q0, [x29, #-128]
	ldr	x8, [x8, #56]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	stur	x8, [x29, #-112]
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22, #8]
	bl	_media_entity_to_v4l2_subdev
	mov	x21, x0
	ldr	w8, [x22, #4]
	stur	w8, [x29, #-136]
Lloh16:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	stur	x8, [x29, #-144]
Lloh19:
	adrp	x8, _pad@GOTPAGE
Lloh20:
	ldr	x8, [x8, _pad@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w2, [x27]
	sub	x4, x29, #168
	mov	x3, #0
	bl	_v4l2_subdev_call
	tbz	w0, #31, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh22:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_31
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x29, #-168]
	ldur	x9, [x29, #-128]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	ldur	x8, [x29, #-160]
	ldur	x9, [x29, #-120]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldur	x0, [x29, #-152]
	ldur	x8, [x29, #-112]
	cmp	x0, x8
	b.ne	LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20]
Lloh25:
	adrp	x9, _IDX_SENSOR@GOTPAGE
Lloh26:
	ldr	x9, [x9, _IDX_SENSOR@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x21, x8
	b.eq	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	ldr	w8, [x21]
	cmp	w8, #0
	b.gt	LBB0_2
	b	LBB0_29
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_fimc_user_defined_mbus_fmt
	cbz	x0, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, sp
Lloh28:
	adrp	x8, _FIMC_MAX_PLANES@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FIMC_MAX_PLANES@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh31:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh32:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	x25, [x19]
	ldr	x8, [x25, #24]
	ldr	w2, [x8, #8]
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	bl	_fimc_get_sensor_frame_desc
	tbnz	w0, #31, LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25, #24]
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x25, #16]
LBB0_25:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x9]
	ldr	x11, [x22]
	cmp	x10, x11
	b.lt	LBB0_32
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	add	x9, x9, #8
	add	x22, x22, #8
	subs	x8, x8, #1
	b.ne	LBB0_25
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	sp, x28
	b	LBB0_20
LBB0_28:
	mov	w0, #0
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh33:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh34:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.30:
	sub	sp, x29, #80
	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
LBB0_31:
Lloh36:
	adrp	x8, _EPIPE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_29
LBB0_32:
Lloh39:
	adrp	x8, _EPIPE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w0, w8
	mov	sp, x28
	b	LBB0_29
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_PAD_FL_SINK,4,2          ; @MEDIA_PAD_FL_SINK
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,8,3  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_pad,4,2                        ; @pad
	.comm	_get_fmt,4,2                    ; @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_IDX_SENSOR,8,3                 ; @IDX_SENSOR
	.comm	_FIMC_MAX_PLANES,4,2            ; @FIMC_MAX_PLANES
	.no_dead_strip	_fimc_pipeline_validate
.subsections_via_symbols
