	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r12
	movl	(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	(%rax), %ebx
	movl	(%r15), %edi
	callq	_av_pix_fmt_count_planes
	cmpl	$8, %ebx
	jne	LBB0_1
## %bb.2:
	movq	_color_balance8@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_1:
	movq	_color_balance16@GOTPCREL(%rip), %rdx
LBB0_3:
	movq	%rdx, %rcx
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.4:
	movq	_color_balance16_p@GOTPCREL(%rip), %rdx
	movq	_color_balance8_p@GOTPCREL(%rip), %rcx
LBB0_5:
	cmpl	$8, %ebx
	cmoveq	%rcx, %rdx
	movl	$-1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	notl	%eax
	movl	%ebx, (%r12)
	movl	%eax, 4(%r12)
	movl	(%rdx), %eax
	movl	%eax, 16(%r12)
	movl	12(%r12), %edi
	movl	(%r15), %esi
	callq	_ff_fill_rgba_map
	movq	%r14, %rdi
	callq	_av_get_padded_bits_per_pixel
	sarl	$3, %eax
	movl	%eax, 8(%r12)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_color_balance8_p,4,2           ## @color_balance8_p
	.comm	_color_balance16_p,4,2          ## @color_balance16_p
	.comm	_color_balance8,4,2             ## @color_balance8
	.comm	_color_balance16,4,2            ## @color_balance16
	.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, #8]
	ldr	x21, [x8]
	ldr	w0, [x0]
	bl	_av_pix_fmt_desc_get
	mov	x20, x0
	ldr	x8, [x0]
	ldr	w22, [x8]
	ldr	w0, [x19]
	bl	_av_pix_fmt_count_planes
Lloh0:
	adrp	x8, _color_balance8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _color_balance8@GOTPAGEOFF]
Lloh2:
	adrp	x9, _color_balance16@GOTPAGE
Lloh3:
	ldr	x9, [x9, _color_balance16@GOTPAGEOFF]
	cmp	w22, #8
	csel	x8, x8, x9, eq
	cmp	w0, #1
Lloh4:
	adrp	x9, _color_balance16_p@GOTPAGE
Lloh5:
	ldr	x9, [x9, _color_balance16_p@GOTPAGEOFF]
	csel	x8, x9, x8, gt
	ccmp	x22, #8, #0, gt
	mov	w9, #-1
	lsl	w9, w9, w22
	mvn	w9, w9
Lloh6:
	adrp	x10, _color_balance8_p@GOTPAGE
Lloh7:
	ldr	x10, [x10, _color_balance8_p@GOTPAGEOFF]
	stp	w22, w9, [x21]
	csel	x8, x10, x8, eq
	ldr	w8, [x8]
	str	w8, [x21, #16]
	ldr	w0, [x21, #12]
	ldr	w1, [x19]
	bl	_ff_fill_rgba_map
	mov	x0, x20
	bl	_av_get_padded_bits_per_pixel
	asr	w8, w0, #3
	str	w8, [x21, #8]
	mov	w0, #0
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_color_balance8_p,4,2           ; @color_balance8_p
	.comm	_color_balance16_p,4,2          ; @color_balance16_p
	.comm	_color_balance8,4,2             ; @color_balance8
	.comm	_color_balance16,4,2            ; @color_balance16
	.no_dead_strip	_config_output
.subsections_via_symbols
