	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function choose_pix_fmts
_choose_pix_fmts:                       ## @choose_pix_fmts
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movl	32(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_av_dict_get
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ecx, %ecx
	callq	_av_opt_set
LBB0_2:
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	_AVFILTER_AUTO_CONVERT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_avfilter_graph_set_auto_convert
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_17
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%rbx), %rsi
	movq	(%rsi), %rcx
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	jne	LBB0_18
## %bb.7:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.8:
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.9:
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %rdi
	callq	_avio_open_dyn_buf
	testq	%rax, %rax
	jns	LBB0_11
## %bb.10:
	movl	$1, %edi
	callq	_exit_program
LBB0_11:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movq	(%rcx), %rbx
	movq	8(%rax), %rcx
	movq	_FF_COMPLIANCE_UNOFFICIAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_13
## %bb.12:
	movl	16(%rax), %edi
	movq	%rbx, %rsi
	callq	_get_compliance_unofficial_pix_fmts
	movq	%rax, %rbx
LBB0_13:
	movl	(%rbx), %edi
	cmpq	%rdi, (%r15)
	je	LBB0_16
## %bb.14:
	addq	$4, %rbx
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_av_get_pix_fmt_name
	movq	-32(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_avio_printf
	movl	(%rbx), %edi
	addq	$4, %rbx
	cmpq	%rdi, (%r15)
	jne	LBB0_15
LBB0_16:
	movq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	callq	_avio_close_dyn_buf
	movq	-40(%rbp), %rcx
	cltq
	movb	$0, -1(%rax,%rcx)
	movq	-40(%rbp), %rax
	jmp	LBB0_5
LBB0_17:
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	LBB0_19
LBB0_18:
	movl	16(%rbx), %edi
	movq	8(%rbx), %rdx
	callq	_choose_pixel_fmt
	movl	%eax, %edi
LBB0_19:
	callq	_av_get_pix_fmt_name
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_strdup                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"strict"

	.comm	_AVFILTER_AUTO_CONVERT_NONE,4,2 ## @AVFILTER_AUTO_CONVERT_NONE
	.comm	_AV_PIX_FMT_NONE,8,3            ## @AV_PIX_FMT_NONE
	.comm	_FF_COMPLIANCE_UNOFFICIAL,8,3   ## @FF_COMPLIANCE_UNOFFICIAL
L_.str.1:                               ## @.str.1
	.asciz	"%s|"

	.no_dead_strip	_choose_pix_fmts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function choose_pix_fmts
_choose_pix_fmts:                       ; @choose_pix_fmts
	.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, x0
	ldr	x21, [x0, #8]
	ldr	w0, [x21, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	mov	w3, #0
	bl	_av_dict_get
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w2, [x0]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	mov	w3, #0
	bl	_av_opt_set
LBB0_2:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh4:
	adrp	x8, _AVFILTER_AUTO_CONVERT_NONE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVFILTER_AUTO_CONVERT_NONE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_avfilter_graph_set_auto_convert
	ldr	x8, [x21]
	ldr	x0, [x8]
Lloh7:
	adrp	x8, _AV_PIX_FMT_NONE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
LBB0_4:
	mov	x0, #0
LBB0_5:
	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
LBB0_6:
	ldr	x1, [x21]
	ldr	x3, [x1]
Lloh10:
	adrp	x20, _AV_PIX_FMT_NONE@GOTPAGE
Lloh11:
	ldr	x20, [x20, _AV_PIX_FMT_NONE@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x3, x8
	b.ne	LBB0_18
; %bb.7:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.9:
	str	xzr, [sp, #8]
	add	x0, sp, #8
	bl	_avio_open_dyn_buf
	tbz	x0, #63, LBB0_11
; %bb.10:
	mov	w0, #1
	bl	_exit_program
LBB0_11:
	ldp	x8, x9, [x21]
	ldr	x1, [x9]
	ldr	x9, [x8, #8]
Lloh12:
	adrp	x10, _FF_COMPLIANCE_UNOFFICIAL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FF_COMPLIANCE_UNOFFICIAL@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.gt	LBB0_13
; %bb.12:
	ldr	w0, [x8, #16]
	bl	_get_compliance_unofficial_pix_fmts
	mov	x1, x0
LBB0_13:
	ldr	w0, [x1]
	ldr	x8, [x20]
	cmp	x8, x0
	b.eq	LBB0_16
; %bb.14:
	add	x21, x1, #4
Lloh15:
	adrp	x19, l_.str.1@PAGE
Lloh16:
	add	x19, x19, l_.str.1@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_av_get_pix_fmt_name
	mov	x2, x0
	ldr	x0, [sp, #8]
	mov	x1, x19
	bl	_avio_printf
	ldr	w0, [x21], #4
	ldr	x8, [x20]
	cmp	x8, x0
	b.ne	LBB0_15
LBB0_16:
	ldr	x0, [sp, #8]
	mov	x1, sp
	bl	_avio_close_dyn_buf
	ldr	x8, [sp]
	add	x8, x8, w0, sxtw
	sturb	wzr, [x8, #-1]
	ldr	x0, [sp]
	b	LBB0_5
LBB0_17:
                                        ; kill: def $w0 killed $w0 killed $x0
	b	LBB0_19
LBB0_18:
	ldr	w0, [x21, #16]
	ldr	x2, [x21, #8]
	bl	_choose_pixel_fmt
LBB0_19:
	bl	_av_get_pix_fmt_name
	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
	b	_av_strdup
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"strict"

	.comm	_AVFILTER_AUTO_CONVERT_NONE,4,2 ; @AVFILTER_AUTO_CONVERT_NONE
	.comm	_AV_PIX_FMT_NONE,8,3            ; @AV_PIX_FMT_NONE
	.comm	_FF_COMPLIANCE_UNOFFICIAL,8,3   ; @FF_COMPLIANCE_UNOFFICIAL
l_.str.1:                               ; @.str.1
	.asciz	"%s|"

	.no_dead_strip	_choose_pix_fmts
.subsections_via_symbols
