	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ff_AMediaFormat_newFromObject
_ff_AMediaFormat_newFromObject:         ## @ff_AMediaFormat_newFromObject
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$16, %edi
	callq	_av_mallocz
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	_amediaformat_class@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_ff_jni_get_env
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r15
	movq	_jni_amediaformat_mapping@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ff_jni_init_jfields
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	*(%rax)
	movl	%eax, 4(%rbx)
	testl	%eax, %eax
	jne	LBB0_7
LBB0_4:
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$1, %ecx
	movq	%rbx, %r8
	callq	_ff_jni_reset_jfields
LBB0_5:
	leaq	-40(%rbp), %rdi
	callq	_av_freep
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amediaformat_class,4,2         ## @amediaformat_class
	.comm	_jni_amediaformat_mapping,4,2   ## @jni_amediaformat_mapping
	.no_dead_strip	_ff_AMediaFormat_newFromObject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ff_AMediaFormat_newFromObject
_ff_AMediaFormat_newFromObject:         ; @ff_AMediaFormat_newFromObject
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	mov	w0, #16
	bl	_av_mallocz
	mov	x19, x0
	str	x0, [sp, #8]
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _amediaformat_class@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amediaformat_class@GOTPAGEOFF]
	str	x8, [x19, #8]
	mov	x0, x19
	bl	_ff_jni_get_env
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
Lloh2:
	adrp	x22, _jni_amediaformat_mapping@GOTPAGE
Lloh3:
	ldr	x22, [x22, _jni_amediaformat_mapping@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x1, x19
	mov	w3, #1
	mov	x4, x19
	bl	_ff_jni_init_jfields
	tbnz	x0, #63, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	str	w0, [x19, #4]
	cbnz	w0, LBB0_6
LBB0_4:
	ldr	w2, [x22]
	mov	x0, x21
	mov	x1, x19
	mov	w3, #1
	mov	x4, x19
	bl	_ff_jni_reset_jfields
LBB0_5:
	add	x0, sp, #8
	bl	_av_freep
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_amediaformat_class,4,2         ; @amediaformat_class
	.comm	_jni_amediaformat_mapping,4,2   ; @jni_amediaformat_mapping
	.no_dead_strip	_ff_AMediaFormat_newFromObject
.subsections_via_symbols
