	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_compressor
_find_compressor:                       ## @find_compressor
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	8(%rdx), %rax
	movl	(%rax), %ecx
	cmpl	$1920, %ecx                     ## imm = 0x780
	je	LBB0_4
## %bb.1:
	cmpl	$1440, %ecx                     ## imm = 0x5A0
	je	LBB0_5
## %bb.2:
	cmpl	$1280, %ecx                     ## imm = 0x500
	jne	LBB0_7
## %bb.3:
	movb	$1, %r12b
	cmpl	$720, 4(%rax)                   ## imm = 0x2D0
	jne	LBB0_7
	jmp	LBB0_8
LBB0_4:
	cmpl	$1080, 4(%rax)                  ## imm = 0x438
	sete	%r12b
	jmp	LBB0_8
LBB0_5:
	movb	$1, %r12b
	cmpl	$1080, 4(%rax)                  ## imm = 0x438
	je	LBB0_8
LBB0_7:
	xorl	%r12d, %r12d
LBB0_8:
	movq	(%rbx), %rcx
	movq	_MODE_MOV@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_12
## %bb.9:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$32, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_strlcpy                     ## TAILCALL
LBB0_11:
	movq	8(%rbx), %rax
LBB0_12:
	movq	8(%rax), %rcx
	movq	_AV_CODEC_ID_MPEG2VIDEO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%cl
	andb	%r12b, %cl
	cmpb	$1, %cl
	jne	LBB0_15
## %bb.13:
	movq	16(%rax), %r13
	movq	_AV_FIELD_PROGRESSIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rsi
	xorl	%edi, %edi
	callq	_defined_frame_rate
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_av_strlcatf
	movq	8(%rbx), %rax
	movq	24(%rax), %rcx
	movq	_AV_PIX_FMT_YUV422P@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_16
## %bb.14:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_17
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	cmpl	$1440, (%rax)                   ## imm = 0x5A0
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
LBB0_17:
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_av_strlcatf
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -56(%rbp)                 ## 8-byte Folded Reload
	setg	%r13b
	movq	8(%rbx), %rax
	movl	4(%rax), %ecx
	movl	$105, %eax
	movl	$112, %r8d
	cmovgl	%eax, %r8d
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_av_strlcatf
	incl	%r13d
	imull	%r13d, %r12d
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_strlcatf                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_MOV,8,3                   ## @MODE_MOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"encoder"

	.comm	_AV_CODEC_ID_MPEG2VIDEO,8,3     ## @AV_CODEC_ID_MPEG2VIDEO
	.comm	_AV_FIELD_PROGRESSIVE,8,3       ## @AV_FIELD_PROGRESSIVE
L_.str.1:                               ## @.str.1
	.asciz	"XDCAM"

	.comm	_AV_PIX_FMT_YUV422P,8,3         ## @AV_PIX_FMT_YUV422P
L_.str.2:                               ## @.str.2
	.asciz	" HD422"

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

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

L_.str.5:                               ## @.str.5
	.asciz	" %d%c"

L_.str.6:                               ## @.str.6
	.asciz	"%d"

	.no_dead_strip	_find_compressor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_compressor
_find_compressor:                       ; @find_compressor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x2, #8]
	ldr	w9, [x8]
	cmp	w9, #1920
	b.eq	LBB0_5
; %bb.1:
	cmp	w9, #1440
	b.eq	LBB0_6
; %bb.2:
	cmp	w9, #1280
	b.ne	LBB0_4
; %bb.3:
	ldr	w9, [x8, #4]
	cmp	w9, #720
	b.eq	LBB0_7
LBB0_4:
	mov	w22, #0
	b	LBB0_8
LBB0_5:
	ldr	w9, [x8, #4]
	cmp	w9, #1080
	cset	w22, eq
	b	LBB0_8
LBB0_6:
	ldr	w9, [x8, #4]
	cmp	w9, #1080
	b.ne	LBB0_4
LBB0_7:
	mov	w22, #1
LBB0_8:
	ldr	x9, [x21]
Lloh0:
	adrp	x10, _MODE_MOV@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MODE_MOV@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_12
; %bb.9:
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w1, [x0]
	mov	x0, x19
	mov	w2, #32
	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
	add	sp, sp, #80
	b	_av_strlcpy
LBB0_11:
	ldr	x8, [x21, #8]
LBB0_12:
Lloh5:
	adrp	x9, _AV_CODEC_ID_MPEG2VIDEO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_CODEC_ID_MPEG2VIDEO@GOTPAGEOFF]
	ldr	x10, [x8, #8]
Lloh7:
	ldr	x9, [x9]
	cmp	x10, x9
	cset	w9, eq
	and	w9, w9, w22
	cmp	w9, #1
	b.ne	LBB0_17
; %bb.13:
	ldr	x23, [x8, #16]
Lloh8:
	adrp	x8, _AV_FIELD_PROGRESSIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_FIELD_PROGRESSIVE@GOTPAGEOFF]
Lloh10:
	ldr	x24, [x8]
	ldr	x1, [x21, #16]
	mov	x0, #0
	bl	_defined_frame_rate
	mov	x22, x0
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_av_strlcatf
	ldr	x8, [x21, #8]
	ldr	x9, [x8, #24]
Lloh13:
	adrp	x10, _AV_PIX_FMT_YUV422P@GOTPAGE
Lloh14:
	ldr	x10, [x10, _AV_PIX_FMT_YUV422P@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_15
; %bb.14:
Lloh16:
	adrp	x2, l_.str.2@PAGE
Lloh17:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_16
LBB0_15:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, l_.str.4@PAGE
Lloh19:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh20:
	adrp	x10, l_.str.3@PAGE
Lloh21:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w8, #1440
	csel	x2, x10, x9, eq
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	bl	_av_strlcatf
	ldr	x8, [x21, #8]
	mov	w9, #112
	mov	w10, #105
	cmp	x23, x24
	csel	x9, x10, x9, gt
	ldr	w8, [x8, #4]
Lloh22:
	adrp	x2, l_.str.5@PAGE
Lloh23:
	add	x2, x2, l_.str.5@PAGEOFF
	stp	x8, x9, [sp]
	mov	w8, #1
	cinc	w21, w8, gt
	mov	x0, x19
	mov	x1, x20
	bl	_av_strlcatf
	mul	w8, w22, w21
	str	x8, [sp]
Lloh24:
	adrp	x2, l_.str.6@PAGE
Lloh25:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_av_strlcatf
LBB0_17:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_MOV,8,3                   ; @MODE_MOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"encoder"

	.comm	_AV_CODEC_ID_MPEG2VIDEO,8,3     ; @AV_CODEC_ID_MPEG2VIDEO
	.comm	_AV_FIELD_PROGRESSIVE,8,3       ; @AV_FIELD_PROGRESSIVE
l_.str.1:                               ; @.str.1
	.asciz	"XDCAM"

	.comm	_AV_PIX_FMT_YUV422P,8,3         ; @AV_PIX_FMT_YUV422P
l_.str.2:                               ; @.str.2
	.asciz	" HD422"

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

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

l_.str.5:                               ; @.str.5
	.asciz	" %d%c"

l_.str.6:                               ; @.str.6
	.asciz	"%d"

	.no_dead_strip	_find_compressor
.subsections_via_symbols
