	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xvip_dma_verify_format
_xvip_dma_verify_format:                ## @xvip_dma_verify_format
	.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	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	addq	$32, %rdi
	leaq	-20(%rbp), %rsi
	callq	_xvip_dma_remote_subdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -24(%rbp)
	movq	_pad@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_get_fmt@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r8
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	24(%r14), %rax
	movq	(%rax), %rax
	cmpq	-56(%rbp), %rax
	jne	LBB0_8
## %bb.5:
	movq	(%r14), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.6:
	movq	8(%r14), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movq	16(%r14), %rax
	xorl	%ebx, %ebx
	cmpq	-32(%rbp), %rax
	je	LBB0_10
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_EPIPE@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_3:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ebx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmovnel	%eax, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$48, %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	_pad,4,2                        ## @pad
	.comm	_get_fmt,4,2                    ## @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_xvip_dma_verify_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xvip_dma_verify_format
_xvip_dma_verify_format:                ; @xvip_dma_verify_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #32
	add	x8, sp, #8
	add	x1, x8, #36
	bl	_xvip_dma_remote_subdev
	cbz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, _pad@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pad@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _get_fmt@GOTPAGE
Lloh7:
	ldr	x8, [x8, _get_fmt@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x3, #0
	bl	_v4l2_subdev_call
	tbnz	w0, #31, LBB0_10
; %bb.2:
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	ldr	x8, [x19]
	ldr	x9, [sp, #16]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x9, [sp, #24]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [x19, #16]
	ldr	x9, [sp, #32]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	mov	w0, #0
	b	LBB0_11
LBB0_7:
Lloh9:
	adrp	x8, _EPIPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EPIPE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_10:
Lloh13:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _EINVAL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmn	w0, w8
	csneg	w0, w0, w9, ne
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EPIPE,4,2                      ; @EPIPE
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_pad,4,2                        ; @pad
	.comm	_get_fmt,4,2                    ; @get_fmt
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_xvip_dma_verify_format
.subsections_via_symbols
