	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AV_CPU_FLAG_MMX@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, -56(%rbp)
	movq	_AV_CPU_FLAG_MMXEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	cmpl	$2, %edi
	jl	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_help
	movl	$1, %eax
	jmp	LBB0_6
LBB0_2:
	movq	_HAVE_MMXEXT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%rax)
	setne	%cl
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%edi, %edi
	callq	_avcodec_alloc_context3
	movq	%rax, %rbx
	movq	_AV_CODEC_FLAG_BITEXACT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	xorl	%edi, %edi
	callq	_av_force_cpu_flags
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r14, %rdi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_ff_me_cmp_init
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_av_force_cpu_flags
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_ff_me_cmp_init
	testq	%r14, %r14
	leaq	L_.str.2(%rip), %rbx
	leaq	L_.str.3(%rip), %r15
	cmoveq	%r15, %rbx
	leaq	L_.str.1(%rip), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	movl	$16, %ecx
	xorl	%eax, %eax
	callq	_printf
	movq	-64(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_test_motion
	movq	-64(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	movq	-72(%rbp), %rax
	movq	(%rax), %rax
	movl	4(%rax), %edx
	leaq	L_.str.4(%rip), %r15
	movq	%r15, %rdi
	callq	_test_motion
	movq	-64(%rbp), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movq	-72(%rbp), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edx
	leaq	L_.str.5(%rip), %r13
	movq	%r13, %rdi
	callq	_test_motion
	movq	-64(%rbp), %rax
	movq	(%rax), %rax
	movl	12(%rax), %esi
	movq	-72(%rbp), %rax
	movq	(%rax), %rax
	movl	12(%rax), %edx
	leaq	L_.str.6(%rip), %rdi
	callq	_test_motion
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	movl	$8, %ecx
	xorl	%eax, %eax
	callq	_printf
	movq	-64(%rbp), %rax
	movq	8(%rax), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rax
	movq	8(%rax), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_test_motion
	movq	-64(%rbp), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %esi
	movq	-72(%rbp), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %edx
	movq	%r15, %rdi
	callq	_test_motion
	movq	-64(%rbp), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %esi
	movq	-72(%rbp), %rax
	movq	8(%rax), %rax
	movl	8(%rax), %edx
	movq	%r13, %rdi
	callq	_test_motion
	movq	-64(%rbp), %rax
	movq	8(%rax), %rax
	movl	12(%rax), %esi
	movq	-72(%rbp), %rax
	movq	8(%rax), %rax
	movl	12(%rax), %edx
	leaq	L_.str.6(%rip), %rdi
	callq	_test_motion
	cmpq	%r14, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp,%r14,4), %r12d
	incq	%r14
	jmp	LBB0_3
LBB0_5:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_free
	xorl	%eax, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_CPU_FLAG_MMX,4,2            ## @AV_CPU_FLAG_MMX
	.comm	_AV_CPU_FLAG_MMXEXT,4,2         ## @AV_CPU_FLAG_MMXEXT
	.comm	_HAVE_MMXEXT,8,3                ## @HAVE_MMXEXT
	.comm	_AV_CODEC_FLAG_BITEXACT,4,2     ## @AV_CODEC_FLAG_BITEXACT
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s for %dx%d pixels\n"

L_.str.2:                               ## @.str.2
	.asciz	"mmx2"

L_.str.3:                               ## @.str.3
	.asciz	"mmx"

L_.str.4:                               ## @.str.4
	.asciz	"mmx_x2"

L_.str.5:                               ## @.str.5
	.asciz	"mmx_y2"

L_.str.6:                               ## @.str.6
	.asciz	"mmx_xy2"

L_str:                                  ## @str
	.asciz	"ffmpeg motion test"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _AV_CPU_FLAG_MMX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_CPU_FLAG_MMX@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x8, _AV_CPU_FLAG_MMXEXT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_CPU_FLAG_MMXEXT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w25, w8, [sp, #48]
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	bl	_help
	mov	w0, #1
	b	LBB0_6
LBB0_2:
Lloh9:
	adrp	x8, _HAVE_MMXEXT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HAVE_MMXEXT@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w8, ne
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
Lloh12:
	adrp	x0, l_str@PAGE
Lloh13:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, #0
	bl	_avcodec_alloc_context3
	mov	x19, x0
Lloh14:
	adrp	x8, _AV_CODEC_FLAG_BITEXACT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AV_CODEC_FLAG_BITEXACT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	mov	w0, #0
	bl	_av_force_cpu_flags
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, sp, #40
	mov	x1, x19
	bl	_ff_me_cmp_init
	mov	x28, #0
	add	x8, sp, #48
	add	x26, x8, #4
Lloh17:
	adrp	x20, l_.str.3@PAGE
Lloh18:
	add	x20, x20, l_.str.3@PAGEOFF
	mov	w27, #16
Lloh19:
	adrp	x21, l_.str.1@PAGE
Lloh20:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh21:
	adrp	x22, l_.str.4@PAGE
Lloh22:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh23:
	adrp	x23, l_.str.5@PAGE
Lloh24:
	add	x23, x23, l_.str.5@PAGEOFF
Lloh25:
	adrp	x24, l_.str.6@PAGE
Lloh26:
	add	x24, x24, l_.str.6@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_av_force_cpu_flags
	add	x0, sp, #32
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x0, sp, #32
	mov	x1, x19
	bl	_ff_me_cmp_init
	cmp	x28, #0
Lloh27:
	adrp	x8, l_.str.2@PAGE
Lloh28:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x25, x20, x8, eq
	stp	x27, x27, [sp, #8]
	str	x25, [sp]
	mov	x0, x21
	bl	_printf
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	ldr	w1, [x8]
	ldr	x8, [sp, #40]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x20
	bl	_test_motion
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	ldr	w1, [x8, #4]
	ldr	x8, [sp, #40]
	ldr	x8, [x8]
	ldr	w2, [x8, #4]
	mov	x0, x22
	bl	_test_motion
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	ldr	w1, [x8, #8]
	ldr	x8, [sp, #40]
	ldr	x8, [x8]
	ldr	w2, [x8, #8]
	mov	x0, x23
	bl	_test_motion
	ldr	x8, [sp, #32]
	ldr	x8, [x8]
	ldr	w1, [x8, #12]
	ldr	x8, [sp, #40]
	ldr	x8, [x8]
	ldr	w2, [x8, #12]
	mov	x0, x24
	bl	_test_motion
	mov	w8, #8
	stp	x8, x8, [sp, #8]
	str	x25, [sp]
	mov	x0, x21
	bl	_printf
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
	ldr	x8, [sp, #40]
	ldr	x8, [x8, #8]
	ldr	w2, [x8]
	mov	x0, x20
	bl	_test_motion
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #4]
	ldr	x8, [sp, #40]
	ldr	x8, [x8, #8]
	ldr	w2, [x8, #4]
	mov	x0, x22
	bl	_test_motion
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #8]
	ldr	x8, [sp, #40]
	ldr	x8, [x8, #8]
	ldr	w2, [x8, #8]
	mov	x0, x23
	bl	_test_motion
	ldr	x8, [sp, #32]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #12]
	ldr	x8, [sp, #40]
	ldr	x8, [x8, #8]
	ldr	w2, [x8, #12]
	mov	x0, x24
	bl	_test_motion
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x8, x28
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w25, [x26, x28, lsl #2]
	add	x28, x28, #1
	b	LBB0_3
LBB0_5:
	mov	x0, x19
	bl	_av_free
	mov	w0, #0
LBB0_6:
	ldr	x8, [sp, #56]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	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
	add	sp, sp, #160
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_CPU_FLAG_MMX,4,2            ; @AV_CPU_FLAG_MMX
	.comm	_AV_CPU_FLAG_MMXEXT,4,2         ; @AV_CPU_FLAG_MMXEXT
	.comm	_HAVE_MMXEXT,8,3                ; @HAVE_MMXEXT
	.comm	_AV_CODEC_FLAG_BITEXACT,4,2     ; @AV_CODEC_FLAG_BITEXACT
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s for %dx%d pixels\n"

l_.str.2:                               ; @.str.2
	.asciz	"mmx2"

l_.str.3:                               ; @.str.3
	.asciz	"mmx"

l_.str.4:                               ; @.str.4
	.asciz	"mmx_x2"

l_.str.5:                               ; @.str.5
	.asciz	"mmx_y2"

l_.str.6:                               ; @.str.6
	.asciz	"mmx_xy2"

l_str:                                  ; @str
	.asciz	"ffmpeg motion test"

.subsections_via_symbols
