	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function camif_pipeline_validate
_camif_pipeline_validate:               ## @camif_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	32(%rdi), %rdi
	callq	_media_entity_remote_pad
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_is_media_entity_v4l2_subdev
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	(%rbx), %eax
	movl	%eax, -20(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	24(%r14), %edi
	movq	_get_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_7
LBB0_4:
	movq	-48(%rbp), %rax
	cmpq	(%r14), %rax
	jne	LBB0_7
## %bb.5:
	movq	-40(%rbp), %rax
	cmpq	8(%r14), %rax
	jne	LBB0_7
## %bb.6:
	movq	-32(%rbp), %rcx
	xorl	%eax, %eax
	cmpq	16(%r14), %rcx
	je	LBB0_8
LBB0_7:
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ## @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.no_dead_strip	_camif_pipeline_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function camif_pipeline_validate
_camif_pipeline_validate:               ; @camif_pipeline_validate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #32]
	bl	_media_entity_remote_pad
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_is_media_entity_v4l2_subdev
	cbz	w0, LBB0_8
; %bb.2:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #24]
	ldr	w0, [x19, #24]
Lloh3:
	adrp	x8, _get_fmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_fmt@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x4, sp
	mov	x1, x20
	mov	x3, #0
	bl	_v4l2_subdev_call
	tbz	w0, #31, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_8
LBB0_4:
	ldr	x8, [sp]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [sp, #16]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh9:
	adrp	x8, _EPIPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_get_fmt,4,2                    ; @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.no_dead_strip	_camif_pipeline_validate
.subsections_via_symbols
