	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_AMediaCodecProfile_getProfileFromAVCodecContext ## -- Begin function ff_AMediaCodecProfile_getProfileFromAVCodecContext
	.p2align	4, 0x90
_ff_AMediaCodecProfile_getProfileFromAVCodecContext: ## @ff_AMediaCodecProfile_getProfileFromAVCodecContext
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -32(%rbp)
	xorl	%edi, %edi
	movq	%rbx, %rsi
	movl	$-1, %edx
	callq	_JNI_GET_ENV_OR_RETURN
	movq	_jni_amediacodeclist_mapping@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-112(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_ff_jni_init_jfields
	testq	%rax, %rax
	js	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_AV_CODEC_ID_H264@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_AV_CODEC_ID_HEVC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
LBB0_3:
	movl	(%r14), %edx
	leaq	-112(%rbp), %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_ff_jni_reset_jfields
	movl	$-1, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jni_amediacodeclist_mapping,4,2 ## @jni_amediacodeclist_mapping
	.comm	_AV_CODEC_ID_H264,8,3           ## @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_HEVC,8,3           ## @AV_CODEC_ID_HEVC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_AMediaCodecProfile_getProfileFromAVCodecContext ; -- Begin function ff_AMediaCodecProfile_getProfileFromAVCodecContext
	.p2align	2
_ff_AMediaCodecProfile_getProfileFromAVCodecContext: ; @ff_AMediaCodecProfile_getProfileFromAVCodecContext
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	xzr, [sp, #80]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	mov	x0, #0
	mov	x1, x19
	mov	w2, #-1
	bl	_JNI_GET_ENV_OR_RETURN
Lloh0:
	adrp	x20, _jni_amediacodeclist_mapping@GOTPAGE
Lloh1:
	ldr	x20, [x20, _jni_amediacodeclist_mapping@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x1, sp
	mov	x0, #0
	mov	w3, #0
	mov	x4, x19
	bl	_ff_jni_init_jfields
	tbnz	x0, #63, LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _AV_CODEC_ID_H264@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_CODEC_ID_H264@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh5:
	adrp	x9, _AV_CODEC_ID_HEVC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_CODEC_ID_HEVC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
LBB0_3:
	ldr	w2, [x20]
	mov	x1, sp
	mov	x0, #0
	mov	w3, #0
	mov	x4, x19
	bl	_ff_jni_reset_jfields
	mov	w0, #-1
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_jni_amediacodeclist_mapping,4,2 ; @jni_amediacodeclist_mapping
	.comm	_AV_CODEC_ID_H264,8,3           ; @AV_CODEC_ID_H264
	.comm	_AV_CODEC_ID_HEVC,8,3           ; @AV_CODEC_ID_HEVC
.subsections_via_symbols
