	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libopus_configure_encoder
_libopus_configure_encoder:             ## @libopus_configure_encoder
	.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	%rdi, %r12
	cmpq	$0, 16(%rdi)
	je	LBB0_1
## %bb.16:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	8(%r12), %edi
	callq	_OPUS_SET_BITRATE
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_opus_multistream_encoder_ctl
	movq	_OPUS_OK@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_2
## %bb.3:
	movl	16(%r15), %edi
	callq	_OPUS_SET_COMPLEXITY
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_opus_multistream_encoder_ctl
	cmpl	(%r13), %eax
	je	LBB0_5
## %bb.4:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_opus_strerror
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_5:
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	setne	%dil
	callq	_OPUS_SET_VBR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_opus_multistream_encoder_ctl
	cmpl	(%r13), %eax
	je	LBB0_7
## %bb.6:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_opus_strerror
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_7:
	xorl	%edi, %edi
	cmpl	$2, (%r15)
	sete	%dil
	callq	_OPUS_SET_VBR_CONSTRAINT
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_opus_multistream_encoder_ctl
	cmpl	(%r13), %eax
	je	LBB0_9
## %bb.8:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_opus_strerror
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_9:
	movl	12(%r15), %edi
	callq	_OPUS_SET_PACKET_LOSS_PERC
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_opus_multistream_encoder_ctl
	cmpl	(%r13), %eax
	je	LBB0_11
## %bb.10:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_opus_strerror
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_11:
	cmpq	$0, (%r12)
	je	LBB0_14
## %bb.12:
	movl	8(%r15), %edi
	callq	_OPUS_SET_MAX_BANDWIDTH
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_opus_multistream_encoder_ctl
	cmpl	(%r13), %eax
	je	LBB0_14
## %bb.13:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_opus_strerror
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_14:
	movl	(%r13), %ebx
	jmp	LBB0_15
LBB0_2:
	movl	%eax, %ebx
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_opus_strerror
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Quality-based encoding not supported, please specify a bitrate and VBR setting.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OPUS_OK,4,2                    ## @OPUS_OK
L_.str.1:                               ## @.str.1
	.asciz	"Failed to set bitrate: %s\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"Unable to set complexity: %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"Unable to set VBR: %s\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to set constrained VBR: %s\n"

L_.str.5:                               ## @.str.5
	.asciz	"Unable to set expected packet loss percentage: %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"Unable to set maximum bandwidth: %s\n"

	.no_dead_strip	_libopus_configure_encoder
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libopus_configure_encoder
_libopus_configure_encoder:             ; @libopus_configure_encoder
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_AVERROR
LBB0_2:
	mov	x21, x2
	mov	x20, x1
	ldr	w0, [x19, #8]
	bl	_OPUS_SET_BITRATE
	mov	x1, x0
	mov	x0, x20
	bl	_opus_multistream_encoder_ctl
Lloh8:
	adrp	x23, _OPUS_OK@GOTPAGE
Lloh9:
	ldr	x23, [x23, _OPUS_OK@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.3:
	ldr	w0, [x21, #16]
	bl	_OPUS_SET_COMPLEXITY
	mov	x1, x0
	mov	x0, x20
	bl	_opus_multistream_encoder_ctl
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	bl	_opus_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_av_log
LBB0_5:
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w0, ne
	bl	_OPUS_SET_VBR
	mov	x1, x0
	mov	x0, x20
	bl	_opus_multistream_encoder_ctl
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	bl	_opus_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh18:
	adrp	x2, l_.str.3@PAGE
Lloh19:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_av_log
LBB0_7:
	ldr	w8, [x21]
	cmp	w8, #2
	cset	w0, eq
	bl	_OPUS_SET_VBR_CONSTRAINT
	mov	x1, x0
	mov	x0, x20
	bl	_opus_multistream_encoder_ctl
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.8:
Lloh20:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
	bl	_opus_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh23:
	adrp	x2, l_.str.4@PAGE
Lloh24:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_av_log
LBB0_9:
	ldr	w0, [x21, #12]
	bl	_OPUS_SET_PACKET_LOSS_PERC
	mov	x1, x0
	mov	x0, x20
	bl	_opus_multistream_encoder_ctl
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_11
; %bb.10:
Lloh25:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh27:
	ldr	w22, [x8]
	bl	_opus_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh28:
	adrp	x2, l_.str.5@PAGE
Lloh29:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_av_log
LBB0_11:
	ldr	x8, [x19]
	cbz	x8, LBB0_14
; %bb.12:
	ldr	w0, [x21, #8]
	bl	_OPUS_SET_MAX_BANDWIDTH
	mov	x1, x0
	mov	x0, x20
	bl	_opus_multistream_encoder_ctl
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_14
; %bb.13:
Lloh30:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh32:
	ldr	w20, [x8]
	bl	_opus_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh33:
	adrp	x2, l_.str.6@PAGE
Lloh34:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_av_log
LBB0_14:
	ldr	w22, [x23]
	b	LBB0_16
LBB0_15:
	mov	x22, x0
Lloh35:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	w20, [x8]
	bl	_opus_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh38:
	adrp	x2, l_.str.1@PAGE
Lloh39:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_av_log
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Quality-based encoding not supported, please specify a bitrate and VBR setting.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OPUS_OK,4,2                    ; @OPUS_OK
l_.str.1:                               ; @.str.1
	.asciz	"Failed to set bitrate: %s\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"Unable to set complexity: %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"Unable to set VBR: %s\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to set constrained VBR: %s\n"

l_.str.5:                               ; @.str.5
	.asciz	"Unable to set expected packet loss percentage: %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"Unable to set maximum bandwidth: %s\n"

	.no_dead_strip	_libopus_configure_encoder
.subsections_via_symbols
