	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_output
_config_output:                         ## @config_output
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r15
	movq	(%rcx), %r14
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	8(%rbx), %edi
	callq	_av_pix_fmt_count_planes
	movl	%eax, 32(%r15)
	movq	16(%r15), %rax
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	cmpl	$9, %eax
	jge	LBB0_3
## %bb.4:
	movq	_lagfun_frame8@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_AVERROR_BUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_3:
	movq	_lagfun_frame16@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movl	24(%r15), %edi
	movl	4(%r14), %edx
	movl	8(%r14), %esi
	callq	_av_image_fill_linesizes
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	movq	16(%r15), %rax
	movl	(%rax), %esi
	callq	_AV_CEIL_RSHIFT
	movq	8(%r15), %rcx
	movl	%eax, 8(%rcx)
	movl	%eax, 4(%rcx)
	movl	(%r14), %eax
	movl	%eax, 12(%rcx)
	movl	%eax, (%rcx)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_BUG,4,2                ## @AVERROR_BUG
	.comm	_lagfun_frame8,4,2              ## @lagfun_frame8
	.comm	_lagfun_frame16,4,2             ## @lagfun_frame16
	.no_dead_strip	_config_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_output
_config_output:                         ; @config_output
	.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	x8, [x0, #16]
	ldp	x8, x21, [x8]
	ldr	x20, [x8]
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	str	x0, [x21, #16]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #8]
	bl	_av_pix_fmt_count_planes
	str	w0, [x21, #32]
	ldr	x8, [x21, #16]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	str	w8, [x21]
Lloh0:
	adrp	x9, _lagfun_frame8@GOTPAGE
Lloh1:
	ldr	x9, [x9, _lagfun_frame8@GOTPAGEOFF]
Lloh2:
	adrp	x10, _lagfun_frame16@GOTPAGE
Lloh3:
	ldr	x10, [x10, _lagfun_frame16@GOTPAGEOFF]
	cmp	w8, #9
	csel	x8, x9, x10, lt
	ldr	w8, [x8]
	str	w8, [x21, #28]
	ldr	w0, [x21, #24]
	ldp	w2, w1, [x20, #4]
	bl	_av_image_fill_linesizes
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	w0, [x20]
	ldr	x8, [x21, #16]
	ldr	w1, [x8]
	bl	_AV_CEIL_RSHIFT
	mov	x8, x0
	mov	w0, #0
	ldr	x9, [x21, #8]
	stp	w8, w8, [x9, #4]
	ldr	w8, [x20]
	str	w8, [x9, #12]
	str	w8, [x9]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _AVERROR_BUG@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVERROR_BUG@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
LBB0_4:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_BUG,4,2                ; @AVERROR_BUG
	.comm	_lagfun_frame8,4,2              ; @lagfun_frame8
	.comm	_lagfun_frame16,4,2             ; @lagfun_frame16
	.no_dead_strip	_config_output
.subsections_via_symbols
