	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vimc_link_validate             ## -- Begin function vimc_link_validate
	.p2align	4, 0x90
_vimc_link_validate:                    ## @vimc_link_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	%rbx
	subq	$216, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	leaq	-72(%rbp), %rsi
	callq	_vimc_get_mbus_format
	testl	%eax, %eax
	jne	LBB0_20
## %bb.1:
	movq	(%rbx), %rdi
	leaq	-136(%rbp), %rsi
	callq	_vimc_get_mbus_format
	testl	%eax, %eax
	jne	LBB0_20
## %bb.2:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %esi
	movq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx
	movq	-56(%rbp), %r8
	movq	-48(%rbp), %r9
	movups	-40(%rbp), %xmm0
	movq	-24(%rbp), %rdi
	movq	(%rax), %rax
	movl	(%rax), %eax
	movups	-136(%rbp), %xmm1
	movups	-120(%rbp), %xmm2
	movups	-104(%rbp), %xmm3
	movq	-88(%rbp), %rbx
	movq	%rbx, 80(%rsp)
	movups	%xmm3, 64(%rsp)
	movups	%xmm2, 48(%rsp)
	movups	%xmm1, 32(%rsp)
	movl	%eax, 24(%rsp)
	movq	%rdi, 16(%rsp)
	movups	%xmm0, (%rsp)
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	-72(%rbp), %rax
	cmpq	-136(%rbp), %rax
	jne	LBB0_19
## %bb.3:
	movq	-64(%rbp), %rax
	cmpq	-128(%rbp), %rax
	jne	LBB0_19
## %bb.4:
	movq	-56(%rbp), %rax
	cmpq	-120(%rbp), %rax
	jne	LBB0_19
## %bb.5:
	movq	-80(%rbp), %rax
	cmpq	%rax, -16(%rbp)
	je	LBB0_7
## %bb.6:
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
LBB0_19:
	movq	_EPIPE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_20:
	addq	$216, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	movq	-48(%rbp), %rcx
	movq	_V4L2_COLORSPACE_DEFAULT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%eax, %eax
	cmpq	%rdx, %rcx
	je	LBB0_20
## %bb.8:
	movq	-112(%rbp), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_20
## %bb.9:
	cmpq	%rsi, %rcx
	jne	LBB0_19
## %bb.10:
	movq	-24(%rbp), %rcx
	movq	_V4L2_YCBCR_ENC_DEFAULT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_13
## %bb.11:
	movq	-88(%rbp), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_13
## %bb.12:
	cmpq	%rsi, %rcx
	jne	LBB0_19
LBB0_13:
	movq	-40(%rbp), %rcx
	movq	_V4L2_QUANTIZATION_DEFAULT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_16
## %bb.14:
	movq	-104(%rbp), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_16
## %bb.15:
	cmpq	%rsi, %rcx
	jne	LBB0_19
LBB0_16:
	movq	-32(%rbp), %rcx
	movq	_V4L2_XFER_FUNC_DEFAULT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_20
## %bb.17:
	movq	-96(%rbp), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_20
## %bb.18:
	cmpq	%rsi, %rcx
	jne	LBB0_19
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vimc link validate: %s:src:%dx%d (0x%x, %d, %d, %d, %d) %s:snk:%dx%d (0x%x, %d, %d, %d, %d)\n"

	.comm	_EPIPE,4,2                      ## @EPIPE
	.comm	_V4L2_FIELD_NONE,8,3            ## @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_DEFAULT,8,3    ## @V4L2_COLORSPACE_DEFAULT
	.comm	_V4L2_YCBCR_ENC_DEFAULT,8,3     ## @V4L2_YCBCR_ENC_DEFAULT
	.comm	_V4L2_QUANTIZATION_DEFAULT,8,3  ## @V4L2_QUANTIZATION_DEFAULT
	.comm	_V4L2_XFER_FUNC_DEFAULT,8,3     ## @V4L2_XFER_FUNC_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vimc_link_validate             ; -- Begin function vimc_link_validate
	.p2align	2
_vimc_link_validate:                    ; @vimc_link_validate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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, #8]
	sub	x1, x29, #80
	bl	_vimc_get_mbus_format
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	x0, [x19]
	add	x1, sp, #80
	bl	_vimc_get_mbus_format
	cbnz	w0, LBB0_8
; %bb.2:
	ldp	x9, x8, [x19]
	ldr	x8, [x8]
	ldr	w1, [x8]
	ldp	x2, x3, [x29, #-80]
	ldp	x4, x5, [x29, #-64]
	ldp	x6, x7, [x29, #-48]
	ldur	x8, [x29, #-32]
	ldr	x9, [x9]
	ldr	w9, [x9]
	ldp	q0, q1, [sp, #80]
	ldr	q2, [sp, #112]
	ldr	x10, [sp, #128]
	str	x10, [sp, #64]
	stp	q1, q2, [sp, #32]
	str	q0, [sp, #16]
	str	w9, [sp, #8]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	ldur	x8, [x29, #-80]
	ldr	x9, [sp, #80]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldur	x8, [x29, #-72]
	ldr	x9, [sp, #88]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.4:
	ldur	x8, [x29, #-64]
	ldr	x9, [sp, #96]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	ldur	x9, [x29, #-24]
	ldr	x8, [sp, #136]
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.6:
Lloh2:
	adrp	x9, _V4L2_FIELD_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_7:
Lloh5:
	adrp	x8, _EPIPE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh8:
	adrp	x9, _V4L2_COLORSPACE_DEFAULT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_COLORSPACE_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.10:
	ldr	x10, [sp, #104]
	cmp	x10, x9
	b.ne	LBB0_12
LBB0_11:
	mov	w0, #0
	b	LBB0_8
LBB0_12:
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.13:
	ldur	x8, [x29, #-32]
Lloh11:
	adrp	x9, _V4L2_YCBCR_ENC_DEFAULT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _V4L2_YCBCR_ENC_DEFAULT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.14:
	ldr	x10, [sp, #128]
	cmp	x10, x9
	b.eq	LBB0_16
; %bb.15:
	cmp	x8, x10
	b.ne	LBB0_7
LBB0_16:
	ldur	x8, [x29, #-48]
Lloh14:
	adrp	x9, _V4L2_QUANTIZATION_DEFAULT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V4L2_QUANTIZATION_DEFAULT@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.17:
	ldr	x10, [sp, #112]
	cmp	x10, x9
	b.eq	LBB0_19
; %bb.18:
	cmp	x8, x10
	b.ne	LBB0_7
LBB0_19:
	ldur	x8, [x29, #-40]
Lloh17:
	adrp	x9, _V4L2_XFER_FUNC_DEFAULT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _V4L2_XFER_FUNC_DEFAULT@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.20:
	mov	w0, #0
	ldr	x10, [sp, #120]
	cmp	x10, x9
	b.eq	LBB0_8
; %bb.21:
	cmp	x8, x10
	b.ne	LBB0_7
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vimc link validate: %s:src:%dx%d (0x%x, %d, %d, %d, %d) %s:snk:%dx%d (0x%x, %d, %d, %d, %d)\n"

	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_V4L2_FIELD_NONE,8,3            ; @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_DEFAULT,8,3    ; @V4L2_COLORSPACE_DEFAULT
	.comm	_V4L2_YCBCR_ENC_DEFAULT,8,3     ; @V4L2_YCBCR_ENC_DEFAULT
	.comm	_V4L2_QUANTIZATION_DEFAULT,8,3  ; @V4L2_QUANTIZATION_DEFAULT
	.comm	_V4L2_XFER_FUNC_DEFAULT,8,3     ; @V4L2_XFER_FUNC_DEFAULT
.subsections_via_symbols
