	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dnn_execute_layer_conv2d
LCPI0_0:
	.quad	0x3fc999999999999a              ## double 0.20000000000000001
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_2:
	.long	0x3f800000                      ## float 1
LCPI0_3:
	.long	0xc0000000                      ## float -2
LCPI0_4:
	.long	0x40000000                      ## float 2
LCPI0_5:
	.long	0xbf800000                      ## float -1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dnn_execute_layer_conv2d
	.p2align	4, 0x90
_dnn_execute_layer_conv2d:              ## @dnn_execute_layer_conv2d
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdi, %r15
	movq	(%rsi), %rax
	leaq	(%rax,%rax,2), %rax
	movq	(%rdi,%rax,8), %rsi
	movl	(%rsi), %ecx
	movl	4(%rsi), %r8d
	movl	8(%rsi), %r9d
	movl	(%r13), %edi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	8(%r13), %rdi
	movq	_VALID@GOTPCREL(%rip), %rbx
	xorl	%r14d, %r14d
	cmpq	(%rbx), %rdi
	jne	LBB0_2
## %bb.1:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	leal	-1(%rbx), %edi
	shrl	$31, %edi
	leal	(%rbx,%rdi), %r14d
	decl	%r14d
	sarl	%r14d
	imull	16(%r13), %r14d
LBB0_2:
	movl	4(%r13), %edi
	movl	%edi, -60(%rbp)                 ## 4-byte Spill
	movq	8(%r15,%rax,8), %rdi
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movl	12(%rsi), %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	leaq	(%rdx,%rdx,2), %rbx
	movq	(%r15,%rbx,8), %rdx
	movl	%ecx, (%rdx)
	leal	(%r14,%r14), %ecx
	movl	%r8d, %esi
	subl	%ecx, %esi
	movl	%esi, 4(%rdx)
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	movl	%r9d, %esi
	subl	%ecx, %esi
	movl	%esi, 8(%rdx)
	movl	20(%r13), %ecx
	movl	%ecx, 12(%rdx)
	movl	20(%r15,%rax,8), %eax
	movl	%eax, 20(%r15,%rbx,8)
	leaq	(%r15,%rbx,8), %rdi
	movl	%r8d, %r12d
	callq	_calculate_operand_data_length
	movl	%eax, 16(%r15,%rbx,8)
	movq	8(%r15,%rbx,8), %rdi
	movl	%eax, %esi
	callq	_av_realloc
	movq	%rax, 8(%r15,%rbx,8)
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r15
	xorl	%edi, %edi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	4(%r13), %eax
	sete	%dil
	callq	_av_assert0
	movl	%r12d, %ecx
	subl	%r14d, %ecx
	xorl	%eax, %eax
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	cmpl	%ecx, %r14d
	jge	LBB0_4
## %bb.6:
	movl	%r12d, %esi
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, %edi
	sarl	%edi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %ebx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	imull	%eax, %ebx
	movl	%ebx, -88(%rbp)                 ## 4-byte Spill
	imull	%ecx, %edx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	subl	%ecx, %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	%edi, -104(%rbp)                ## 4-byte Spill
	movl	%edi, %eax
	negl	%eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	%ecx, %eax
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r15, %r9
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpl	-100(%rbp), %eax                ## 4-byte Folded Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	je	LBB0_14
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##         Child Loop BB0_21 Depth 4
                                        ##           Child Loop BB0_24 Depth 5
                                        ##             Child Loop BB0_29 Depth 6
	cmpl	-84(%rbp), %ecx                 ## 4-byte Folded Reload
	jge	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	20(%r13), %eax
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_9 Depth=2
	movslq	%eax, %rcx
	leaq	(%r9,%rcx,4), %r9
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	-84(%rbp), %ecx                 ## 4-byte Folded Reload
	je	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##         Child Loop BB0_21 Depth 4
                                        ##           Child Loop BB0_24 Depth 5
                                        ##             Child Loop BB0_29 Depth 6
	testl	%eax, %eax
	jle	LBB0_44
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	xorl	%r11d, %r11d
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_11 Depth=3
	xorps	LCPI0_1(%rip), %xmm0
	movq	%r11, %rbx
	callq	_exp
	movq	%rbx, %r11
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	movss	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	%xmm0, %xmm1
	divss	%xmm1, %xmm0
LBB0_42:                                ##   in Loop: Header=BB0_11 Depth=3
	movss	%xmm0, (%r9,%r11,4)
LBB0_43:                                ##   in Loop: Header=BB0_11 Depth=3
	incq	%r11
	movslq	20(%r13), %rax
	cmpq	%rax, %r11
	jge	LBB0_44
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_21 Depth 4
                                        ##           Child Loop BB0_24 Depth 5
                                        ##             Child Loop BB0_29 Depth 6
	cmpq	$0, 48(%r13)
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	24(%r13), %rax
	movss	(%rax,%r11,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=3
	xorps	%xmm1, %xmm1
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=3
	movss	%xmm1, (%r9,%r11,4)
	movl	4(%r13), %r10d
	testl	%r10d, %r10d
	jle	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	-96(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	imull	%r11d, %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	(%r13), %r8d
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_21 Depth=4
	movaps	%xmm1, %xmm0
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=4
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movaps	%xmm0, %xmm1
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	cmpl	%r10d, %eax
	jge	LBB0_18
LBB0_21:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_24 Depth 5
                                        ##             Child Loop BB0_29 Depth 6
	testl	%r8d, %r8d
	jle	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=4
	xorl	%edx, %edx
	movl	%r10d, %eax
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_24 Depth=5
	movaps	%xmm1, %xmm0
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=5
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	incl	%edx
	movaps	%xmm0, %xmm1
	cmpl	%r8d, %edx
	jge	LBB0_27
LBB0_24:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ##         Parent Loop BB0_21 Depth=4
                                        ## =>        This Loop Header: Depth=5
                                        ##             Child Loop BB0_29 Depth 6
	testl	%r8d, %r8d
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	jle	LBB0_25
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=5
	movl	%edx, %r14d
	subl	-104(%rbp), %r14d               ## 4-byte Folded Reload
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leal	(%rdx,%rcx), %r12d
	imull	-60(%rbp), %r12d                ## 4-byte Folded Reload
	addl	-56(%rbp), %r12d                ## 4-byte Folded Reload
	xorl	%r15d, %r15d
	movl	%r12d, -108(%rbp)               ## 4-byte Spill
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=6
	cvtsd2ss	%xmm0, %xmm0
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=6
	movq	32(%r13), %rax
	movl	%r10d, %edx
	imull	%r15d, %edx
	addl	%r12d, %edx
	movslq	%edx, %rdx
	mulss	(%rax,%rdx,4), %xmm0
	addss	%xmm1, %xmm0
	movss	%xmm0, (%r9,%r11,4)
	incl	%r15d
	movl	%r10d, %eax
	movaps	%xmm0, %xmm1
	cmpl	%r8d, %r15d
	jge	LBB0_26
LBB0_29:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ##         Parent Loop BB0_21 Depth=4
                                        ##           Parent Loop BB0_24 Depth=5
                                        ## =>          This Inner Loop Header: Depth=6
	movq	8(%r13), %rbx
	movl	16(%r13), %edx
	movl	%edx, %edi
	imull	%r14d, %edi
	addl	-68(%rbp), %edi                 ## 4-byte Folded Reload
	movq	_SAME_CLAMP_TO_EDGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=6
	movl	%r14d, %r12d
	movq	%r11, %r14
	callq	_CLAMP_TO_EDGE
	movl	%eax, %ebx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r15), %edi
	imull	16(%r13), %edi
	addl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_CLAMP_TO_EDGE
	movq	%r14, %r11
	movl	%r12d, %r14d
	movl	-108(%rbp), %r12d               ## 4-byte Reload
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	imull	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	(%r13), %r8d
	movl	4(%r13), %r10d
	imull	%r10d, %eax
	addl	-56(%rbp), %ebx                 ## 4-byte Folded Reload
	addl	%eax, %ebx
	movslq	%ebx, %rax
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movss	(%rdx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%r9,%r11,4), %xmm1             ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=6
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	addl	%r15d, %ebx
	imull	%ebx, %edx
	addl	-44(%rbp), %edx                 ## 4-byte Folded Reload
	xorps	%xmm0, %xmm0
	js	LBB0_36
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=6
	cmpl	-64(%rbp), %edx                 ## 4-byte Folded Reload
	jge	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=6
	testl	%edi, %edi
	js	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=6
	cmpl	%esi, %edi
	jge	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=6
	imull	-88(%rbp), %edi                 ## 4-byte Folded Reload
	imull	%edx, %eax
	addl	-56(%rbp), %edi                 ## 4-byte Folded Reload
	addl	%eax, %edi
	movslq	%edi, %rax
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	movss	(%rdx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=3
	movaps	%xmm1, %xmm0
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=3
	movl	40(%r13), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_43
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=3
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_39:                                ##   in Loop: Header=BB0_11 Depth=3
	mulss	LCPI0_3(%rip), %xmm0
	movq	%r11, %rbx
	callq	_exp
	movq	%rbx, %r11
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	addss	LCPI0_2(%rip), %xmm1
	movss	LCPI0_4(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	divss	%xmm1, %xmm0
	addss	LCPI0_5(%rip), %xmm0
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_11 Depth=3
	xorps	%xmm1, %xmm1
	movq	%r11, %rbx
	callq	_FFMAX
	movq	%rbx, %r11
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_11 Depth=3
	xorps	%xmm1, %xmm1
	movq	%r11, %rbx
	callq	_FFMAX
	cvtss2sd	%xmm0, %xmm0
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movss	(%rax,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	xorps	%xmm1, %xmm1
	callq	_FFMIN
	movq	%rbx, %r11
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	mulsd	LCPI0_0(%rip), %xmm0
	addsd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	cvtsd2ss	%xmm0, %xmm0
	jmp	LBB0_42
LBB0_3:
	movl	$-1, %eax
	jmp	LBB0_4
LBB0_14:
	xorl	%eax, %eax
LBB0_4:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_43, LBB0_43-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
LJTI0_0:
	.long	L0_0_set_39
	.long	L0_0_set_40
	.long	L0_0_set_38
	.long	L0_0_set_43
	.long	L0_0_set_41
	.end_data_region
                                        ## -- End function
	.comm	_VALID,8,3                      ## @VALID
	.comm	_SAME_CLAMP_TO_EDGE,8,3         ## @SAME_CLAMP_TO_EDGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dnn_execute_layer_conv2d       ; -- Begin function dnn_execute_layer_conv2d
	.p2align	2
_dnn_execute_layer_conv2d:              ; @dnn_execute_layer_conv2d
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d13, d12, [sp, #64]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #80]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	mov	x19, x3
	ldr	x8, [x1]
	mov	w9, #24
	madd	x11, x8, x9, x0
	ldr	x10, [x11]
	ldp	w9, w24, [x10]
	ldr	w12, [x10, #8]
	str	w12, [sp, #52]                  ; 4-byte Folded Spill
	ldr	w14, [x3]
	ldr	x12, [x3, #8]
Lloh0:
	adrp	x13, _VALID@GOTPAGE
Lloh1:
	ldr	x13, [x13, _VALID@GOTPAGEOFF]
Lloh2:
	ldr	x13, [x13]
	cmp	x12, x13
	b.ne	LBB0_2
; %bb.1:
	sub	w12, w14, #1
	cmp	w12, #0
	mov	x25, x14
	csel	w12, w14, w12, lt
	asr	w12, w12, #1
	ldr	w13, [x19, #16]
	mul	w28, w13, w12
	b	LBB0_3
LBB0_2:
	mov	x25, x14
	mov	w28, #0
LBB0_3:
	ldr	x11, [x11, #8]
	str	x11, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w20, [x19, #4]
	ldr	w21, [x10, #12]
	mov	w10, #24
	madd	x23, x2, x10, x0
	ldr	x11, [x23]
	lsl	w12, w28, #1
	sub	w13, w24, w12
	stp	w9, w13, [x11]
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	sub	w9, w9, w12
	str	w9, [x11, #8]
	ldr	w9, [x19, #20]
	str	w9, [x11, #12]
	madd	x8, x8, x10, x0
	ldr	w8, [x8, #20]
	str	w8, [x23, #20]
	mov	x0, x23
	bl	_calculate_operand_data_length
	mov	x1, x0
	str	w0, [x23, #16]
	ldr	x0, [x23, #8]
	bl	_av_realloc
	str	x0, [x23, #8]
	cbz	x0, LBB0_42
; %bb.4:
	mov	x22, x0
	ldr	w8, [x19, #4]
	cmp	w21, w8
	cset	w0, eq
	bl	_av_assert0
	sub	w8, w24, w28
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	cmp	w28, w8
	b.ge	LBB0_41
; %bb.5:
	mov	x23, x24
	asr	w9, w25, #1
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	mul	w10, w20, w8
	str	w10, [sp, #36]                  ; 4-byte Folded Spill
	mul	w10, w20, w25
	stp	w25, w10, [sp, #12]             ; 8-byte Folded Spill
	sub	w8, w8, w28
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	neg	w8, w9
	str	w8, [sp, #56]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x25, _SAME_CLAMP_TO_EDGE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _SAME_CLAMP_TO_EDGE@GOTPAGEOFF]
	fmov	s8, #-2.00000000
	fmov	s9, #1.00000000
	fmov	s10, #2.00000000
	fmov	s11, #-1.00000000
	str	w28, [sp, #32]                  ; 4-byte Folded Spill
	str	w28, [sp]                       ; 4-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w28, [sp, #32]                  ; 4-byte Folded Reload
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w28, w28, #1
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	str	w28, [sp, #32]                  ; 4-byte Folded Spill
	cmp	w28, w8
	ldr	w28, [sp]                       ; 4-byte Folded Reload
	b.eq	LBB0_41
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_16 Depth 3
                                        ;         Child Loop BB0_22 Depth 4
                                        ;           Child Loop BB0_25 Depth 5
                                        ;             Child Loop BB0_29 Depth 6
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w28, w8
	b.ge	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x19, #20]
	str	w28, [sp, #60]                  ; 4-byte Folded Spill
	ldr	w28, [sp, #32]                  ; 4-byte Folded Reload
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x22, x22, w8, sxtw #2
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	add	w10, w10, #1
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	str	w10, [sp, #60]                  ; 4-byte Folded Spill
	cmp	w10, w9
	b.eq	LBB0_7
LBB0_11:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_16 Depth 3
                                        ;         Child Loop BB0_22 Depth 4
                                        ;           Child Loop BB0_25 Depth 5
                                        ;             Child Loop BB0_29 Depth 6
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x26, #0
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=3
	fneg	s0, s0
	bl	_exp
	scvtf	s0, w0
	fadd	s0, s0, s9
	fdiv	s0, s9, s0
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=3
	str	s0, [x22, x26, lsl #2]
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=3
	add	x26, x26, #1
	ldrsw	x8, [x19, #20]
	cmp	x26, x8
	b.ge	LBB0_10
LBB0_16:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_22 Depth 4
                                        ;           Child Loop BB0_25 Depth 5
                                        ;             Child Loop BB0_29 Depth 6
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=3
	ldr	x8, [x19, #24]
	ldr	s0, [x8, x26, lsl #2]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=3
	movi	d0, #0000000000000000
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=3
	str	s0, [x22, x26, lsl #2]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=3
	mov	w20, #0
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	mul	w9, w9, w26
	str	w9, [sp, #24]                   ; 4-byte Folded Spill
	ldr	w9, [x19]
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=4
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_36
LBB0_22:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_16 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_25 Depth 5
                                        ;             Child Loop BB0_29 Depth 6
	cmp	w9, #1
	b.lt	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=4
	mov	w11, #0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=5
	ldr	w11, [sp, #28]                  ; 4-byte Folded Reload
	add	w11, w11, #1
	cmp	w11, w9
	b.ge	LBB0_21
LBB0_25:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_16 Depth=3
                                        ;         Parent Loop BB0_22 Depth=4
                                        ; =>        This Loop Header: Depth=5
                                        ;             Child Loop BB0_29 Depth 6
	cmp	w9, #1
	str	w11, [sp, #28]                  ; 4-byte Folded Spill
	b.lt	LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=5
	mov	w21, #0
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	sub	w27, w11, w10
	ldr	w10, [sp, #24]                  ; 4-byte Folded Reload
	add	w10, w11, w10
	ldr	w11, [sp, #16]                  ; 4-byte Folded Reload
	mul	w10, w11, w10
	add	w24, w10, w20
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=6
	fcvt	s1, d1
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=6
	ldr	x10, [x19, #32]
	madd	w11, w8, w21, w24
	ldr	s2, [x10, w11, sxtw #2]
	fmadd	s0, s1, s2, s0
	str	s0, [x22, x26, lsl #2]
	add	w21, w21, #1
	cmp	w21, w9
	b.ge	LBB0_24
LBB0_29:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_16 Depth=3
                                        ;         Parent Loop BB0_22 Depth=4
                                        ;           Parent Loop BB0_25 Depth=5
                                        ; =>          This Inner Loop Header: Depth=6
	ldr	x11, [x19, #8]
	ldr	x12, [x25]
	ldr	w10, [x19, #16]
	madd	w0, w10, w27, w28
	cmp	x11, x12
	b.ne	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=6
	mov	x1, x23
	bl	_CLAMP_TO_EDGE
	mov	x28, x25
	mov	x25, x23
	mov	x23, x0
	ldp	w8, w10, [sp, #56]              ; 8-byte Folded Reload
	add	w8, w8, w21
	ldr	w9, [x19, #16]
	madd	w0, w9, w8, w10
	ldr	w1, [sp, #52]                   ; 4-byte Folded Reload
	bl	_CLAMP_TO_EDGE
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	mul	w8, w23, w8
	mov	x23, x25
	mov	x25, x28
	ldr	w28, [sp, #32]                  ; 4-byte Folded Reload
	add	w10, w8, w20
	ldp	w9, w8, [x19]
	madd	w10, w8, w0, w10
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	ldr	s1, [x11, w10, sxtw #2]
	ldr	s0, [x22, x26, lsl #2]
	b	LBB0_28
LBB0_31:                                ;   in Loop: Header=BB0_29 Depth=6
	ldp	w11, w12, [sp, #56]             ; 8-byte Folded Reload
	add	w11, w11, w21
	madd	w10, w10, w11, w12
	movi	d1, #0000000000000000
	tbnz	w10, #31, LBB0_27
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=6
	ldr	w11, [sp, #52]                  ; 4-byte Folded Reload
	cmp	w10, w11
	b.ge	LBB0_27
; %bb.33:                               ;   in Loop: Header=BB0_29 Depth=6
	tbnz	w0, #31, LBB0_27
; %bb.34:                               ;   in Loop: Header=BB0_29 Depth=6
	cmp	w0, w23
	b.ge	LBB0_27
; %bb.35:                               ;   in Loop: Header=BB0_29 Depth=6
	ldr	w11, [sp, #36]                  ; 4-byte Folded Reload
	mul	w11, w0, w11
	add	w11, w11, w20
	madd	w10, w8, w10, w11
	ldr	x11, [sp, #40]                  ; 8-byte Folded Reload
	ldr	s1, [x11, w10, sxtw #2]
	fcvt	d1, s1
	b	LBB0_27
LBB0_36:                                ;   in Loop: Header=BB0_16 Depth=3
	ldr	w8, [x19, #40]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_15
; %bb.37:                               ;   in Loop: Header=BB0_16 Depth=3
Lloh5:
	adrp	x11, lJTI0_0@PAGE
Lloh6:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_13
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_38:                                ;   in Loop: Header=BB0_16 Depth=3
	fmul	s0, s0, s8
	bl	_exp
	scvtf	s0, w0
	fadd	s0, s0, s9
	fdiv	s0, s10, s0
	fadd	s0, s0, s11
	b	LBB0_14
LBB0_39:                                ;   in Loop: Header=BB0_16 Depth=3
	movi	d1, #0000000000000000
	bl	_FFMAX
	b	LBB0_14
LBB0_40:                                ;   in Loop: Header=BB0_16 Depth=3
	movi	d1, #0000000000000000
	bl	_FFMAX
	fcvt	d12, s0
	ldr	s0, [x22, x26, lsl #2]
	movi	d1, #0000000000000000
	bl	_FFMIN
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16329, lsl #48
	fmov	d1, x8
	fmadd	d0, d0, d1, d12
	fcvt	s0, d0
	b	LBB0_14
LBB0_41:
	mov	w0, #0
	b	LBB0_43
LBB0_42:
	mov	w0, #-1
LBB0_43:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #80]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_38-LBB0_13)>>2
	.byte	(LBB0_13-LBB0_13)>>2
	.byte	(LBB0_39-LBB0_13)>>2
	.byte	(LBB0_15-LBB0_13)>>2
	.byte	(LBB0_40-LBB0_13)>>2
                                        ; -- End function
	.comm	_VALID,8,3                      ; @VALID
	.comm	_SAME_CLAMP_TO_EDGE,8,3         ; @SAME_CLAMP_TO_EDGE
.subsections_via_symbols
