	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encode_individual_channel
_encode_individual_channel:             ## @encode_individual_channel
	.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
	movl	%ecx, %r12d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdx), %rax
	movl	(%rax), %edx
	movq	%rsi, %rdi
	movl	$8, %esi
	callq	_put_bits
	testl	%r12d, %r12d
	jne	LBB0_5
## %bb.1:
	leaq	16(%r14), %rsi
	movq	%rbx, %rdi
	callq	_put_ics_info
	movq	8(%rbx), %rax
	movq	16(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rcx
	movq	8(%rbx), %rax
LBB0_3:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	*%rax
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_encode_band_info
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_encode_scale_factors
	leaq	12(%r14), %rsi
	movq	%rbx, %rdi
	callq	_encode_pulses
	xorl	%edx, %edx
	cmpl	$0, 8(%r14)
	setne	%dl
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_put_bits
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_7:
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_put_bits
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_encode_spectral_coeffs
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_encode_individual_channel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encode_individual_channel
_encode_individual_channel:             ; @encode_individual_channel
	.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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x2]
	ldr	w2, [x8]
	mov	x0, x1
	mov	w1, #8
	bl	_put_bits
	cbnz	w22, LBB0_5
; %bb.1:
	add	x1, x19, #16
	mov	x0, x20
	bl	_put_ics_info
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	blr	x9
	ldr	x8, [x20, #8]
LBB0_3:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	blr	x8
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_encode_band_info
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_encode_scale_factors
	add	x1, x19, #12
	mov	x0, x20
	bl	_encode_pulses
	ldr	w8, [x19, #8]
	cmp	w8, #0
	cset	w2, ne
	mov	x0, x20
	mov	w1, #1
	bl	_put_bits
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_7:
	mov	x0, x20
	mov	w1, #1
	mov	w2, #0
	bl	_put_bits
	mov	x0, x20
	mov	x1, x19
	bl	_encode_spectral_coeffs
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_encode_individual_channel
.subsections_via_symbols
