	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r13d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_ff_ref_dct_init
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %r14
	xorl	%ebx, %ebx
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movl	%ebx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %ebx
	movl	%r13d, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_getopt
	movl	$1, %ecx
	cmpl	$116, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$52, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$105, %eax
	jne	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_8:
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %r14
	movl	$1, %r15d
	cmpl	%r13d, %r14d
	jge	LBB0_10
## %bb.9:
	movq	(%r12,%r14,8), %rdi
	callq	_atoi
	movl	%eax, %r15d
LBB0_10:
	incl	%r14d
	movl	$8, -48(%rbp)                   ## 4-byte Folded Spill
	cmpl	%r13d, %r14d
	jge	LBB0_12
## %bb.11:
	movslq	%r14d, %rax
	movq	(%r12,%rax,8), %rdi
	callq	_atoi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_12:
	leaq	L_str(%rip), %rdi
	callq	_puts
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_18
## %bb.13:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_av_get_cpu_flags
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_28
## %bb.14:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_idct_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_FF_ARRAY_ELEMS
	testl	%eax, %eax
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	jle	LBB0_19
## %bb.15:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	_idct_tab@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	$1, %edx
	movl	%ebx, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	callq	_dct_error
	orl	%eax, %r13d
	incq	%r15
	movq	(%r12), %rdi
	callq	_FF_ARRAY_ELEMS
	cltq
	addq	$16, %r14
	cmpq	%rax, %r15
	jl	LBB0_16
	jmp	LBB0_20
LBB0_17:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_help
	jmp	LBB0_28
LBB0_18:
	movq	_ff_simple_idct248_put@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %edx
	callq	_idct248_error
LBB0_27:
	xorl	%r13d, %r13d
	jmp	LBB0_28
LBB0_19:
	xorl	%r13d, %r13d
LBB0_20:
	movq	_idct_tab_arch@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_25
## %bb.21:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	notl	%ecx
	movl	$16, %r12d
	movq	%rax, %rdi
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_23 Depth=1
	leaq	(%rax,%r12), %rdi
	cmpq	$0, 8(%rax,%r12)
	leaq	16(%r12), %r12
	je	LBB0_25
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	testl	%ecx, (%rdi)
	jne	LBB0_22
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	$1, %edx
	movl	%ecx, %r14d
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	callq	_dct_error
	movl	%r14d, %ecx
	orl	%eax, %r13d
	movq	_idct_tab_arch@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_22
LBB0_25:
	testl	%r13d, %r13d
	je	LBB0_27
## %bb.26:
	leaq	L_.str.3(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %r13d
LBB0_28:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ih4t"

	.comm	_optind,4,2                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"SIMPLE-C"

	.comm	_ff_simple_idct248_put,4,2      ## @ff_simple_idct248_put
	.comm	_idct_tab,8,3                   ## @idct_tab
	.comm	_idct_tab_arch,8,3              ## @idct_tab_arch
L_.str.3:                               ## @.str.3
	.asciz	"Error: %d.\n"

	.comm	_fdct_tab,8,3                   ## @fdct_tab
	.comm	_fdct_tab_arch,8,3              ## @fdct_tab_arch
L_str:                                  ## @str
	.asciz	"ffmpeg DCT/IDCT 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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x1
	mov	x22, x0
	bl	_ff_ref_dct_init
	mov	w23, #0
	mov	w19, #0
	mov	w24, #1
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	x8, x19
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x19, x8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_getopt
	mov	w8, #1
	cmp	w0, #116
	b.eq	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #52
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w0, #105
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w23, #1
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w24, #0
	b	LBB0_1
LBB0_8:
Lloh2:
	adrp	x8, _optind@GOTPAGE
Lloh3:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh4:
	ldrsw	x25, [x8]
	cmp	w25, w22
	b.ge	LBB0_11
; %bb.9:
	ldr	x0, [x21, x25, lsl #3]
	bl	_atoi
	mov	x20, x0
	b	LBB0_12
LBB0_10:
	bl	_help
	b	LBB0_21
LBB0_11:
	mov	w20, #1
LBB0_12:
	add	w8, w25, #1
	cmp	w8, w22
	b.ge	LBB0_14
; %bb.13:
	ldr	x0, [x21, w8, sxtw #3]
	bl	_atoi
	mov	x21, x0
	b	LBB0_15
LBB0_14:
	mov	w21, #8
LBB0_15:
Lloh5:
	adrp	x0, l_str@PAGE
Lloh6:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	tbz	w24, #0, LBB0_20
; %bb.16:
	bl	_av_get_cpu_flags
	cbz	w23, LBB0_21
; %bb.17:
	mov	x22, x0
Lloh7:
	adrp	x24, _idct_tab@GOTPAGE
Lloh8:
	ldr	x24, [x24, _idct_tab@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_FF_ARRAY_ELEMS
	cmp	w0, #1
	b.lt	LBB0_23
; %bb.18:
	mov	x25, #0
	mov	x26, #0
	mov	w23, #0
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x0, x8, x25
	mov	x1, x20
	mov	w2, #1
	mov	x3, x19
	mov	x4, x21
	bl	_dct_error
	orr	w23, w0, w23
	add	x26, x26, #1
	ldr	x0, [x24]
	bl	_FF_ARRAY_ELEMS
	add	x25, x25, #16
	cmp	x26, w0, sxtw
	b.lt	LBB0_19
	b	LBB0_24
LBB0_20:
Lloh9:
	adrp	x8, _ff_simple_idct248_put@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ff_simple_idct248_put@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_idct248_error
LBB0_21:
	mov	w0, #0
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_23:
	mov	w23, #0
LBB0_24:
Lloh14:
	adrp	x24, _idct_tab_arch@GOTPAGE
Lloh15:
	ldr	x24, [x24, _idct_tab_arch@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_29
; %bb.25:
	mvn	w22, w22
	mov	w25, #24
	mov	x0, x8
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x0, x8, x25
	ldr	x9, [x0], #-8
	add	x25, x25, #16
	cbz	x9, LBB0_29
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x0]
	tst	w9, w22
	b.ne	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x1, x20
	mov	w2, #1
	mov	x3, x19
	mov	x4, x21
	bl	_dct_error
	orr	w23, w0, w23
	ldr	x8, [x24]
	b	LBB0_26
LBB0_29:
	cbz	w23, LBB0_21
; %bb.30:
	str	x23, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	mov	w0, #1
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ih4t"

	.comm	_optind,4,2                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"SIMPLE-C"

	.comm	_ff_simple_idct248_put,4,2      ; @ff_simple_idct248_put
	.comm	_idct_tab,8,3                   ; @idct_tab
	.comm	_idct_tab_arch,8,3              ; @idct_tab_arch
l_.str.3:                               ; @.str.3
	.asciz	"Error: %d.\n"

	.comm	_fdct_tab,8,3                   ; @fdct_tab
	.comm	_fdct_tab_arch,8,3              ; @fdct_tab_arch
l_str:                                  ; @str
	.asciz	"ffmpeg DCT/IDCT test"

.subsections_via_symbols
