	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_input
_config_input:                          ## @config_input
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	32(%r14), %rax
	movl	16(%rax), %edi
	movl	4(%r14), %edx
	leaq	-48(%rbp), %rsi
	callq	*(%rax)
	movq	_DNN_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_1
## %bb.2:
	movl	-48(%rbp), %ecx
	cmpl	$-1, %ecx
	je	LBB0_6
## %bb.3:
	movl	(%rbx), %r8d
	cmpl	%r8d, %ecx
	jne	LBB0_4
LBB0_6:
	movl	-44(%rbp), %ecx
	cmpl	$-1, %ecx
	je	LBB0_9
## %bb.7:
	movl	4(%rbx), %r8d
	cmpl	%r8d, %ecx
	jne	LBB0_8
LBB0_9:
	movl	-40(%rbp), %ecx
	cmpl	$3, %ecx
	jne	LBB0_10
## %bb.11:
	movq	-32(%rbp), %rax
	movq	_DNN_FLOAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.12:
	movq	_DNN_UINT8@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_16
LBB0_1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_16:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_17
LBB0_4:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_5
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_17
LBB0_8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_5:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_17:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	4(%rbx), %ecx
	leaq	8(%r14), %rsi
	movl	%ecx, 8(%r14)
	movl	(%rbx), %ecx
	movl	%ecx, 12(%r14)
	movl	$3, 16(%r14)
	movq	%rax, 24(%r14)
	movq	32(%r14), %rax
	movl	16(%rax), %edi
	movl	4(%r14), %edx
	movq	%r14, %rcx
	movl	$1, %r8d
	callq	*8(%rax)
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	(%r15), %rcx
	je	LBB0_18
## %bb.15:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_DNN_SUCCESS,8,3                ## @DNN_SUCCESS
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not get input from the model\n"

	.comm	_EIO,4,2                        ## @EIO
L_.str.1:                               ## @.str.1
	.asciz	"the model requires frame height %d but got %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"the model requires frame width %d but got %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"the model requires input channels %d\n"

	.comm	_DNN_FLOAT,8,3                  ## @DNN_FLOAT
	.comm	_DNN_UINT8,8,3                  ## @DNN_UINT8
L_.str.4:                               ## @.str.4
	.asciz	"only support dnn models with input data type as float32 and uint8.\n"

L_.str.5:                               ## @.str.5
	.asciz	"could not set input and output for the model\n"

	.no_dead_strip	_config_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_input
_config_input:                          ; @config_input
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	ldr	x8, [x19, #32]
	ldr	x9, [x8]
	ldr	w0, [x8, #16]
	ldr	w2, [x19, #4]
	add	x1, sp, #24
	blr	x9
Lloh0:
	adrp	x21, _DNN_SUCCESS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DNN_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	ldr	w8, [sp, #24]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.2:
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_10
LBB0_3:
	ldr	w8, [sp, #28]
	cmn	w8, #1
	b.eq	LBB0_5
; %bb.4:
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.ne	LBB0_12
LBB0_5:
	ldr	w8, [sp, #32]
	cmp	w8, #3
	b.ne	LBB0_11
; %bb.6:
	ldr	x8, [sp, #40]
Lloh2:
	adrp	x9, _DNN_FLOAT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DNN_FLOAT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _DNN_UINT8@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DNN_UINT8@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.7:
	ldr	d0, [x20]
	rev64.2s	v0, v0
	mov	x1, x19
	str	d0, [x1, #8]!
	mov	w9, #3
	str	w9, [x19, #16]
	str	x8, [x19, #24]
	ldr	x8, [x19, #32]
	ldr	x9, [x8, #8]
	ldr	w0, [x8, #16]
	ldr	w2, [x19, #4]
	mov	x3, x19
	mov	w4, #1
	blr	x9
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.8:
	mov	w0, #0
	b	LBB0_16
LBB0_9:
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_15
LBB0_10:
Lloh13:
	adrp	x10, _AV_LOG_ERROR@GOTPAGE
Lloh14:
	ldr	x10, [x10, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x10]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_11:
Lloh18:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_15
LBB0_12:
Lloh23:
	adrp	x10, _AV_LOG_ERROR@GOTPAGE
Lloh24:
	ldr	x10, [x10, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x10]
	stp	x8, x9, [sp]
Lloh26:
	adrp	x2, l_.str.2@PAGE
Lloh27:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_13:
Lloh28:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x2, l_.str.4@PAGE
Lloh32:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_15
LBB0_14:
Lloh33:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x2, l_.str.5@PAGE
Lloh37:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_15:
	mov	x0, x19
	bl	_av_log
Lloh38:
	adrp	x8, _EIO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_16:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_DNN_SUCCESS,8,3                ; @DNN_SUCCESS
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not get input from the model\n"

	.comm	_EIO,4,2                        ; @EIO
l_.str.1:                               ; @.str.1
	.asciz	"the model requires frame height %d but got %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"the model requires frame width %d but got %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"the model requires input channels %d\n"

	.comm	_DNN_FLOAT,8,3                  ; @DNN_FLOAT
	.comm	_DNN_UINT8,8,3                  ; @DNN_UINT8
l_.str.4:                               ; @.str.4
	.asciz	"only support dnn models with input data type as float32 and uint8.\n"

l_.str.5:                               ; @.str.5
	.asciz	"could not set input and output for the model\n"

	.no_dead_strip	_config_input
.subsections_via_symbols
