	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	leaq	24(%rdi), %r14
	movq	%r14, %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r12
	movq	_MEDIA_PAD_FL_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, %r15
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r12), %eax
	movl	%eax, -48(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	leaq	-80(%rbp), %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jns	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_6
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movups	8(%r13), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_media_entity_remote_pad
	testq	%rax, %rax
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movl	8(%rax), %edi
	callq	_is_media_entity_v4l2_subdev
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	8(%rbx), %edi
	callq	_media_entity_to_v4l2_subdev
	movq	%rax, %r15
	movl	4(%rbx), %eax
	movl	%eax, -88(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	leaq	-120(%rbp), %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jns	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-120(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-112(%rbp), %rax
	cmpq	-72(%rbp), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-104(%rbp), %rax
	cmpq	-64(%rbp), %rax
	je	LBB0_1
LBB0_13:
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_get_fmt,4,2                    ## @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.comm	_EPIPE,4,2                      ## @EPIPE
	.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:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _MEDIA_PAD_FL_SINK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MEDIA_PAD_FL_SINK@GOTPAGEOFF]
Lloh2:
	adrp	x23, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
	add	x24, x0, #24
Lloh4:
	adrp	x25, _get_fmt@GOTPAGE
Lloh5:
	ldr	x25, [x25, _get_fmt@GOTPAGEOFF]
Lloh6:
	adrp	x26, _ENOIOCTLCMD@GOTPAGE
Lloh7:
	ldr	x26, [x26, _ENOIOCTLCMD@GOTPAGEOFF]
	mov	x20, x24
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x20]
	ldr	w8, [x21]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	x20, x24
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x21, #4]
	str	w8, [sp, #80]
	ldr	x8, [x23]
	str	x8, [sp, #72]
	ldr	w2, [x25]
	add	x4, sp, #48
	mov	x0, x20
	mov	x1, x21
	mov	x3, #0
	bl	_v4l2_subdev_call
	tbz	w0, #31, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x26]
	cmn	w0, w8
	b.eq	LBB0_6
	b	LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldur	q0, [x19, #8]
	str	q0, [sp, #48]
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	x8, [sp, #64]
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_media_entity_remote_pad
	cbz	x0, LBB0_15
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_is_media_entity_v4l2_subdev
	cbz	w0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x21, #8]
	bl	_media_entity_to_v4l2_subdev
	mov	x20, x0
	ldr	w8, [x21, #4]
	str	w8, [sp, #40]
	ldr	x8, [x23]
	str	x8, [sp, #32]
	ldr	w2, [x25]
	add	x4, sp, #8
	mov	x1, x21
	mov	x3, #0
	bl	_v4l2_subdev_call
	tbz	w0, #31, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x26]
	cmn	w0, w8
	b.ne	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [sp, #48]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #16]
	ldr	x9, [sp, #56]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [sp, #24]
	ldr	x9, [sp, #64]
	cmp	x8, x9
	b.eq	LBB0_1
LBB0_13:
Lloh8:
	adrp	x8, _EPIPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.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	_get_fmt,4,2                    ; @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.comm	_EPIPE,4,2                      ; @EPIPE
	.no_dead_strip	_fimc_pipeline_validate
.subsections_via_symbols
