	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_sbr_channel_pair_element
_read_sbr_channel_pair_element:         ## @read_sbr_channel_pair_element
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_skip_bits
LBB0_2:
	movq	%r14, %rdi
	callq	_get_bits1
	movq	%rax, %rbx
	movq	%rax, 16(%r12)
	movq	8(%r12), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_read_sbr_grid
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.3:
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.4:
	movq	8(%r12), %rsi
	leaq	24(%rsi), %rdi
	callq	_copy_sbr_grid
	movq	8(%r12), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_sbr_dtdf
	movq	8(%r12), %rdx
	addq	$24, %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_sbr_dtdf
	movq	8(%r12), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_sbr_invf
	movq	8(%r12), %rax
	movq	40(%rax), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movl	$4, %edx
	callq	_memcpy
	movq	8(%r12), %rax
	movq	16(%rax), %rcx
	movq	40(%rax), %rax
	movl	(%rax), %edi
	movl	(%rcx), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	8(%r12), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_read_sbr_envelope
	testl	%eax, %eax
	js	LBB0_18
## %bb.5:
	movq	8(%r12), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_read_sbr_noise
	testl	%eax, %eax
	js	LBB0_18
## %bb.6:
	movq	8(%r12), %rcx
	addq	$24, %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	$1, %r8d
	callq	_read_sbr_envelope
	testl	%eax, %eax
	js	LBB0_18
LBB0_7:
	movq	8(%r12), %rcx
	addq	$24, %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	$1, %r8d
	callq	_read_sbr_noise
	testl	%eax, %eax
	js	LBB0_18
## %bb.8:
	movq	%r14, %rdi
	callq	_get_bits1
	movq	8(%r12), %rcx
	movq	%rax, 8(%rcx)
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%rcx), %esi
	movq	(%r12), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_get_bits1_vector
LBB0_10:
	movq	%r14, %rdi
	callq	_get_bits1
	movq	8(%r12), %rcx
	movq	%rax, 32(%rcx)
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movl	24(%rcx), %esi
	movq	(%r12), %rax
	movl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_get_bits1_vector
	jmp	LBB0_19
LBB0_12:
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_19
## %bb.13:
	movq	8(%r12), %rcx
	addq	$24, %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_read_sbr_grid
	testq	%rax, %rax
	jne	LBB0_19
## %bb.14:
	movq	8(%r12), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_sbr_dtdf
	movq	8(%r12), %rdx
	addq	$24, %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_sbr_dtdf
	movq	8(%r12), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_sbr_invf
	movq	8(%r12), %rdx
	addq	$24, %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_read_sbr_invf
	movq	8(%r12), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_read_sbr_envelope
	testl	%eax, %eax
	js	LBB0_18
## %bb.15:
	movq	8(%r12), %rcx
	addq	$24, %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movl	$1, %r8d
	callq	_read_sbr_envelope
	testl	%eax, %eax
	js	LBB0_18
## %bb.16:
	movq	8(%r12), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%r8d, %r8d
	callq	_read_sbr_noise
	testl	%eax, %eax
	jns	LBB0_7
LBB0_18:
	movl	%eax, %ebx
LBB0_19:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_sbr_channel_pair_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_sbr_channel_pair_element
_read_sbr_channel_pair_element:         ; @read_sbr_channel_pair_element
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_get_bits1
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #8
	bl	_skip_bits
LBB0_2:
	mov	x0, x19
	bl	_get_bits1
	mov	x22, x0
	str	x0, [x20, #16]
	ldr	x3, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_read_sbr_grid
	cbz	x22, LBB0_12
; %bb.3:
	cbnz	x0, LBB0_14
; %bb.4:
	ldr	x1, [x20, #8]
	add	x0, x1, #24
	bl	_copy_sbr_grid
	ldr	x2, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_read_sbr_dtdf
	ldr	x8, [x20, #8]
	add	x2, x8, #24
	mov	x0, x20
	mov	x1, x19
	bl	_read_sbr_dtdf
	ldr	x2, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_read_sbr_invf
	ldr	x8, [x20, #8]
	ldr	x8, [x8, #40]
	ldp	w1, w0, [x8]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #40]
	ldr	w0, [x9]
	ldr	x8, [x8, #16]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
	ldr	x3, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #0
	bl	_read_sbr_envelope
	tbnz	w0, #31, LBB0_15
; %bb.5:
	ldr	x3, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #0
	bl	_read_sbr_noise
	tbnz	w0, #31, LBB0_15
; %bb.6:
	ldr	x8, [x20, #8]
	add	x3, x8, #24
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #1
	bl	_read_sbr_envelope
	tbnz	w0, #31, LBB0_15
LBB0_7:
	ldr	x8, [x20, #8]
	add	x3, x8, #24
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #1
	bl	_read_sbr_noise
	tbnz	w0, #31, LBB0_15
; %bb.8:
	mov	x0, x19
	bl	_get_bits1
	ldr	x8, [x20, #8]
	str	x0, [x8, #8]
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_get_bits1_vector
LBB0_10:
	mov	x0, x19
	bl	_get_bits1
	ldr	x8, [x20, #8]
	str	x0, [x8, #32]
	cbz	x0, LBB0_15
; %bb.11:
	ldr	w1, [x8, #24]
	ldr	x8, [x20]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_get_bits1_vector
	mov	w0, #0
	b	LBB0_15
LBB0_12:
	cbnz	x0, LBB0_14
; %bb.13:
	ldr	x8, [x20, #8]
	add	x3, x8, #24
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_read_sbr_grid
	cbz	x0, LBB0_16
LBB0_14:
	mov	w0, #-1
LBB0_15:
	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
LBB0_16:
	ldr	x2, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_read_sbr_dtdf
	ldr	x8, [x20, #8]
	add	x2, x8, #24
	mov	x0, x20
	mov	x1, x19
	bl	_read_sbr_dtdf
	ldr	x2, [x20, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_read_sbr_invf
	ldr	x8, [x20, #8]
	add	x2, x8, #24
	mov	x0, x20
	mov	x1, x19
	bl	_read_sbr_invf
	ldr	x3, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #0
	bl	_read_sbr_envelope
	tbnz	w0, #31, LBB0_15
; %bb.17:
	ldr	x8, [x20, #8]
	add	x3, x8, #24
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #1
	bl	_read_sbr_envelope
	tbnz	w0, #31, LBB0_15
; %bb.18:
	ldr	x3, [x20, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	w4, #0
	bl	_read_sbr_noise
	tbz	w0, #31, LBB0_7
	b	LBB0_15
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_sbr_channel_pair_element
.subsections_via_symbols
