	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_get_channel_name            ## -- Begin function av_get_channel_name
	.p2align	4, 0x90
_av_get_channel_name:                   ## @av_get_channel_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_av_get_channel_layout_nb_channels
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.1:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	btq	%rcx, %rbx
	jb	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	shrq	%cl, %rax
	testb	$2, %al
	jne	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	shrq	%cl, %rax
	testb	$4, %al
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rax
	shrq	%cl, %rax
	testb	$8, %al
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rcx
	cmpq	$64, %rcx
	jne	LBB0_2
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	incq	%rcx
	jmp	LBB0_9
LBB0_7:
	addq	$2, %rcx
	jmp	LBB0_9
LBB0_6:
	addq	$3, %rcx
LBB0_9:
	movl	%ecx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_get_channel_name               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_get_channel_name            ; -- Begin function av_get_channel_name
	.p2align	2
_av_get_channel_name:                   ; @av_get_channel_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_av_get_channel_layout_nb_channels
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.1:
	mov	x0, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	x8, x19, x0
	tbnz	w8, #0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	cmp	x0, #64
	b.ne	LBB0_2
LBB0_4:
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_get_channel_name
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
