	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codec_create
_codec_create:                          ## @codec_create
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r13d
	movl	$88, %edi
	callq	_av_mallocz
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movq	_amediacodec_class@GOTPCREL(%rip), %rax
	movq	%rax, 80(%rbx)
	movq	%rbx, %rdi
	callq	_ff_jni_get_env
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, %r15
	addq	$8, %r15
	movq	_jni_amediacodec_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ff_jni_init_jfields
	testq	%rax, %rax
	js	LBB0_29
## %bb.3:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_ff_jni_utf_chars_to_jstring
	testq	%rax, %rax
	je	LBB0_29
## %bb.4:
	movq	%rax, %r12
	cmpl	$128, %r13d
	je	LBB0_10
## %bb.5:
	cmpl	$129, %r13d
	je	LBB0_11
## %bb.6:
	cmpl	$130, %r13d
	jne	LBB0_12
## %bb.7:
	movq	56(%rbx), %r13
	jmp	LBB0_13
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_9:
	leaq	-56(%rbp), %rdi
	callq	_av_freep
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_10:
	movq	40(%rbx), %r13
	jmp	LBB0_13
LBB0_11:
	movq	48(%rbx), %r13
	jmp	LBB0_13
LBB0_12:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_av_assert0
LBB0_13:
	movq	(%r14), %rax
	movl	32(%rbx), %esi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	*32(%rax)
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	callq	_ff_jni_exception_check
	testq	%rax, %rax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	js	LBB0_21
## %bb.14:
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	movq	(%r14), %rax
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*16(%rax)
	movq	%rax, 72(%rbx)
	testq	%rax, %rax
	je	LBB0_23
## %bb.15:
	movq	%rbx, %rdi
	callq	_codec_init_static_fields
	testq	%rax, %rax
	js	LBB0_23
## %bb.16:
	cmpq	$0, 24(%rbx)
	je	LBB0_19
## %bb.17:
	cmpq	$0, 16(%rbx)
	je	LBB0_19
## %bb.18:
	movl	$1, (%rbx)
LBB0_19:
	movq	(%r14), %rax
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	*24(%rax)
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%rbx, %rdx
	callq	_ff_jni_exception_check
	testq	%rax, %rax
	js	LBB0_24
## %bb.20:
	movq	(%r14), %rax
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*16(%rax)
	movq	%rax, 64(%rbx)
	testq	%rax, %rax
	sete	-41(%rbp)                       ## 1-byte Folded Spill
	jmp	LBB0_24
LBB0_21:
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
LBB0_23:
	xorl	%r13d, %r13d
LBB0_24:
	movq	(%r14), %rax
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	*8(%rax)
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_26
## %bb.25:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*8(%rax)
LBB0_26:
	testq	%r13, %r13
	je	LBB0_28
## %bb.27:
	movq	(%r14), %rax
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	*8(%rax)
LBB0_28:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_34
LBB0_29:
	movq	72(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_31
## %bb.30:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
LBB0_31:
	movq	64(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_33
## %bb.32:
	movq	(%r14), %rax
	movq	%r14, %rdi
	callq	*(%rax)
LBB0_33:
	movq	_jni_amediacodec_mapping@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ff_jni_reset_jfields
	leaq	-56(%rbp), %rdi
	callq	_av_freep
	movq	-56(%rbp), %rbx
LBB0_34:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amediacodec_class,4,2          ## @amediacodec_class
	.comm	_jni_amediacodec_mapping,4,2    ## @jni_amediacodec_mapping
	.no_dead_strip	_codec_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codec_create
_codec_create:                          ; @codec_create
	.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	x22, x1
	mov	x23, x0
	mov	w0, #88
	bl	_av_mallocz
	mov	x19, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_32
; %bb.1:
Lloh0:
	adrp	x8, _amediacodec_class@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amediacodec_class@GOTPAGEOFF]
	str	x8, [x19, #80]
	mov	x0, x19
	bl	_ff_jni_get_env
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	add	x21, x19, #8
Lloh2:
	adrp	x25, _jni_amediacodec_mapping@GOTPAGE
Lloh3:
	ldr	x25, [x25, _jni_amediacodec_mapping@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x1, x21
	mov	w3, #1
	mov	x4, x19
	bl	_ff_jni_init_jfields
	tbnz	x0, #63, LBB0_27
; %bb.3:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_ff_jni_utf_chars_to_jstring
	cbz	x0, LBB0_27
; %bb.4:
	mov	x22, x0
	cmp	w23, #128
	b.eq	LBB0_9
; %bb.5:
	cmp	w23, #129
	b.eq	LBB0_10
; %bb.6:
	cmp	w23, #130
	b.ne	LBB0_11
; %bb.7:
	ldr	x2, [x19, #56]
	b	LBB0_12
LBB0_8:
	add	x0, sp, #8
	bl	_av_freep
	mov	x19, #0
	b	LBB0_32
LBB0_9:
	ldr	x2, [x19, #40]
	b	LBB0_12
LBB0_10:
	ldr	x2, [x19, #48]
	b	LBB0_12
LBB0_11:
	mov	w0, #0
	bl	_av_assert0
	mov	x2, #0
LBB0_12:
	ldr	x8, [x20]
	ldr	x8, [x8, #32]
	ldr	w1, [x19, #32]
	mov	x0, x20
	mov	x3, x22
	blr	x8
	mov	x23, x0
	mov	w26, #1
	mov	x0, x20
	mov	w1, #1
	mov	x2, x19
	bl	_ff_jni_exception_check
	tbnz	x0, #63, LBB0_20
; %bb.13:
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	mov	x0, x20
	mov	x1, x23
	blr	x8
	str	x0, [x19, #72]
	cbz	x0, LBB0_21
; %bb.14:
	mov	x0, x19
	bl	_codec_init_static_fields
	tbnz	x0, #63, LBB0_21
; %bb.15:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_18
; %bb.16:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_18
; %bb.17:
	mov	w8, #1
	str	w8, [x19]
LBB0_18:
	ldr	x8, [x20]
	ldr	x8, [x8, #24]
	ldp	w2, w1, [x19, #8]
	mov	x0, x20
	blr	x8
	mov	x24, x0
	mov	w26, #1
	mov	x0, x20
	mov	w1, #1
	mov	x2, x19
	bl	_ff_jni_exception_check
	tbnz	x0, #63, LBB0_22
; %bb.19:
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	mov	x0, x20
	mov	x1, x24
	blr	x8
	str	x0, [x19, #64]
	cmp	x0, #0
	cset	w26, eq
	b	LBB0_22
LBB0_20:
	mov	x24, #0
	b	LBB0_22
LBB0_21:
	mov	x24, #0
	mov	w26, #1
LBB0_22:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	cbz	x23, LBB0_24
; %bb.23:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x23
	blr	x8
LBB0_24:
	cbz	x24, LBB0_26
; %bb.25:
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	mov	x0, x20
	mov	x1, x24
	blr	x8
	tbnz	w26, #0, LBB0_27
	b	LBB0_32
LBB0_26:
	cbz	w26, LBB0_32
LBB0_27:
	ldr	x1, [x19, #72]
	cbz	x1, LBB0_29
; %bb.28:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_29:
	ldr	x1, [x19, #64]
	cbz	x1, LBB0_31
; %bb.30:
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_31:
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1
	mov	x4, x19
	bl	_ff_jni_reset_jfields
	add	x0, sp, #8
	bl	_av_freep
	ldr	x19, [sp, #8]
LBB0_32:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_amediacodec_class,4,2          ; @amediacodec_class
	.comm	_jni_amediacodec_mapping,4,2    ; @jni_amediacodec_mapping
	.no_dead_strip	_codec_create
.subsections_via_symbols
