	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function venc_s_dv_timings
_venc_s_dv_timings:                     ## @venc_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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_to_state
	movq	%rax, %r14
	movl	(%rbx), %ebx
	movq	_debug@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rcx
	movl	$1, %esi
	movq	%r15, %rdx
	callq	_v4l2_dbg
	cmpl	$719, %ebx                      ## imm = 0x2CF
	jg	LBB0_4
## %bb.1:
	cmpl	$480, %ebx                      ## imm = 0x1E0
	je	LBB0_8
## %bb.2:
	cmpl	$576, %ebx                      ## imm = 0x240
	jne	LBB0_12
## %bb.3:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_venc_set_576p50                ## TAILCALL
LBB0_4:
	cmpl	$720, %ebx                      ## imm = 0x2D0
	je	LBB0_9
## %bb.5:
	cmpl	$1080, %ebx                     ## imm = 0x438
	jne	LBB0_12
## %bb.6:
	movq	(%r14), %rax
	movq	_VPBE_VERSION_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.7:
	movq	%r15, %rdi
	callq	_venc_set_1080i30_internal
	jmp	LBB0_11
LBB0_8:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_venc_set_480p59_94             ## TAILCALL
LBB0_9:
	movq	(%r14), %rax
	movq	_VPBE_VERSION_2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	%r15, %rdi
	callq	_venc_set_720p60_internal
LBB0_11:
	movl	%eax, %ebx
	movq	_VDAC_CONFIG_HD_V2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_vdaccfg_write
	movl	%ebx, %eax
	jmp	LBB0_13
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"venc_s_dv_timings\n"

	.comm	_VPBE_VERSION_2,8,3             ## @VPBE_VERSION_2
	.comm	_VDAC_CONFIG_HD_V2,4,2          ## @VDAC_CONFIG_HD_V2
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_venc_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 venc_s_dv_timings
_venc_s_dv_timings:                     ; @venc_s_dv_timings
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	bl	_to_state
	mov	x20, x0
	ldr	w21, [x21]
Lloh0:
	adrp	x8, _debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #1
	mov	x2, x19
	bl	_v4l2_dbg
	cmp	w21, #719
	b.gt	LBB0_4
; %bb.1:
	cmp	w21, #480
	b.eq	LBB0_8
; %bb.2:
	cmp	w21, #576
	b.ne	LBB0_12
; %bb.3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_venc_set_576p50
LBB0_4:
	cmp	w21, #720
	b.eq	LBB0_9
; %bb.5:
	cmp	w21, #1080
	b.ne	LBB0_12
; %bb.6:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _VPBE_VERSION_2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VPBE_VERSION_2@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x19
	bl	_venc_set_1080i30_internal
	b	LBB0_11
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_venc_set_480p59_94
LBB0_9:
	ldr	x8, [x20]
Lloh8:
	adrp	x9, _VPBE_VERSION_2@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VPBE_VERSION_2@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x19
	bl	_venc_set_720p60_internal
LBB0_11:
	mov	x20, x0
Lloh11:
	adrp	x8, _VDAC_CONFIG_HD_V2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VDAC_CONFIG_HD_V2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_vdaccfg_write
	mov	x0, x20
	b	LBB0_13
LBB0_12:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"venc_s_dv_timings\n"

	.comm	_VPBE_VERSION_2,8,3             ; @VPBE_VERSION_2
	.comm	_VDAC_CONFIG_HD_V2,4,2          ; @VDAC_CONFIG_HD_V2
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_venc_s_dv_timings
.subsections_via_symbols
