	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_units_init
_filter_units_init:                     ## @filter_units_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movq	24(%rbx), %rdi
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.18:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	movq	_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	leaq	12(%rbx), %rsi
	leaq	16(%rbx), %rdx
	callq	_filter_units_make_type_list
	testl	%eax, %eax
	jns	LBB0_9
## %bb.8:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_4
LBB0_2:
	movq	_PASS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%rbx)
	leaq	12(%rbx), %rsi
	leaq	16(%rbx), %rdx
	movq	%rax, %rdi
	callq	_filter_units_make_type_list
	testl	%eax, %eax
	js	LBB0_3
LBB0_9:
	movq	8(%r14), %rax
	movl	8(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_ff_cbs_init
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_17
## %bb.10:
	movl	12(%rbx), %eax
	movq	(%rbx), %rdi
	movl	%eax, 8(%rdi)
	movq	$0, (%rdi)
	movq	8(%r14), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_17
## %bb.11:
	leaq	8(%rbx), %r12
	movq	%r12, %rsi
	callq	_ff_cbs_read_extradata
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movq	(%rbx), %rdi
	movl	(%r14), %esi
	movq	%r12, %rdx
	callq	_ff_cbs_write_extradata
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_16
## %bb.14:
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_15
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_17
LBB0_3:
	movl	%eax, %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	movq	%r14, %rdi
	callq	_av_log
	jmp	LBB0_17
LBB0_12:
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rdx
LBB0_15:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_av_log
LBB0_16:
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	callq	_ff_cbs_fragment_reset
LBB0_17:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Exactly one of pass_types or remove_types is required.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PASS,4,2                       ## @PASS
L_.str.1:                               ## @.str.1
	.asciz	"Failed to parse pass_types.\n"

	.comm	_REMOVE,4,2                     ## @REMOVE
L_.str.2:                               ## @.str.2
	.asciz	"Failed to parse remove_types.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to read extradata.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to write extradata.\n"

	.no_dead_strip	_filter_units_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_units_init
_filter_units_init:                     ; @filter_units_init
	.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	x19, x0
	ldr	x20, [x0, #16]
	ldr	x0, [x20, #40]
	ldr	x8, [x20, #24]
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x8, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	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	_AVERROR
LBB0_3:
	cbz	x8, LBB0_12
; %bb.4:
Lloh8:
	adrp	x9, _REMOVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _REMOVE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	str	w9, [x20, #32]
	add	x1, x20, #12
	add	x2, x20, #16
	mov	x0, x8
	bl	_filter_units_make_type_list
	tbz	w0, #31, LBB0_7
; %bb.5:
	mov	x21, x0
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_14
LBB0_6:
Lloh16:
	adrp	x8, _PASS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PASS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #32]
	add	x1, x20, #12
	add	x2, x20, #16
	bl	_filter_units_make_type_list
	tbnz	w0, #31, LBB0_13
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	mov	x0, x20
	mov	x2, x19
	bl	_ff_cbs_init
	mov	x21, x0
	tbnz	w0, #31, LBB0_18
; %bb.8:
	ldr	w8, [x20, #12]
	ldr	x0, [x20]
	str	w8, [x0, #8]
	str	xzr, [x0]
	ldr	x2, [x19, #8]
	ldr	x8, [x2]
	cbz	x8, LBB0_18
; %bb.9:
	add	x22, x20, #8
	mov	x1, x22
	bl	_ff_cbs_read_extradata
	tbnz	w0, #31, LBB0_15
; %bb.10:
	ldr	x0, [x20]
	ldr	w1, [x19]
	mov	x2, x22
	bl	_ff_cbs_write_extradata
	mov	x21, x0
	tbz	w0, #31, LBB0_17
; %bb.11:
Lloh19:
	adrp	x2, l_.str.4@PAGE
Lloh20:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_16
LBB0_12:
	mov	w21, #0
	b	LBB0_18
LBB0_13:
	mov	x21, x0
Lloh21:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_14:
	mov	x0, x19
	bl	_av_log
	b	LBB0_18
LBB0_15:
	mov	x21, x0
Lloh26:
	adrp	x2, l_.str.3@PAGE
Lloh27:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_16:
Lloh28:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_av_log
LBB0_17:
	ldr	x0, [x20]
	mov	x1, x22
	bl	_ff_cbs_fragment_reset
LBB0_18:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Exactly one of pass_types or remove_types is required.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PASS,4,2                       ; @PASS
l_.str.1:                               ; @.str.1
	.asciz	"Failed to parse pass_types.\n"

	.comm	_REMOVE,4,2                     ; @REMOVE
l_.str.2:                               ; @.str.2
	.asciz	"Failed to parse remove_types.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to read extradata.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to write extradata.\n"

	.no_dead_strip	_filter_units_init
.subsections_via_symbols
