	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dnn_load_model_tf           ## -- Begin function ff_dnn_load_model_tf
	.p2align	4, 0x90
_ff_dnn_load_model_tf:                  ## @ff_dnn_load_model_tf
	.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	$24, %edi
	callq	_av_malloc
	movq	%rax, -40(%rbp)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	movl	$24, %edi
	callq	_av_mallocz
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_load_tf_model
	movq	_DNN_SUCCESS@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_load_native_model
	cmpq	(%r12), %rax
	jne	LBB0_6
LBB0_4:
	movq	%r15, 16(%rbx)
	movq	_set_input_output_tf@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_get_input_tf@GOTPCREL(%rip), %rax
	movq	%rax, (%rbx)
	movq	-40(%rbp), %rax
	jmp	LBB0_9
LBB0_6:
	leaq	-48(%rbp), %rdi
	callq	_av_freep
LBB0_7:
	leaq	-40(%rbp), %rdi
	callq	_av_freep
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DNN_SUCCESS,8,3                ## @DNN_SUCCESS
	.comm	_set_input_output_tf,4,2        ## @set_input_output_tf
	.comm	_get_input_tf,4,2               ## @get_input_tf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dnn_load_model_tf           ; -- Begin function ff_dnn_load_model_tf
	.p2align	2
_ff_dnn_load_model_tf:                  ; @ff_dnn_load_model_tf
	.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, #24
	bl	_av_malloc
	str	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	w0, #24
	bl	_av_mallocz
	str	x0, [sp]
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	mov	x1, x20
	bl	_load_tf_model
Lloh0:
	adrp	x22, _DNN_SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DNN_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x21
	mov	x1, x20
	bl	_load_native_model
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _set_input_output_tf@GOTPAGE
Lloh3:
	ldr	x8, [x8, _set_input_output_tf@GOTPAGEOFF]
	str	x21, [x19, #16]
Lloh4:
	adrp	x9, _get_input_tf@GOTPAGE
Lloh5:
	ldr	x9, [x9, _get_input_tf@GOTPAGEOFF]
	stp	x9, x8, [x19]
	ldr	x0, [sp, #8]
	b	LBB0_7
LBB0_5:
	mov	x0, sp
	bl	_av_freep
LBB0_6:
	add	x0, sp, #8
	bl	_av_freep
	mov	x0, #0
LBB0_7:
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DNN_SUCCESS,8,3                ; @DNN_SUCCESS
	.comm	_set_input_output_tf,4,2        ; @set_input_output_tf
	.comm	_get_input_tf,4,2               ; @get_input_tf
.subsections_via_symbols
