	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivtv_try_fmt_vid_out
_ivtv_try_fmt_vid_out:                  ## @ivtv_try_fmt_vid_out
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_fh2id
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %r13
	movq	8(%rbx), %r15
	movl	(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_ivtv_g_fmt_vid_out
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	$720, %esi                      ## imm = 0x2D0
	callq	_min
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_max
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	$576, %esi                      ## imm = 0x240
	callq	_min
	movq	%rax, %rdi
	movl	$2, %esi
	callq	_max
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	_IVTV_DEC_STREAM_TYPE_YUV@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rbx)
LBB0_2:
	movq	%r12, 16(%rbx)
	movq	%rax, 8(%rbx)
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IVTV_DEC_STREAM_TYPE_YUV,8,3   ## @IVTV_DEC_STREAM_TYPE_YUV
	.no_dead_strip	_ivtv_try_fmt_vid_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivtv_try_fmt_vid_out
_ivtv_try_fmt_vid_out:                  ; @ivtv_try_fmt_vid_out
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_fh2id
	mov	x22, x0
	ldp	x24, x23, [x19, #8]
	ldr	w25, [x19]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ivtv_g_fmt_vid_out
	mov	x20, x0
	mov	x0, x23
	mov	w1, #720
	bl	_min
	mov	w1, #2
	bl	_max
	mov	x21, x0
	mov	x0, x24
	mov	w1, #576
	bl	_min
	mov	w1, #2
	bl	_max
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _IVTV_DEC_STREAM_TYPE_YUV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IVTV_DEC_STREAM_TYPE_YUV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	str	w25, [x19]
LBB0_2:
	stp	x0, x21, [x19, #8]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IVTV_DEC_STREAM_TYPE_YUV,8,3   ; @IVTV_DEC_STREAM_TYPE_YUV
	.no_dead_strip	_ivtv_try_fmt_vid_out
.subsections_via_symbols
