	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function bicubic_kernel
LCPI0_0:
	.long	0x46800200                      ## float 16385
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_bicubic_kernel:                        ## @bicubic_kernel
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movss	%xmm1, -84(%rbp)                ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_calculate_bicubic_coeffs
	leaq	-80(%rbp), %rdi
	movss	-84(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_calculate_bicubic_coeffs
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12,%rbx,4)
	movq	(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15,%rbx,4)
	movss	-64(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	mulss	-80(%rbp,%rbx), %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm0
	callq	_lrintf
	movl	%eax, (%r14,%rbx,4)
	movq	8(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	4(%rax), %eax
	movl	%eax, 4(%r12,%rbx,4)
	movq	(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	4(%rax), %eax
	movl	%eax, 4(%r15,%rbx,4)
	movss	-60(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	mulss	-80(%rbp,%rbx), %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	callq	_lrintf
	movl	%eax, 4(%r14,%rbx,4)
	movq	8(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	8(%rax), %eax
	movl	%eax, 8(%r12,%rbx,4)
	movq	(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	8(%rax), %eax
	movl	%eax, 8(%r15,%rbx,4)
	movss	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	mulss	-80(%rbp,%rbx), %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	callq	_lrintf
	movl	%eax, 8(%r14,%rbx,4)
	movq	8(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	12(%rax), %eax
	movl	%eax, 12(%r12,%rbx,4)
	movq	(%r13), %rax
	movq	(%rax,%rbx,2), %rax
	movl	12(%rax), %eax
	movl	%eax, 12(%r15,%rbx,4)
	movss	-52(%rbp), %xmm0                ## xmm0 = mem[0],zero,zero,zero
	mulss	-80(%rbp,%rbx), %xmm0
	mulss	LCPI0_0(%rip), %xmm0
	callq	_lrintf
	movl	%eax, 12(%r14,%rbx,4)
	addq	$4, %rbx
	cmpq	$16, %rbx
	jne	LBB0_1
## %bb.2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bicubic_kernel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bicubic_kernel
_bicubic_kernel:                        ; @bicubic_kernel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	fmov	s8, s1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	add	x0, sp, #24
	bl	_calculate_bicubic_coeffs
	add	x23, sp, #8
	add	x0, sp, #8
	fmov	s0, s8
	bl	_calculate_bicubic_coeffs
	mov	x24, #0
	add	x20, x20, #8
	add	x21, x21, #8
	add	x22, x22, #8
	mov	w25, #512
	movk	w25, #18048, lsl #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x26, x24, #2
	ldr	x8, [x19, #8]
	lsl	x27, x24, #3
	ldr	x8, [x8, x27]
	ldr	w8, [x8]
	stur	w8, [x22, #-8]
	ldr	x8, [x19]
	ldr	x8, [x8, x27]
	ldr	w8, [x8]
	stur	w8, [x21, #-8]
	ldr	s0, [sp, #24]
	ldr	s1, [x23, x26]
	fmul	s0, s0, s1
	fmov	s8, w25
	fmul	s0, s0, s8
	bl	_lrintf
	stur	w0, [x20, #-8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, #4]
	stur	w8, [x22, #-4]
	ldr	x8, [x19]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, #4]
	stur	w8, [x21, #-4]
	ldr	s0, [sp, #28]
	ldr	s1, [x23, x26]
	fmul	s0, s0, s1
	fmul	s0, s0, s8
	bl	_lrintf
	stur	w0, [x20, #-4]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, #8]
	str	w8, [x22]
	ldr	x8, [x19]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, #8]
	str	w8, [x21]
	ldr	s0, [sp, #32]
	ldr	s1, [x23, x26]
	fmul	s0, s0, s1
	fmul	s0, s0, s8
	bl	_lrintf
	str	w0, [x20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, #12]
	str	w8, [x22, #4]
	ldr	x8, [x19]
	ldr	x8, [x8, x27]
	ldr	w8, [x8, #12]
	str	w8, [x21, #4]
	ldr	s0, [sp, #36]
	ldr	s1, [x23, x26]
	fmul	s0, s0, s1
	fmul	s0, s0, s8
	bl	_lrintf
	add	x24, x24, #1
	str	w0, [x20, #4]
	add	x20, x20, #16
	add	x21, x21, #16
	add	x22, x22, #16
	cmp	x24, #4
	b.ne	LBB0_1
; %bb.2:
	ldr	x8, [sp, #40]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bicubic_kernel
.subsections_via_symbols
