	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function main
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	123                             ## 0x7b
	.long	123                             ## 0x7b
	.long	123                             ## 0x7b
	.long	123                             ## 0x7b
LCPI0_3:
	.long	492                             ## 0x1ec
	.long	492                             ## 0x1ec
	.long	492                             ## 0x1ec
	.long	492                             ## 0x1ec
LCPI0_4:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_5:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_6:
	.long	984                             ## 0x3d8
	.long	984                             ## 0x3d8
	.long	984                             ## 0x3d8
	.long	984                             ## 0x3d8
LCPI0_7:
	.long	1476                            ## 0x5c4
	.long	1476                            ## 0x5c4
	.long	1476                            ## 0x5c4
	.long	1476                            ## 0x5c4
LCPI0_8:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_av_log_set_level
	movl	(%r13), %r15d
	testl	%r15d, %r15d
	jle	LBB0_12
## %bb.1:
	cmpl	$8, %r15d
	jae	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	movl	%r15d, %eax
	andl	$-8, %eax
	leaq	-8(%rax), %rcx
	movq	%rcx, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movq	%rdx, %rsi
	andq	$-2, %rsi
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = [0,1,2,3]
	xorl	%ecx, %ecx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [123,123,123,123]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [492,492,492,492]
	movdqa	LCPI0_4(%rip), %xmm11           ## xmm11 = [8,8,8,8]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [12,12,12,12]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [984,984,984,984]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [1476,1476,1476,1476]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm4, %xmm0
	paddd	%xmm8, %xmm0
	movdqa	%xmm4, %xmm2
	pmulld	%xmm4, %xmm2
	pmulld	%xmm0, %xmm0
	psrld	$3, %xmm2
	psrld	$3, %xmm0
	movdqa	%xmm4, %xmm3
	pmulld	%xmm9, %xmm3
	paddd	%xmm3, %xmm0
	paddd	%xmm10, %xmm0
	paddd	%xmm3, %xmm2
	movdqa	%xmm2, (%r12,%rcx,4)
	movdqa	%xmm0, 16(%r12,%rcx,4)
	movdqa	%xmm4, %xmm0
	paddd	%xmm11, %xmm0
	movdqa	%xmm4, %xmm2
	paddd	%xmm5, %xmm2
	pmulld	%xmm0, %xmm0
	pmulld	%xmm2, %xmm2
	psrld	$3, %xmm0
	psrld	$3, %xmm2
	paddd	%xmm3, %xmm0
	paddd	%xmm6, %xmm0
	paddd	%xmm3, %xmm2
	paddd	%xmm7, %xmm2
	movdqa	%xmm0, 32(%r12,%rcx,4)
	movdqa	%xmm2, 48(%r12,%rcx,4)
	addq	$16, %rcx
	paddd	%xmm1, %xmm4
	addq	$-2, %rsi
	jne	LBB0_6
## %bb.7:
	testb	$1, %dl
	je	LBB0_9
LBB0_8:
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = [4,4,4,4]
	paddd	%xmm4, %xmm0
	movdqa	%xmm4, %xmm1
	pmulld	%xmm4, %xmm1
	pmulld	%xmm0, %xmm0
	psrld	$3, %xmm1
	psrld	$3, %xmm0
	pmulld	LCPI0_2(%rip), %xmm4
	paddd	%xmm4, %xmm0
	paddd	%xmm1, %xmm4
	paddd	LCPI0_3(%rip), %xmm0
	movdqa	%xmm4, (%r12,%rcx,4)
	movdqa	%xmm0, 16(%r12,%rcx,4)
LBB0_9:
	cmpq	%r15, %rax
	je	LBB0_12
LBB0_10:
	imull	$123, %eax, %ecx
	movl	%eax, %edx
	imull	%eax, %edx
	leal	(%rax,%rax), %esi
	incl	%esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%edx, %edi
	shrl	$3, %edi
	addl	%ecx, %edi
	movl	%edi, (%r12,%rax,4)
	incq	%rax
	addl	$123, %ecx
	addl	%esi, %edx
	addl	$2, %esi
	cmpq	%rax, %r15
	jne	LBB0_11
LBB0_12:
	cmpl	$2, %ebx
	jl	LBB0_19
## %bb.13:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_14
LBB0_19:
	movl	$1, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_av_adler32_update
	movl	%eax, %ecx
	movq	_checksum@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
LBB0_17:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	callq	_av_log
	movq	_checksum@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	$1357309192, (%rcx)             ## imm = 0x50E6E508
	setne	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-48(%rbp), %rdx
	jne	LBB0_20
## %bb.18:
	movb	%cl, %al
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	$1, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_av_adler32_update
	movq	_checksum@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rdi
	callq	_STOP_TIMER
	movl	$999, %ebx                      ## imm = 0x3E7
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	movl	$1, %edi
	movq	%r12, %rsi
	callq	_av_adler32_update
	movl	%eax, (%r15)
	movq	%r14, %rdi
	callq	_STOP_TIMER
	decl	%ebx
	jne	LBB0_15
## %bb.16:
	movl	(%r15), %ecx
	jmp	LBB0_17
LBB0_4:
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = [0,1,2,3]
	xorl	%ecx, %ecx
	testb	$1, %dl
	jne	LBB0_8
	jmp	LBB0_9
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LEN,4,2                        ## @LEN
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-t"

	.comm	_START_TIMER,4,2                ## @START_TIMER
	.comm	_checksum,4,2                   ## @checksum
L_.str.1:                               ## @.str.1
	.asciz	"adler"

L_.str.2:                               ## @.str.2
	.asciz	"%X (expected 50E6E508)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function main
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _LEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _LEN@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x23, _AV_LOG_DEBUG@GOTPAGE
Lloh8:
	ldr	x23, [x23, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_av_log_set_level
	ldr	w21, [x24]
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.1:
	cmp	w21, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	b	LBB0_6
LBB0_3:
	and	x8, x21, #0xfffffff0
Lloh9:
	adrp	x9, lCPI0_0@PAGE
Lloh10:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	add	x9, x19, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	mov	w10, #1476
	dup.4s	v4, w10
	mov	w10, #984
	dup.4s	v5, w10
	movi.4s	v6, #123
	mov	w10, #492
	dup.4s	v7, w10
	movi.4s	v16, #16
	mov	x10, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v17, v0, v1
	add.4s	v18, v0, v2
	add.4s	v19, v0, v3
	mul.4s	v20, v0, v0
	mul.4s	v17, v17, v17
	mul.4s	v18, v18, v18
	mul.4s	v19, v19, v19
	mul.4s	v21, v0, v6
	mov.16b	v22, v21
	usra.4s	v22, v17, #3
	mov.16b	v17, v21
	usra.4s	v17, v18, #3
	mov.16b	v18, v21
	usra.4s	v18, v19, #3
	usra.4s	v21, v20, #3
	add.4s	v19, v22, v7
	add.4s	v17, v17, v5
	add.4s	v18, v18, v4
	stp	q21, q19, [x9, #-32]
	stp	q17, q18, [x9], #64
	add.4s	v0, v0, v16
	subs	x10, x10, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x21
	b.eq	LBB0_8
LBB0_6:
	mov	w9, #123
	mul	w9, w8, w9
	mul	w10, w8, w8
	mov	w11, #1
	bfi	w11, w8, #1, #31
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	w12, w9, w10, lsr #3
	str	w12, [x19, x8, lsl #2]
	add	x8, x8, #1
	add	w9, w9, #123
	add	w10, w10, w11
	add	w11, w11, #2
	cmp	x21, x8
	b.ne	LBB0_7
LBB0_8:
Lloh11:
	adrp	x25, _checksum@GOTPAGE
Lloh12:
	ldr	x25, [x25, _checksum@GOTPAGEOFF]
	cmp	w22, #1
	b.le	LBB0_10
; %bb.9:
	ldr	x0, [x20, #8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_13
LBB0_10:
	mov	w0, #1
	mov	x1, x19
	mov	x2, x21
	bl	_av_adler32_update
	mov	x3, x0
	str	w0, [x25]
LBB0_11:
	ldr	w1, [x23]
Lloh15:
	adrp	x2, l_.str.2@PAGE
Lloh16:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, #0
	bl	_av_log
	ldr	w8, [x25]
	mov	w9, #58632
	movk	w9, #20710, lsl #16
	cmp	w8, w9
	cset	w0, ne
	ldur	x8, [x29, #-72]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.12:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	w0, #1
	mov	x1, x19
	mov	x2, x21
	bl	_av_adler32_update
	str	w0, [x25]
Lloh20:
	adrp	x20, l_.str.1@PAGE
Lloh21:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_STOP_TIMER
	mov	w21, #999
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	mov	w0, #1
	mov	x1, x19
	bl	_av_adler32_update
	str	w0, [x25]
	mov	x0, x20
	bl	_STOP_TIMER
	subs	w21, w21, #1
	b.ne	LBB0_14
; %bb.15:
	ldr	w3, [x25]
	b	LBB0_11
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_LEN,4,2                        ; @LEN
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-t"

	.comm	_START_TIMER,4,2                ; @START_TIMER
	.comm	_checksum,4,2                   ; @checksum
l_.str.1:                               ; @.str.1
	.asciz	"adler"

l_.str.2:                               ; @.str.2
	.asciz	"%X (expected 50E6E508)\n"

.subsections_via_symbols
