	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpif_query_dv_timings
_vpif_query_dv_timings:                 ## @vpif_query_dv_timings
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	_vpif_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	callq	_video_devdata
	movq	%rax, %rdi
	callq	_video_get_drvdata
	movq	(%rbx), %rcx
	movq	(%rax), %rdx
	movq	(%rcx,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movq	8(%rax), %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	_V4L2_IN_CAP_DV_TIMINGS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.2:
	movl	16(%rax), %edi
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_query_dv_timings@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_v4l2_subdev_call
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	jne	LBB0_5
LBB0_4:
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vpif_dev,8,3                   ## @vpif_dev
	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_V4L2_IN_CAP_DV_TIMINGS,8,3     ## @V4L2_IN_CAP_DV_TIMINGS
	.comm	_video,4,2                      ## @video
	.comm	_query_dv_timings,4,2           ## @query_dv_timings
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_vpif_query_dv_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpif_query_dv_timings
_vpif_query_dv_timings:                 ; @vpif_query_dv_timings
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, _vpif_dev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vpif_dev@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x20, [x8]
	bl	_video_devdata
	bl	_video_get_drvdata
	ldr	x8, [x20]
	ldr	x9, [x0]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x0, #8]
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _V4L2_IN_CAP_DV_TIMINGS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_IN_CAP_DV_TIMINGS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x0, #16]
Lloh6:
	adrp	x8, _video@GOTPAGE
Lloh7:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _query_dv_timings@GOTPAGE
Lloh10:
	ldr	x8, [x8, _query_dv_timings@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_v4l2_subdev_call
Lloh12:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_4
; %bb.3:
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_5
LBB0_4:
Lloh18:
	adrp	x8, _ENODATA@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_vpif_dev,8,3                   ; @vpif_dev
	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_V4L2_IN_CAP_DV_TIMINGS,8,3     ; @V4L2_IN_CAP_DV_TIMINGS
	.comm	_video,4,2                      ; @video
	.comm	_query_dv_timings,4,2           ; @query_dv_timings
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_vpif_query_dv_timings
.subsections_via_symbols
