	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cobalt_s_dv_timings
_cobalt_s_dv_timings:                   ## @cobalt_s_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_video_drvdata
	cmpl	$1, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_cea1080p60@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_2:
	movq	%rax, %r15
	leaq	20(%rax), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_v4l2_match_dv_timings
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	leaq	32(%r15), %rdi
	callq	_vb2_is_busy
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_5:
	movl	28(%r15), %edi
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_s_dv_timings@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rcx
	callq	_v4l2_subdev_call
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r14), %rax
	movq	%rax, 20(%r15)
	movl	(%r14), %eax
	movl	%eax, 4(%r15)
	movl	4(%r14), %ecx
	movl	%ecx, 16(%r15)
	imull	12(%r15), %eax
	movl	%eax, 8(%r15)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_cea1080p60,8,2                 ## @cea1080p60
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_video,4,2                      ## @video
	.comm	_s_dv_timings,4,2               ## @s_dv_timings
	.no_dead_strip	_cobalt_s_dv_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cobalt_s_dv_timings
_cobalt_s_dv_timings:                   ; @cobalt_s_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
	bl	_video_drvdata
	ldr	w8, [x0]
	cmp	w8, #1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x8, _cea1080p60@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cea1080p60@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_7
LBB0_2:
	mov	x20, x0
	add	x1, x0, #20
	mov	x0, x19
	mov	w2, #0
	mov	w3, #1
	bl	_v4l2_match_dv_timings
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_7
; %bb.3:
	add	x0, x20, #32
	bl	_vb2_is_busy
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_5:
	ldr	w0, [x20, #28]
Lloh6:
	adrp	x8, _video@GOTPAGE
Lloh7:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _s_dv_timings@GOTPAGE
Lloh10:
	ldr	x8, [x8, _s_dv_timings@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_v4l2_subdev_call
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x8, [x19]
	stur	x8, [x20, #20]
	ldp	w8, w9, [x19]
	str	w9, [x20, #16]
	ldr	w9, [x20, #12]
	mul	w9, w9, w8
	stp	w8, w9, [x20, #4]
LBB0_7:
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_cea1080p60,8,2                 ; @cea1080p60
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_video,4,2                      ; @video
	.comm	_s_dv_timings,4,2               ; @s_dv_timings
	.no_dead_strip	_cobalt_s_dv_timings
.subsections_via_symbols
