	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function reinit_video_filters
LCPI0_0:
	.quad	0x40f5f90000000000              ## double 9.0E+4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_reinit_video_filters
	.p2align	4, 0x90
_reinit_video_filters:                  ## @reinit_video_filters
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	48(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	40(%r13), %rcx
	movl	(%rcx), %ecx
	andl	$-2, %ecx
	xorl	%edx, %edx
	xorl	%esi, %esi
	cmpl	$128, %ecx
	setne	%dl
	sete	%sil
	movq	8(%rax), %rcx
	movl	(%rcx,%rdx,4), %r12d
	movl	(%rcx,%rsi,4), %r15d
	jmp	LBB0_3
LBB0_1:
	movq	56(%r13), %rax
	movl	(%rax), %r12d
	movl	4(%rax), %r15d
	andl	$-2, %r12d
	andl	$-2, %r15d
	movq	_AV_PIX_FMT_YUV420P@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	movq	32(%r13), %rdx
	movslq	(%rdx), %rcx
	cmpl	%ecx, %ebx
	jne	LBB0_8
## %bb.4:
	cmpl	4(%rdx), %r12d
	jne	LBB0_8
## %bb.5:
	cmpl	8(%rdx), %r15d
	jne	LBB0_8
## %bb.6:
	movq	_HB_ROTATION_0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	40(%r13), %rsi
	cmpl	(%rsi), %eax
	jne	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	callq	_close_video_filters
	xorl	%eax, %eax
	jmp	LBB0_29
LBB0_8:
	cmpq	$0, 24(%r13)
	je	LBB0_9
## %bb.10:
	movl	8(%r13), %edi
	movl	4(%rdx), %esi
	cmpl	%esi, %edi
	jne	LBB0_14
## %bb.11:
	movl	12(%r13), %eax
	cmpl	8(%rdx), %eax
	jne	LBB0_12
## %bb.13:
	xorl	%eax, %eax
	movl	%edi, %esi
	cmpq	%rcx, 16(%r13)
	jne	LBB0_14
	jmp	LBB0_29
LBB0_9:
	movl	4(%rdx), %esi
	jmp	LBB0_14
LBB0_12:
	movl	%edi, %esi
LBB0_14:
	movl	%esi, 8(%r13)
	movl	8(%rdx), %eax
	movl	%eax, 12(%r13)
	movq	%rcx, 16(%r13)
	movq	%r13, %rdi
	callq	_close_video_filters
	leaq	-72(%rbp), %rdi
	leaq	-68(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_hb_video_framerate_get_limits
	movl	-48(%rbp), %eax
	cvtsi2sdl	(%r13), %xmm0
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cvtsi2sd	%eax, %xmm1
	divsd	LCPI0_0(%rip), %xmm1
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_hb_value_array_init
	movq	%rax, %r14
	movq	%rax, -64(%rbp)
	movq	32(%r13), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_17
## %bb.15:
	cmpl	4(%rax), %r12d
	jne	LBB0_17
## %bb.16:
	cmpl	8(%rax), %r15d
	je	LBB0_18
LBB0_17:
	xorl	%eax, %eax
	callq	_hb_dict_init
	movq	%rax, %rbx
	movl	%r12d, %edi
	callq	_hb_value_int
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_hb_dict_set
	movl	%r15d, %edi
	callq	_hb_value_int
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_hb_dict_set
	leaq	L_.str.3(%rip), %rdi
	callq	_hb_value_string
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_hb_dict_set
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_hb_avfilter_append_dict
	xorl	%eax, %eax
	callq	_hb_dict_init
	movq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_hb_value_string
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_hb_dict_set
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_hb_avfilter_append_dict
LBB0_18:
	cvttsd2si	-56(%rbp), %ebx         ## 8-byte Folded Reload
	movq	40(%r13), %rax
	movl	(%rax), %eax
	movq	_HB_ROTATION_0@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_27
## %bb.19:
	cmpl	$130, %eax
	je	LBB0_24
## %bb.20:
	cmpl	$129, %eax
	je	LBB0_25
## %bb.21:
	cmpl	$128, %eax
	jne	LBB0_26
## %bb.22:
	xorl	%eax, %eax
	callq	_hb_dict_init
	movq	%rax, %r15
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_23
LBB0_24:
	xorl	%eax, %eax
	callq	_hb_value_null
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_hb_avfilter_append_dict
	xorl	%eax, %eax
	callq	_hb_value_null
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_hb_avfilter_append_dict
	jmp	LBB0_27
LBB0_25:
	xorl	%eax, %eax
	callq	_hb_dict_init
	movq	%rax, %r15
	leaq	L_.str.13(%rip), %rdi
LBB0_23:
	callq	_hb_value_string
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_hb_dict_set
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_hb_avfilter_append_dict
	jmp	LBB0_27
LBB0_26:
	leaq	L_.str.14(%rip), %rdi
	callq	_hb_log
LBB0_27:
	movq	32(%r13), %rax
	movl	(%rax), %ecx
	movl	%ecx, -112(%rbp)
	movups	4(%rax), %xmm0
	movups	%xmm0, -92(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -100(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -108(%rbp)
	movl	%ebx, -104(%rbp)
	leaq	-112(%rbp), %rsi
	movq	%r14, %rdi
	callq	_hb_avfilter_graph_init
	movq	%rax, 24(%r13)
	leaq	-64(%rbp), %rdi
	callq	_hb_value_free
	xorl	%eax, %eax
	cmpq	$0, 24(%r13)
	jne	LBB0_29
## %bb.28:
	leaq	L_.str.15(%rip), %rdi
	callq	_hb_error
	movq	%r13, %rdi
	callq	_close_video_filters
	movl	$1, %eax
LBB0_29:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_YUV420P,4,2         ## @AV_PIX_FMT_YUV420P
	.comm	_HB_ROTATION_0,4,2              ## @HB_ROTATION_0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"w"

L_.str.1:                               ## @.str.1
	.asciz	"h"

L_.str.2:                               ## @.str.2
	.asciz	"flags"

L_.str.3:                               ## @.str.3
	.asciz	"lanczos+accurate_rnd"

L_.str.4:                               ## @.str.4
	.asciz	"scale"

L_.str.5:                               ## @.str.5
	.asciz	"pix_fmts"

L_.str.6:                               ## @.str.6
	.asciz	"yuv420p"

L_.str.7:                               ## @.str.7
	.asciz	"format"

L_.str.8:                               ## @.str.8
	.asciz	"dir"

L_.str.9:                               ## @.str.9
	.asciz	"cclock"

L_.str.10:                              ## @.str.10
	.asciz	"transpose"

L_.str.11:                              ## @.str.11
	.asciz	"hflip"

L_.str.12:                              ## @.str.12
	.asciz	"vflip"

L_.str.13:                              ## @.str.13
	.asciz	"clock"

L_.str.14:                              ## @.str.14
	.asciz	"reinit_video_filters: Unknown rotation, failed"

L_.str.15:                              ## @.str.15
	.asciz	"reinit_video_filters: failed to create filter graph"

	.comm	_MFX_IOPATTERN_OUT_VIDEO_MEMORY,8,3 ## @MFX_IOPATTERN_OUT_VIDEO_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reinit_video_filters           ; -- Begin function reinit_video_filters
	.p2align	2
_reinit_video_filters:                  ; @reinit_video_filters
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x0
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x19, #40]
	ldr	w9, [x9]
	and	w9, w9, #0xfffffffe
	cmp	w9, #128
	cset	w9, eq
	cset	w10, ne
	ldr	x11, [x8, #8]
	ldr	w22, [x11, w10, uxtw #2]
	ldr	w21, [x11, w9, uxtw #2]
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19, #56]
	ldp	w9, w8, [x8]
	and	w22, w9, #0xfffffffe
	and	w21, w8, #0xfffffffe
Lloh0:
	adrp	x8, _AV_PIX_FMT_YUV420P@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_YUV420P@GOTPAGEOFF]
LBB0_3:
	ldr	w23, [x8]
	ldr	x8, [x19, #32]
	ldrsw	x9, [x8]
	cmp	w23, w9
	b.ne	LBB0_8
; %bb.4:
	ldr	w10, [x8, #4]
	cmp	w22, w10
	b.ne	LBB0_8
; %bb.5:
	ldr	w10, [x8, #8]
	cmp	w21, w10
	b.ne	LBB0_8
; %bb.6:
Lloh2:
	adrp	x10, _HB_ROTATION_0@GOTPAGE
Lloh3:
	ldr	x10, [x10, _HB_ROTATION_0@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	ldr	x11, [x19, #40]
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_close_video_filters
	mov	w0, #0
	b	LBB0_30
LBB0_8:
	ldr	x10, [x19, #24]
	cbz	x10, LBB0_12
; %bb.9:
	ldr	w10, [x19, #8]
	ldr	w11, [x8, #4]
	cmp	w10, w11
	b.ne	LBB0_14
; %bb.10:
	ldr	w11, [x19, #12]
	ldr	w12, [x8, #8]
	cmp	w11, w12
	b.ne	LBB0_13
; %bb.11:
	ldr	x12, [x19, #16]
	mov	x11, x10
	cmp	x12, x9
	b.ne	LBB0_14
	b	LBB0_28
LBB0_12:
	ldr	w11, [x8, #4]
	b	LBB0_14
LBB0_13:
	mov	x11, x10
LBB0_14:
	str	w11, [x19, #8]
	ldr	w8, [x8, #8]
	str	w8, [x19, #12]
	str	x9, [x19, #16]
	mov	x0, x19
	bl	_close_video_filters
	add	x0, sp, #12
	add	x1, sp, #8
	add	x2, sp, #4
	bl	_hb_video_framerate_get_limits
	ldr	w24, [sp, #4]
	ldr	s0, [x19]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	scvtf	d1, w24
	mov	x8, #273778395316224
	movk	x8, #16629, lsl #48
	fmov	d2, x8
	fdiv	d1, d1, d2
	fmul	d8, d1, d0
	bl	_hb_value_array_init
	mov	x20, x0
	str	x0, [sp, #56]
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	cmp	w23, w9
	b.ne	LBB0_17
; %bb.15:
	ldr	w9, [x8, #4]
	cmp	w22, w9
	b.ne	LBB0_17
; %bb.16:
	ldr	w8, [x8, #8]
	cmp	w21, w8
	b.eq	LBB0_18
LBB0_17:
	bl	_hb_dict_init
	mov	x23, x0
	mov	x0, x22
	bl	_hb_value_int
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_hb_dict_set
	mov	x0, x21
	bl	_hb_value_int
	mov	x2, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_hb_dict_set
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_hb_value_string
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_hb_dict_set
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_hb_avfilter_append_dict
	bl	_hb_dict_init
	mov	x21, x0
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_hb_value_string
	mov	x2, x0
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_hb_dict_set
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_hb_avfilter_append_dict
LBB0_18:
	fcvtzs	w22, d8
	ldr	x8, [x19, #40]
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _HB_ROTATION_0@GOTPAGE
Lloh22:
	ldr	x9, [x9, _HB_ROTATION_0@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_27
; %bb.19:
	cmp	w8, #130
	b.eq	LBB0_23
; %bb.20:
	cmp	w8, #129
	b.eq	LBB0_24
; %bb.21:
	cmp	w8, #128
	b.ne	LBB0_26
; %bb.22:
	bl	_hb_dict_init
	mov	x21, x0
Lloh24:
	adrp	x0, l_.str.9@PAGE
Lloh25:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_25
LBB0_23:
	bl	_hb_value_null
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.11@PAGE
Lloh27:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_hb_avfilter_append_dict
	bl	_hb_value_null
	mov	x2, x0
Lloh28:
	adrp	x1, l_.str.12@PAGE
Lloh29:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x20
	bl	_hb_avfilter_append_dict
	b	LBB0_27
LBB0_24:
	bl	_hb_dict_init
	mov	x21, x0
Lloh30:
	adrp	x0, l_.str.13@PAGE
Lloh31:
	add	x0, x0, l_.str.13@PAGEOFF
LBB0_25:
	bl	_hb_value_string
	mov	x2, x0
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_hb_dict_set
Lloh34:
	adrp	x1, l_.str.10@PAGE
Lloh35:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_hb_avfilter_append_dict
	b	LBB0_27
LBB0_26:
Lloh36:
	adrp	x0, l_.str.14@PAGE
Lloh37:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_hb_log
LBB0_27:
	ldr	x8, [x19, #32]
	ldr	w9, [x8]
	ldur	q0, [x8, #4]
	stur	q0, [sp, #36]
	movi.2s	v0, #1
	stur	d0, [sp, #28]
	stp	w9, w24, [sp, #16]
	str	w22, [sp, #24]
	add	x1, sp, #16
	mov	x0, x20
	bl	_hb_avfilter_graph_init
	str	x0, [x19, #24]
	add	x0, sp, #56
	bl	_hb_value_free
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_29
LBB0_28:
	mov	w0, #0
	b	LBB0_30
LBB0_29:
Lloh38:
	adrp	x0, l_.str.15@PAGE
Lloh39:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_hb_error
	mov	x0, x19
	bl	_close_video_filters
	mov	w0, #1
LBB0_30:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_YUV420P,4,2         ; @AV_PIX_FMT_YUV420P
	.comm	_HB_ROTATION_0,4,2              ; @HB_ROTATION_0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"w"

l_.str.1:                               ; @.str.1
	.asciz	"h"

l_.str.2:                               ; @.str.2
	.asciz	"flags"

l_.str.3:                               ; @.str.3
	.asciz	"lanczos+accurate_rnd"

l_.str.4:                               ; @.str.4
	.asciz	"scale"

l_.str.5:                               ; @.str.5
	.asciz	"pix_fmts"

l_.str.6:                               ; @.str.6
	.asciz	"yuv420p"

l_.str.7:                               ; @.str.7
	.asciz	"format"

l_.str.8:                               ; @.str.8
	.asciz	"dir"

l_.str.9:                               ; @.str.9
	.asciz	"cclock"

l_.str.10:                              ; @.str.10
	.asciz	"transpose"

l_.str.11:                              ; @.str.11
	.asciz	"hflip"

l_.str.12:                              ; @.str.12
	.asciz	"vflip"

l_.str.13:                              ; @.str.13
	.asciz	"clock"

l_.str.14:                              ; @.str.14
	.asciz	"reinit_video_filters: Unknown rotation, failed"

l_.str.15:                              ; @.str.15
	.asciz	"reinit_video_filters: failed to create filter graph"

	.comm	_MFX_IOPATTERN_OUT_VIDEO_MEMORY,8,3 ; @MFX_IOPATTERN_OUT_VIDEO_MEMORY
.subsections_via_symbols
