	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avfilter_transform             ## -- Begin function avfilter_transform
	.p2align	4, 0x90
_avfilter_transform:                    ## @avfilter_transform
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $r8d killed $r8d def $r8
	movl	24(%rbp), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_17
## %bb.1:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_16
## %bb.2:
	movl	32(%rbp), %r12d
	movq	16(%rbp), %r13
	movl	%r8d, %r14d
	cltq
	leaq	l_switch.table.avfilter_transform(%rip), %rdx
	movq	(%rdx,%rax,8), %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	cvtsi2ss	%r8d, %xmm0
	movaps	%xmm0, -208(%rbp)               ## 16-byte Spill
	leal	-1(%r8), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movaps	%xmm0, -192(%rbp)               ## 16-byte Spill
	leal	-1(%rax), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %rcx
	movslq	-44(%rbp), %rdx                 ## 4-byte Folded Reload
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	shlq	$2, %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%r15d, %r15d
	movq	%r8, -152(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	-136(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	-144(%rbp), %rsi                ## 8-byte Folded Reload
	cmpq	-128(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-152(%rbp), %r8                 ## 8-byte Reload
	je	LBB0_16
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%r8d, %r8d
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	jle	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm0
	movss	%xmm0, -76(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	%rsi, -176(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	movaps	%xmm3, %xmm0
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movaps	%xmm1, -96(%rbp)                ## 16-byte Spill
	callq	_avpriv_mirror
	movaps	%xmm0, -112(%rbp)               ## 16-byte Spill
	movaps	-96(%rbp), %xmm0                ## 16-byte Reload
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_avpriv_mirror
	movaps	%xmm0, -96(%rbp)                ## 16-byte Spill
	xorps	%xmm2, %xmm2
	cmpleps	-112(%rbp), %xmm2               ## 16-byte Folded Reload
	xorps	%xmm1, %xmm1
	cmpleps	%xmm0, %xmm1
	andps	%xmm2, %xmm1
	movd	%xmm1, %edi
	andl	$1, %edi
	callq	_av_assert2
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	cmpltps	-208(%rbp), %xmm0               ## 16-byte Folded Reload
	movaps	-96(%rbp), %xmm1                ## 16-byte Reload
	cmpltps	-192(%rbp), %xmm1               ## 16-byte Folded Reload
	andps	%xmm0, %xmm1
	movd	%xmm1, %edi
	andl	$1, %edi
	callq	_av_assert2
	movaps	-112(%rbp), %xmm3               ## 16-byte Reload
	movaps	-96(%rbp), %xmm1                ## 16-byte Reload
	cvttss2si	%xmm1, %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %eax
	cvttss2si	%xmm3, %edx
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	addl	%eax, %edx
	movslq	%edx, %rax
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi,%rax,4), %r15d
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=2
	movaps	%xmm3, %xmm0
	movl	%r14d, %esi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r15d, %r8d
	callq	*-168(%rbp)                     ## 8-byte Folded Reload
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	movl	%eax, (%rsi,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	je	LBB0_15
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm1, %xmm1
	cvtsi2ss	%ebx, %xmm1
	movss	4(%r13), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	-76(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	movss	(%r13), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm0, %xmm3
	addss	8(%r13), %xmm3
	movss	16(%r13), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm0
	mulss	12(%r13), %xmm1
	addss	%xmm0, %xmm1
	addss	20(%r13), %xmm1
	cmpl	$133, %r12d
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$132, %r12d
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$131, %r12d
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	%rbx, %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movaps	%xmm1, %xmm0
	xorl	%edi, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movaps	%xmm3, -112(%rbp)               ## 16-byte Spill
	callq	_av_clipf
	movaps	%xmm0, -96(%rbp)                ## 16-byte Spill
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	xorl	%edi, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_av_clipf
	movaps	-96(%rbp), %xmm1                ## 16-byte Reload
	movaps	%xmm0, %xmm3
	cvttss2si	%xmm1, %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %eax
	cvttss2si	%xmm0, %edx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_16:
	xorl	%eax, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.avfilter_transform
l_switch.table.avfilter_transform:
	.quad	_interpolate_nearest
	.quad	_interpolate_biquadratic
	.quad	_interpolate_bilinear

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avfilter_transform             ; -- Begin function avfilter_transform
	.p2align	2
_avfilter_transform:                    ; @avfilter_transform
	.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
                                        ; kill: def $w3 killed $w3 def $x3
	sub	w8, w7, #128
	cmp	w8, #3
	b.hs	LBB0_15
; %bb.1:
	mov	x20, x5
	subs	w9, w5, #1
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
	b.lt	LBB0_16
; %bb.2:
	mov	x19, x6
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	stp	xzr, xzr, [sp, #40]             ; 16-byte Folded Spill
	mov	w28, #0
Lloh0:
	adrp	x9, l_switch.table.avfilter_transform@PAGE
Lloh1:
	add	x9, x9, l_switch.table.avfilter_transform@PAGEOFF
	ldr	w25, [x29, #16]
	ldr	x26, [x9, w8, sxtw #3]
	sub	w8, w4, #1
	str	w8, [sp, #56]                   ; 4-byte Folded Spill
	scvtf	s10, w4
	sxtw	x9, w22
	sbfiz	x8, x3, #2, #32
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	scvtf	s11, w20
	mov	w27, w4
	mov	w8, w20
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	str	w4, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [sp, #40]               ; 16-byte Folded Reload
	add	x9, x9, #1
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	x8, x8, x10
	stp	x9, x8, [sp, #40]               ; 16-byte Folded Spill
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x23, x23, x8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x9, x8
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	b.eq	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	cmp	w4, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	scvtf	s12, w8
	b	LBB0_10
LBB0_6:                                 ;   in Loop: Header=BB0_10 Depth=2
	fmov	s0, s8
	ldr	w0, [sp, #56]                   ; 4-byte Folded Reload
	bl	_avpriv_mirror
	fmov	s8, s0
	fmov	s0, s9
	ldr	w0, [sp, #60]                   ; 4-byte Folded Reload
	bl	_avpriv_mirror
	fmov	s9, s0
	fcmp	s8, #0.0
	cset	w8, ge
	fcmp	s0, #0.0
	cset	w9, ge
	and	w0, w8, w9
	bl	_av_assert2
	fcmp	s8, s10
	cset	w8, mi
	fcmp	s9, s11
	cset	w9, mi
	and	w0, w8, w9
	bl	_av_assert2
	fcvtzs	w8, s9
	fcvtzs	w9, s8
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=2
	madd	w8, w8, w22, w9
	sxtw	x8, w8
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	w28, [x24, x8, lsl #2]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	fmov	s0, s8
	fmov	s1, s9
	mov	x0, x24
	mov	x1, x27
	mov	x2, x20
	mov	x3, x22
	mov	x4, x28
	blr	x26
	str	w0, [x23, x21, lsl #2]
	add	x21, x21, #1
	cmp	x27, x21
	b.eq	LBB0_3
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scvtf	s0, w21
	ldp	s1, s2, [x19]
	fmul	s2, s2, s12
	fmadd	s1, s0, s1, s2
	ldp	s2, s3, [x19, #8]
	fadd	s8, s2, s1
	ldp	s1, s2, [x19, #16]
	fmul	s1, s1, s12
	fmadd	s0, s0, s3, s1
	fadd	s9, s2, s0
	cmp	w25, #133
	b.eq	LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w25, #132
	b.eq	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w25, #131
	b.ne	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x8, x8, x21
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=2
	fmov	s0, s9
	mov	w0, #0
	ldr	w1, [sp, #60]                   ; 4-byte Folded Reload
	bl	_av_clipf
	fmov	s9, s0
	fmov	s0, s8
	mov	w0, #0
	ldr	w1, [sp, #56]                   ; 4-byte Folded Reload
	bl	_av_clipf
	fmov	s8, s0
	fcvtzs	w8, s9
	fcvtzs	w9, s0
	b	LBB0_7
LBB0_15:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_16:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.avfilter_transform
l_switch.table.avfilter_transform:
	.quad	_interpolate_nearest
	.quad	_interpolate_biquadratic
	.quad	_interpolate_bilinear

.subsections_via_symbols
