	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_bprint_channel_layout       ## -- Begin function av_bprint_channel_layout
	.p2align	4, 0x90
_av_bprint_channel_layout:              ## @av_bprint_channel_layout
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jg	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_av_get_channel_layout_nb_channels
	movl	%eax, %r12d
LBB0_2:
	movq	_channel_layout_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	movl	$16, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	callq	_FF_ARRAY_ELEMS
	cltq
	addq	$24, %rbx
	cmpq	%rax, %r14
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	cmpl	-16(%rdi,%rbx), %r12d
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r13, -8(%rdi,%rbx)
	jne	LBB0_6
## %bb.18:
	movl	(%rdi,%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_bprintf                     ## TAILCALL
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_av_bprintf
	testq	%r13, %r13
	je	LBB0_17
## %bb.8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_bprintf
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_av_bprintf
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%r12d
LBB0_15:                                ##   in Loop: Header=BB0_9 Depth=1
	incl	%ebx
	cmpl	$64, %ebx
	je	LBB0_16
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_UINT64_C
	movl	%ebx, %ecx
	shll	%cl, %eax
	cltq
	testq	%r13, %rax
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%ebx, %edi
	callq	_get_channel_name
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %r15
	testl	%r12d, %r12d
	jle	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_av_bprintf
	jmp	LBB0_13
LBB0_16:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_bprintf                     ## TAILCALL
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_channel_layout_map,8,3         ## @channel_layout_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"%d channels"

L_.str.2:                               ## @.str.2
	.asciz	" ("

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_bprint_channel_layout       ; -- Begin function av_bprint_channel_layout
	.p2align	2
_av_bprint_channel_layout:              ; @av_bprint_channel_layout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	w1, #0
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_av_get_channel_layout_nb_channels
	mov	x21, x0
LBB0_2:
Lloh0:
	adrp	x22, _channel_layout_map@GOTPAGE
Lloh1:
	ldr	x22, [x22, _channel_layout_map@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	bl	_FF_ARRAY_ELEMS
	add	x23, x23, #24
	cmp	x24, w0, sxtw
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	w8, [x0, x23]
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x0, x23
	ldr	x9, [x8, #8]
	cmp	x9, x20
	b.ne	LBB0_4
; %bb.7:
	ldr	w8, [x8, #16]
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_bprintf
	b	LBB0_17
LBB0_8:
	str	x21, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_bprintf
	cbz	x20, LBB0_17
; %bb.9:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_av_bprintf
	mov	w25, #0
	mov	w21, #0
Lloh8:
	adrp	x22, l_.str.3@PAGE
Lloh9:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh10:
	adrp	x23, l_.str@PAGE
Lloh11:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_13 Depth=1
	str	x24, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_av_bprintf
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w25, w25, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w21, w21, #1
	cmp	w21, #64
	b.eq	LBB0_18
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_UINT64_C
	lsl	w8, w0, w21
	sxtw	x8, w8
	tst	x8, x20
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x21
	bl	_get_channel_name
	cbz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x24, x0
	cmp	w25, #1
	b.lt	LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_av_bprintf
	b	LBB0_10
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_av_bprintf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_channel_layout_map,8,3         ; @channel_layout_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"%d channels"

l_.str.2:                               ; @.str.2
	.asciz	" ("

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

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

.subsections_via_symbols
