	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_jni_init_jfields            ## -- Begin function ff_jni_init_jfields
	.p2align	4, 0x90
_ff_jni_init_jfields:                   ## @ff_jni_init_jfields
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_20
## %bb.1:
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	8(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, (%rcx,%rax,4)
	xorl	%r14d, %r14d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	56(%r15), %rsi
	addq	$32, %r15
	testq	%rsi, %rsi
	je	LBB0_22
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %r12d
	movl	4(%r15), %eax
	movq	_FF_JNI_CLASS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movq	%r13, %rdi
	callq	*48(%rax)
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_ff_jni_exception_check
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	jne	LBB0_23
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	*40(%rax)
	movq	%rbx, %rsi
	movq	%rax, %rbx
	movslq	8(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,4)
	movq	(%r13), %rax
	movq	%r13, %rdi
	callq	*32(%rax)
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movl	12(%r15), %ecx
	movl	16(%r15), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	jmp	LBB0_13
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movslq	8(%r15), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,4)
	jmp	LBB0_3
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movl	12(%r15), %ecx
	movl	16(%r15), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	*16(%rax)
	jmp	LBB0_13
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movl	12(%r15), %ecx
	movl	16(%r15), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	*8(%rax)
	jmp	LBB0_13
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r13), %rax
	movl	12(%r15), %ecx
	movl	16(%r15), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	*24(%rax)
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_ff_jni_exception_check
	testl	%eax, %eax
	jns	LBB0_2
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.15:
	movl	%eax, %r14d
	jmp	LBB0_23
LBB0_20:
	xorl	%r14d, %r14d
	jmp	LBB0_24
LBB0_21:
	movq	_AVERROR_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_22:
	testl	%r14d, %r14d
	jns	LBB0_24
LBB0_23:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_ff_jni_reset_jfields
LBB0_24:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movl	%eax, %r14d
	testl	%r14d, %r14d
	jns	LBB0_24
	jmp	LBB0_23
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_FF_JNI_CLASS,4,2               ## @FF_JNI_CLASS
	.comm	_AVERROR_EXTERNAL,4,2           ## @AVERROR_EXTERNAL
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown JNI field type\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_jni_init_jfields            ; -- Begin function ff_jni_init_jfields
	.p2align	2
_ff_jni_init_jfields:                   ; @ff_jni_init_jfields
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	ldr	x1, [x2, #24]
	cbz	x1, LBB0_20
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x23, x0
	mov	x24, #0
Lloh0:
	adrp	x28, _FF_JNI_CLASS@GOTPAGE
Lloh1:
	ldr	x28, [x28, _FF_JNI_CLASS@GOTPAGEOFF]
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x21, x2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	ldrsw	x8, [x21, #8]
	str	w27, [x22, x8, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x21, #56]
	add	x21, x21, #32
	cbz	x1, LBB0_22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w26, w8, [x21]
	ldr	w9, [x28]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #48]
	mov	x0, x23
	blr	x8
	mov	x24, x0
	mov	x0, x23
	mov	x1, x26
	mov	x2, x19
	bl	_ff_jni_exception_check
	mov	x25, x0
	tbz	w0, #31, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w26, LBB0_23
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w20, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #40]
	mov	x0, x23
	mov	x1, x24
	blr	x8
	mov	x26, x0
	ldrsw	x8, [x21, #8]
	lsl	x8, x8, #2
	str	x0, [x22, x8]
	ldr	x8, [x23]
	ldr	x8, [x8, #32]
	mov	x0, x23
	mov	x1, x24
	blr	x8
	mov	x24, x26
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x24, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_25
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh2:
	adrp	x11, lJTI0_0@PAGE
Lloh3:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_12
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8]
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x21, #8]
	lsl	x8, x8, #2
	str	x24, [x22, x8]
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #16]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldr	x8, [x8, #24]
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w3, w2, [x21, #12]
	mov	x0, x23
	mov	x1, x24
	blr	x8
	mov	x27, x0
	mov	x0, x23
	mov	x1, x26
	mov	x2, x19
	bl	_ff_jni_exception_check
	tbz	w0, #31, LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	w26, LBB0_2
; %bb.19:
	mov	x25, x0
	b	LBB0_23
LBB0_20:
	mov	w25, #0
	b	LBB0_24
LBB0_21:
Lloh4:
	adrp	x8, _AVERROR_EXTERNAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AVERROR_EXTERNAL@GOTPAGEOFF]
Lloh6:
	ldr	w25, [x8]
LBB0_22:
	tbz	w25, #31, LBB0_24
LBB0_23:
	mov	x0, x23
	mov	x1, x22
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x20
	mov	x4, x19
	bl	_ff_jni_reset_jfields
LBB0_24:
	mov	x0, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_AVERROR
	mov	x25, x0
	tbz	w25, #31, LBB0_24
	b	LBB0_23
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_14-LBB0_12)>>2
	.byte	(LBB0_15-LBB0_12)>>2
	.byte	(LBB0_16-LBB0_12)>>2
                                        ; -- End function
	.comm	_FF_JNI_CLASS,4,2               ; @FF_JNI_CLASS
	.comm	_AVERROR_EXTERNAL,4,2           ; @AVERROR_EXTERNAL
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown JNI field type\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
