	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pix_norm1
_pix_norm1:                             ## @pix_norm1
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movq	_ff_square_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subl	%edx, %esi
	movslq	%esi, %r8
	leal	-1(%rdx), %r9d
	movl	%edx, %r11d
	andl	$3, %r11d
	movl	%edx, %r10d
	andl	$-4, %r10d
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rdi,%r8,8), %rdi
	incl	%r14d
	cmpl	%edx, %r14d
	je	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	cmpl	$3, %r9d
	jb	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r10d, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rsi
	movq	8(%rdi), %rcx
	addl	2048(%r15,%rsi,8), %eax
	addl	2048(%r15,%rcx,8), %eax
	movq	16(%rdi), %rcx
	addl	2048(%r15,%rcx,8), %eax
	movq	24(%rdi), %rcx
	addl	2048(%r15,%rcx,8), %eax
	addq	$32, %rdi
	addl	$-4, %ebx
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%r11d, %r11d
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r11d, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdi), %rcx
	addl	2048(%r15,%rcx,8), %eax
	addq	$8, %rdi
	decl	%ebx
	jne	LBB0_8
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_square_tab,8,3              ## @ff_square_tab
	.no_dead_strip	_pix_norm1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pix_norm1
_pix_norm1:                             ; @pix_norm1
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	subs	w9, w2, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x8, x0
	mov	w10, #0
	mov	w0, #0
Lloh0:
	adrp	x11, _ff_square_tab@GOTPAGE
Lloh1:
	ldr	x11, [x11, _ff_square_tab@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	add	x11, x11, #2048
	add	x12, x9, #1
	and	x13, x12, #0x1fffffffe
	sbfiz	x14, x1, #3, #32
	add	x14, x14, w9, uxtw #3
	sub	x14, x14, w2, sxtw #3
	add	x14, x14, #8
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, x14
	add	w10, w10, #1
	cmp	w10, w2
	b.eq	LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	cbz	w9, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x17, #0
	mov	w16, #0
	add	x15, x8, x13, lsl #3
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x8, x17, lsl #3
	ldp	x3, x1, [x1]
	ldr	x3, [x11, x3, lsl #3]
	ldr	x1, [x11, x1, lsl #3]
	add	w0, w0, w3
	add	w16, w16, w1
	add	x17, x17, #2
	cmp	x13, x17
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w0, w16, w0
	mov	x16, x13
	cmp	x12, x13
	b.eq	LBB0_2
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w16, #0
	mov	x15, x8
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w16, w2, w16
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x17, [x15], #8
	ldr	x17, [x11, x17, lsl #3]
	add	w0, w0, w17
	subs	w16, w16, #1
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:
	ret
LBB0_11:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_square_tab,8,3              ; @ff_square_tab
	.no_dead_strip	_pix_norm1
.subsections_via_symbols
