	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocate_input_tensor
_allocate_input_tensor:                 ## @allocate_input_tensor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	$1, -32(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -28(%rbp)
	movl	4(%rdi), %ecx
	movl	%ecx, -24(%rbp)
	movl	8(%rdi), %edx
	movl	%edx, -20(%rbp)
	movl	12(%rdi), %esi
	cmpl	$129, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_6
## %bb.3:
	movl	$1, %esi
	movq	_TF_UINT8@GOTPCREL(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	movl	$4, %esi
	movq	_TF_FLOAT@GOTPCREL(%rip), %rdi
LBB0_4:
	movl	(%rdi), %edi
	imull	%eax, %ecx
	imull	%edx, %ecx
	imull	%esi, %ecx
	leaq	-32(%rbp), %rsi
	movl	$4, %edx
	callq	_TF_AllocateTensor
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_5
LBB0_8:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_6:
	callq	_allocate_input_tensor.cold.1
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_5
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function allocate_input_tensor.cold.1
_allocate_input_tensor.cold.1:          ## @allocate_input_tensor.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%edi, %edi
	callq	_av_assert0
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_TF_FLOAT,4,2                   ## @TF_FLOAT
	.comm	_TF_UINT8,4,2                   ## @TF_UINT8
	.no_dead_strip	_allocate_input_tensor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function allocate_input_tensor
_allocate_input_tensor:                 ; @allocate_input_tensor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	mov	w10, #1
	ldp	w8, w9, [x0]
	stp	w10, w8, [sp, #8]
	ldp	w10, w11, [x0, #8]
	stp	w9, w10, [sp, #16]
	cmp	w11, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w11, #128
	b.ne	LBB0_7
; %bb.2:
	mov	w11, #1
Lloh3:
	adrp	x12, _TF_UINT8@GOTPAGE
Lloh4:
	ldr	x12, [x12, _TF_UINT8@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	mov	w11, #4
Lloh5:
	adrp	x12, _TF_FLOAT@GOTPAGE
Lloh6:
	ldr	x12, [x12, _TF_FLOAT@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x12]
	mul	w8, w9, w8
	mul	w8, w8, w10
	mul	w3, w8, w11
	add	x1, sp, #8
	mov	w2, #4
	bl	_TF_AllocateTensor
	ldur	x8, [x29, #-8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	bl	___stack_chk_fail
LBB0_7:
	bl	_allocate_input_tensor.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function allocate_input_tensor.cold.1
_allocate_input_tensor.cold.1:          ; @allocate_input_tensor.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #0
	bl	_av_assert0
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_TF_FLOAT,4,2                   ; @TF_FLOAT
	.comm	_TF_UINT8,4,2                   ; @TF_UINT8
	.no_dead_strip	_allocate_input_tensor
.subsections_via_symbols
