	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deinterlace_init
_deinterlace_init:                      ## @deinterlace_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	$1, %ebx
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r13
	movq	(%r14), %rax
	movq	%rax, 16(%r13)
	movq	(%r15), %rbx
	movl	$3, -44(%rbp)
	movl	$-1, -48(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_hb_dict_extract_int
	leaq	L_.str.1(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_hb_dict_extract_int
	movq	_MODE_YADIF_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_10
## %bb.2:
	xorl	%eax, %eax
	callq	_hb_dict_init
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_hb_dict_init
	movl	-44(%rbp), %ecx
	movq	_MODE_YADIF_BOB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	movq	_MODE_YADIF_SPATIAL@GOTPCREL(%rip), %rsi
	andl	(%rsi), %ecx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rcx, %rsi
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.4(%rip), %rdi
	cmoveq	%rcx, %rdi
	movq	%rax, %r12
	testl	%edx, %edx
	cmovneq	%rsi, %rdi
	callq	_hb_value_string
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
	movq	_MODE_DECOMB_SELECTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.7(%rip), %rdi
	callq	_hb_value_string
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
LBB0_4:
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$1, %eax
	jne	LBB0_9
## %bb.7:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_8
LBB0_5:
	leaq	L_.str.8(%rip), %rdi
LBB0_8:
	callq	_hb_value_string
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_hb_dict_set
LBB0_9:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_hb_dict_set
	movq	%r15, 8(%r13)
	movq	(%r14), %rax
	movq	%rax, (%r13)
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mode"

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

	.comm	_MODE_YADIF_ENABLE,4,2          ## @MODE_YADIF_ENABLE
	.comm	_MODE_YADIF_BOB,4,2             ## @MODE_YADIF_BOB
	.comm	_MODE_YADIF_SPATIAL,4,2         ## @MODE_YADIF_SPATIAL
L_.str.2:                               ## @.str.2
	.asciz	"send_field"

L_.str.3:                               ## @.str.3
	.asciz	"send_field_nospatial"

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

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

	.comm	_MODE_DECOMB_SELECTIVE,4,2      ## @MODE_DECOMB_SELECTIVE
L_.str.6:                               ## @.str.6
	.asciz	"deint"

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

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

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

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

	.no_dead_strip	_deinterlace_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deinterlace_init
_deinterlace_init:                      ; @deinterlace_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x22, x0
	mov	w21, #1
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	str	x0, [x22, #8]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	x8, [x19]
	str	x8, [x0, #16]
	ldr	x21, [x22]
	mov	w9, #3
	mov	w8, #-1
	stp	w8, w9, [sp, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #12
	mov	x1, x21
	bl	_hb_dict_extract_int
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x1, x21
	bl	_hb_dict_extract_int
	ldr	w8, [sp, #12]
Lloh4:
	adrp	x9, _MODE_YADIF_ENABLE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MODE_YADIF_ENABLE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.2:
	bl	_hb_dict_init
	mov	x21, x0
	bl	_hb_dict_init
	mov	x22, x0
Lloh7:
	adrp	x8, _MODE_YADIF_BOB@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MODE_YADIF_BOB@GOTPAGEOFF]
	ldr	w9, [sp, #12]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x10, _MODE_YADIF_SPATIAL@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MODE_YADIF_SPATIAL@GOTPAGEOFF]
Lloh12:
	adrp	x11, l_.str.2@PAGE
Lloh13:
	add	x11, x11, l_.str.2@PAGEOFF
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x12, l_.str.3@PAGE
Lloh16:
	add	x12, x12, l_.str.3@PAGEOFF
	tst	w10, w9
Lloh17:
	adrp	x10, l_.str.4@PAGE
Lloh18:
	add	x10, x10, l_.str.4@PAGEOFF
	csel	x11, x12, x11, eq
Lloh19:
	adrp	x12, l_.str.5@PAGE
Lloh20:
	add	x12, x12, l_.str.5@PAGEOFF
	csel	x10, x12, x10, eq
	tst	w8, w9
	csel	x0, x10, x11, eq
	bl	_hb_value_string
	mov	x2, x0
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_hb_dict_set
	ldr	w8, [sp, #12]
Lloh23:
	adrp	x9, _MODE_DECOMB_SELECTIVE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MODE_DECOMB_SELECTIVE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh26:
	adrp	x0, l_.str.7@PAGE
Lloh27:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_hb_value_string
	mov	x2, x0
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_hb_dict_set
LBB0_4:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_7
; %bb.5:
	cmp	w8, #1
	b.ne	LBB0_9
; %bb.6:
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh32:
	adrp	x0, l_.str.8@PAGE
Lloh33:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_8:
	bl	_hb_value_string
	mov	x2, x0
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_hb_dict_set
LBB0_9:
Lloh36:
	adrp	x1, l_.str.10@PAGE
Lloh37:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_hb_dict_set
	ldr	x8, [x19]
	stp	x8, x21, [x20]
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mode"

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

	.comm	_MODE_YADIF_ENABLE,4,2          ; @MODE_YADIF_ENABLE
	.comm	_MODE_YADIF_BOB,4,2             ; @MODE_YADIF_BOB
	.comm	_MODE_YADIF_SPATIAL,4,2         ; @MODE_YADIF_SPATIAL
l_.str.2:                               ; @.str.2
	.asciz	"send_field"

l_.str.3:                               ; @.str.3
	.asciz	"send_field_nospatial"

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

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

	.comm	_MODE_DECOMB_SELECTIVE,4,2      ; @MODE_DECOMB_SELECTIVE
l_.str.6:                               ; @.str.6
	.asciz	"deint"

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

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

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

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

	.no_dead_strip	_deinterlace_init
.subsections_via_symbols
