	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_pmecc_get_sigma
_atmel_pmecc_get_sigma:                 ## @atmel_pmecc_get_sigma
	.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	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	24(%rdi), %r12
	movq	32(%rdi), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	callq	_get_sectorsize
	xorl	%ecx, %ecx
	cmpl	$512, %eax                      ## imm = 0x200
	sete	%cl
	movl	$14, %edi
	subl	%ecx, %edi
	callq	_BIT
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_get_strength
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leal	(%rax,%rax), %edx
	leal	(%rax,%rax), %esi
	incl	%esi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	40(%rbx), %r15
	movq	48(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	$-1, (%r14)
	movslq	%esi, %r13
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	leal	4(,%rdx,4), %r14d
	xorl	%eax, %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	callq	_memset
	movl	$1, (%r15)
	movl	$1, (%r12)
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movl	$0, (%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	%eax, (%rdx)
	movl	$0, 4(%rcx)
	leaq	(%r15,%r13,4), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movl	$1, (%r15,%r13,4)
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %eax
	movl	%eax, 4(%r12)
	movl	$0, 4(%rbx)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %eax
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, 4(%rbx)
	movq	-112(%rbp), %r13                ## 8-byte Reload
	leal	1(%r13), %ecx
	movl	%r14d, %eax
	movl	%ecx, -140(%rbp)                ## 4-byte Spill
	imull	%ecx, %eax
	cltq
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%rax,4), %rdi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	xorl	%esi, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_memset
	movq	-128(%rbp), %r9                 ## 8-byte Reload
	movq	-136(%rbp), %r8                 ## 8-byte Reload
	movq	%r13, %rax
	testl	%eax, %eax
	jle	LBB0_45
## %bb.1:
	movq	%rbx, %r11
	decl	-56(%rbp)                       ## 4-byte Folded Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	2(,%rax,4), %edx
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	%esi, %ecx
	shlq	$2, %rcx
	orq	$4, %rcx
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	movl	%eax, %r10d
	movslq	%esi, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	8(%rcx,%rax,8), %rbx
	leaq	4(,%rax,4), %rsi
	movq	%rsi, -216(%rbp)                ## 8-byte Spill
	leaq	12(%rcx,%rax,8), %r13
	movl	$1, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$2, -76(%rbp)                   ## 4-byte Folded Spill
	movl	%edx, -144(%rbp)                ## 4-byte Spill
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movl	%r14d, %ecx
	xorl	%edx, %edx
	movq	%r10, -224(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	incq	%rdx
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	addl	%r14d, %ecx
	addl	%r14d, -80(%rbp)                ## 4-byte Folded Spill
	movq	-216(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %rbx
	addq	%rax, %r15
	addl	$2, -76(%rbp)                   ## 4-byte Folded Spill
	addq	%rax, %r13
	cmpq	%r10, %rdx
	je	LBB0_45
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_34 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	leaq	1(%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	(%r13,%r13), %esi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%esi, -152(%rbp)                ## 4-byte Spill
	movl	%esi, 4(%rax,%r13,4)
	cmpl	$0, (%r12,%r13,4)
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	%rdx, -176(%rbp)                ## 8-byte Spill
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdx
	andq	$-2, %rdx
	movl	$-1, %ecx
	xorl	%eax, %eax
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	$2, %rax
	cmpq	%rax, %rdx
	je	LBB0_20
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%r12,%rax,4)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	(%r11,%rax,4), %esi
	cmpl	%ecx, %esi
	cmovgl	%esi, %ecx
	cmovgl	%eax, %ebx
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	cmpl	$0, 4(%r12,%rax,4)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	4(%r11,%rax,4), %esi
	leal	1(%rax), %edi
	cmpl	%ecx, %esi
	cmovgl	%esi, %ecx
	cmovgl	%edi, %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	incl	%esi
	movl	(%r8,%r13,4), %eax
	movl	%eax, %ecx
	sarl	%ecx
	notl	%ecx
	addl	-112(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	andl	$1, %ecx
	cmpl	$1, %ecx
	sbbl	$0, %edx
	addl	$2, %edx
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	cmpl	%edx, %esi
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$-1, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r15,%rcx,4), %eax
	movl	%eax, 4(%rbx,%rcx,4)
	movl	(%r8,%r13,4), %eax
	movl	%eax, %edx
	sarl	%edx
	movslq	%edx, %rdx
	incq	%rcx
	cmpq	%rdx, %rcx
	jl	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%r8,%rcx,4)
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %ecx
	xorl	%eax, %eax
	xorl	%ebx, %ebx
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	testb	$1, %r13b
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r12,%rax,4)
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, (%r11,%rax,4)
	cmovgl	%eax, %ebx
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %r15d
	movslq	%ebx, %r14
	movl	(%rax,%r14,4), %edi
	movl	%r15d, %eax
	subl	%edi, %eax
	movl	(%r8,%r13,4), %ecx
	movl	%ecx, %edx
	sarl	%edx
	movl	(%r8,%r14,4), %esi
	sarl	%esi
	addl	%eax, %esi
	leal	(%rsi,%rsi), %eax
	cmpl	%esi, %edx
	cmovgl	%ecx, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%r8,%rcx,4)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	imull	-176(%rbp), %eax                ## 4-byte Folded Reload
	addl	-144(%rbp), %eax                ## 4-byte Folded Reload
	cltq
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%edi, -148(%rbp)                ## 4-byte Spill
	leaq	(%rcx,%rax,4), %rdi
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	callq	___bzero
	movl	-148(%rbp), %edi                ## 4-byte Reload
	movq	-120(%rbp), %r11                ## 8-byte Reload
	movq	-128(%rbp), %r9                 ## 8-byte Reload
	movq	-136(%rbp), %r8                 ## 8-byte Reload
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8,%r14,4), %eax
	testl	%eax, %eax
	js	LBB0_31
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	imull	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	movslq	%ebx, %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rcx
	addl	-80(%rbp), %r15d                ## 4-byte Folded Reload
	subl	%edi, %r15d
	xorl	%esi, %esi
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=2
	leaq	1(%rsi), %rdx
	movl	%eax, %edi
	sarl	%edi
	movslq	%edi, %rdi
	cmpq	%rdi, %rsi
	movq	%rdx, %rsi
	jge	LBB0_31
LBB0_27:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rcx,%rsi,4), %rdx
	testq	%rdx, %rdx
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movslq	(%r12,%r13,4), %rdi
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	movslq	(%r12,%r14,4), %rbx
	movq	-192(%rbp), %r10                ## 8-byte Reload
	movl	(%r10,%rdi,4), %eax
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	addl	%edi, %eax
	subl	(%r10,%rbx,4), %eax
	addl	(%r10,%rdx,4), %eax
	cltd
	idivl	%edi
	movslq	%edx, %rax
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx,%rax,4), %eax
	leal	(%r15,%rsi), %edx
	movslq	%edx, %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, (%rdi,%rdx,4)
	movl	(%r8,%r14,4), %eax
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r8,%r13,4)
	js	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$-1, %rax
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r15,%rax,4), %ecx
	xorl	%ecx, 4(%rbx,%rax,4)
	movl	(%r8,%r13,4), %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	incq	%rax
	cmpq	%rcx, %rax
	jl	LBB0_34
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	-168(%rbp), %rbx                ## 8-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rcx,4), %eax
	addl	%eax, %eax
	subl	(%r8,%rcx,4), %eax
	sarl	%eax
	movl	%eax, (%r11,%rcx,4)
	movq	-224(%rbp), %r10                ## 8-byte Reload
	cmpq	%r10, %r13
	movq	-104(%rbp), %r13                ## 8-byte Reload
	jae	LBB0_44
## %bb.37:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%r8,%rax,4)
	js	LBB0_44
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-152(%rbp), %eax                ## 4-byte Reload
	orl	$1, %eax
	cltq
	movl	(%r9,%rax,4), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%r12,%rcx,4)
	movl	(%r8,%rcx,4), %eax
	cmpl	$2, %eax
	jl	LBB0_44
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	xorl	%esi, %esi
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=2
	movl	%eax, %edx
	sarl	%edx
	movslq	%edx, %rdx
	incq	%rsi
	decl	%ecx
	cmpq	%rdx, %rsi
	jge	LBB0_44
LBB0_40:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r13,%rsi,4), %rdx
	testq	%rdx, %rdx
	je	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	movslq	%ecx, %rdi
	movslq	(%r9,%rdi,4), %rdi
	testq	%rdi, %rdi
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=2
	movq	%rbx, %r13
	movq	-192(%rbp), %rbx                ## 8-byte Reload
	movl	(%rbx,%rdi,4), %eax
	addl	(%rbx,%rdx,4), %eax
	movq	%r13, %rbx
	movq	-104(%rbp), %r13                ## 8-byte Reload
	cltd
	idivl	-56(%rbp)                       ## 4-byte Folded Reload
	movslq	%edx, %rax
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx,%rax,4), %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, (%r12,%rdx,4)
	movl	(%r8,%rdx,4), %eax
	jmp	LBB0_43
LBB0_10:
	cmpl	$-2, %eax
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	jl	LBB0_13
## %bb.11:
	movslq	-84(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movq	$-1, %rdx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rcx,%rdx,4), %eax
	movl	%eax, 4(%rdi,%rdx,4)
	movl	(%r8,%r13,4), %eax
	movl	%eax, %esi
	sarl	%esi
	movslq	%esi, %rsi
	incq	%rdx
	cmpq	%rsi, %rdx
	jle	LBB0_12
LBB0_13:
	movslq	-140(%rbp), %rcx                ## 4-byte Folded Reload
	movl	%eax, (%r8,%rcx,4)
LBB0_45:
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_atmel_pmecc_get_sigma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_pmecc_get_sigma
_atmel_pmecc_get_sigma:                 ; @atmel_pmecc_get_sigma
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	mov	x20, x0
	ldp	x24, x8, [x0]
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldp	x25, x27, [x0, #16]
	ldr	x28, [x0, #32]
	bl	_get_sectorsize
	cmp	w0, #512
	mov	w8, #13
	cinc	w0, w8, ne
	bl	_BIT
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
	mov	x0, x20
	bl	_get_strength
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	sxtw	x8, w0
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	mov	w22, #1
	bfi	x22, x8, #1, #63
	ldp	x23, x8, [x20, #40]
	ldp	x19, x8, [x8]
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	mov	w8, #-1
	str	w8, [x25]
	lsl	w26, w22, #2
	mov	x0, x23
	mov	w1, #0
	mov	x2, x26
	bl	_memset
	mov	w8, #1
	str	w8, [x23]
	str	w8, [x27]
	mov	w20, #1
	str	wzr, [x24]
	ldr	w8, [x25]
	str	w8, [x28]
	str	wzr, [x25, #4]
	add	x21, x23, x22, lsl #2
	mov	x0, x21
	mov	w1, #0
	mov	x2, x26
	bl	_memset
	str	w20, [x21]
	ldr	x20, [sp, #72]                  ; 8-byte Folded Reload
	ldr	w8, [x20, #4]
	str	w8, [x27, #4]
	str	wzr, [x24, #4]
	ldr	w8, [x25, #4]
	str	w8, [x28, #4]
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	add	x8, x8, #1
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mul	w8, w22, w8
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
	add	x0, x23, w8, sxtw #2
	mov	w1, #0
	mov	x2, x26
	bl	_memset
	ldr	x3, [sp, #64]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_37
; %bb.1:
	mov	x2, x22
	mov	x1, x23
	mov	x17, x25
	mov	x16, x20
	mov	x4, #0
	mov	w5, #0
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	sub	w26, w8, #1
	ldr	x10, [sp, #80]                  ; 8-byte Folded Reload
	sbfiz	x8, x10, #1, #32
	ldur	x9, [x29, #-88]                 ; 8-byte Folded Reload
	sxtw	x9, w9
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	mov	w6, #2
	mov	w11, #2
	bfi	w11, w10, #2, #30
	mov	w9, w8
	lsl	x9, x9, #2
	orr	x9, x9, #0x4
	stp	x9, x22, [sp, #32]              ; 16-byte Folded Spill
	add	x9, x23, w8, sxtw #3
	add	x20, x9, #8
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sbfiz	x8, x8, #2, #32
	add	x7, x8, #4
	add	x23, x9, #12
	str	w11, [sp, #96]                  ; 4-byte Folded Spill
	mov	x0, x11
	mov	x30, x2
	mov	w15, #1
	mov	w14, w10
	stp	x1, x28, [sp, #48]              ; 16-byte Folded Spill
	str	x7, [sp, #24]                   ; 8-byte Folded Spill
	str	x14, [sp, #88]                  ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x4, x4, #1
	add	w30, w30, w2
	add	w0, w0, w2
	add	x20, x20, x7
	add	x21, x21, x7
	add	w6, w6, #2
	add	x23, x23, x7
	cmp	x4, x14
	b.eq	LBB0_37
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_30 Depth 2
	mov	x22, x15
	add	x15, x15, #1
	lsl	w12, w22, #1
	str	w12, [x17, x15, lsl #2]
	ldr	w8, [x27, x22, lsl #2]
	cbz	w8, LBB0_19
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	stur	x15, [x29, #-88]                ; 8-byte Folded Spill
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
	mov	x8, #0
	mov	w25, #0
	ldr	w9, [sp, #96]                   ; 4-byte Folded Reload
	madd	w9, w2, w4, w9
	add	x0, x1, w9, sxtw #2
	mov	w9, #-1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x8, x8, #1
	cmp	x22, x8
	b.eq	LBB0_8
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x27, x8, lsl #2]
	cbz	w10, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w10, [x28, x8, lsl #2]
	cmp	w10, w9
	csel	w9, w10, w9, gt
	csel	w25, w8, w25, gt
	b	LBB0_5
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	stur	w12, [x29, #-96]                ; 4-byte Folded Spill
	lsl	x8, x22, #2
	ldr	w11, [x17, x8]
	sbfiz	x9, x25, #2, #32
	ldr	w13, [x17, x9]
	sub	w10, w11, w13
	ldr	w8, [x24, x8]
	ldr	w9, [x24, x9]
	add	w9, w10, w9, asr #1
	lsl	w10, w9, #1
	cmp	w9, w8, asr #1
	csel	w8, w8, w10, lt
	ldur	x9, [x29, #-88]                 ; 8-byte Folded Reload
	str	w8, [x24, x9, lsl #2]
	cmp	w2, #1
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	mov	x28, x17
	str	x23, [sp, #112]                 ; 8-byte Folded Spill
	mov	x23, x4
	stp	w6, w5, [x29, #-104]            ; 8-byte Folded Spill
	stp	w11, w30, [sp, #104]            ; 8-byte Folded Spill
	str	w13, [sp, #100]                 ; 4-byte Folded Spill
	bl	_bzero
	ldp	w13, w11, [sp, #100]            ; 8-byte Folded Reload
	ldr	w30, [sp, #108]                 ; 4-byte Folded Reload
	ldr	x7, [sp, #24]                   ; 8-byte Folded Reload
	ldp	w6, w5, [x29, #-104]            ; 8-byte Folded Reload
	mov	x4, x23
	ldr	x23, [sp, #112]                 ; 8-byte Folded Reload
	ldp	x2, x1, [sp, #40]               ; 16-byte Folded Reload
	mov	x17, x28
	ldp	x28, x3, [sp, #56]              ; 16-byte Folded Reload
	ldr	x16, [sp, #72]                  ; 8-byte Folded Reload
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w25
	ldr	w12, [x24, x8, lsl #2]
	ldur	w0, [x29, #-92]                 ; 4-byte Folded Reload
	tbnz	w12, #31, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
	mul	w10, w25, w2
	add	x10, x1, w10, sxtw #2
	add	w11, w11, w0
	sub	w11, w11, w13
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	asr	w13, w12, #1
	cmp	x9, w13, sxtw
	add	x9, x9, #1
	b.ge	LBB0_16
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x13, [x10, x9, lsl #2]
	cbz	w13, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldrsw	x14, [x27, x22, lsl #2]
	cbz	w14, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	w12, [x19, x14, lsl #2]
	lsl	x14, x8, #2
	ldrsw	x15, [x27, x14]
	ldr	w15, [x19, x15, lsl #2]
	ldr	w13, [x19, x13, lsl #2]
	add	w12, w12, w26
	sub	w12, w12, w15
	add	w12, w12, w13
	sdiv	w13, w12, w26
	msub	w12, w13, w26, w12
	ldr	w12, [x3, w12, sxtw #2]
	add	w13, w11, w9
	str	w12, [x1, w13, sxtw #2]
	ldr	w12, [x24, x14]
	b	LBB0_12
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24, x22, lsl #2]
	ldur	w12, [x29, #-96]                ; 4-byte Folded Reload
	tbnz	w8, #31, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
	ldr	x14, [sp, #88]                  ; 8-byte Folded Reload
	ldur	x15, [x29, #-88]                ; 8-byte Folded Reload
LBB0_18:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x9, x8, #2
	ldr	w10, [x21, x9]
	ldr	w11, [x20, x9]
	eor	w10, w11, w10
	str	w10, [x20, x9]
	ldr	w9, [x24, x22, lsl #2]
	asr	w9, w9, #1
	cmp	x8, w9, sxtw
	add	x8, x8, #1
	b.lt	LBB0_18
	b	LBB0_25
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w5, w5, #1
	ldr	w8, [x24, x22, lsl #2]
	asr	w9, w8, #1
	mvn	w10, w9
	ldr	x11, [sp, #80]                  ; 8-byte Folded Reload
	add	w10, w11, w10
	sub	w9, w11, w9
	cmp	w10, #0
	csel	w9, w9, w10, lt
	tst	w10, #0x1
	mov	w10, #1
	cinc	w10, w10, ne
	add	w9, w10, w9, asr #1
	cmp	w5, w9
	b.eq	LBB0_33
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w8, #31, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
LBB0_22:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x8, x9, #2
	ldr	w10, [x21, x8]
	str	w10, [x20, x8]
	ldr	w8, [x24, x22, lsl #2]
	asr	w10, w8, #1
	cmp	x9, w10, sxtw
	add	x9, x9, #1
	b.lt	LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w8, [x24, x15, lsl #2]
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [sp, #88]                  ; 8-byte Folded Reload
	ldur	x15, [x29, #-88]                ; 8-byte Folded Reload
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x8, x15, #2
	ldr	w9, [x17, x8]
	ldr	w10, [x24, x8]
	lsl	w9, w9, #1
	sub	w9, w9, w10
	asr	w9, w9, #1
	str	w9, [x28, x8]
	cmp	x22, x14
	b.hs	LBB0_2
; %bb.26:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x24, x15, lsl #2]
	tbnz	w9, #31, LBB0_2
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	orr	w9, w12, #0x1
	ldr	w9, [x16, w9, sxtw #2]
	str	w9, [x27, x8]
	ldr	w11, [x24, x8]
	cmp	w11, #2
	b.lt	LBB0_2
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
	mov	x10, x6
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=2
	asr	w12, w11, #1
	add	x9, x9, #1
	sub	w10, w10, #1
	cmp	x9, w12, sxtw
	b.ge	LBB0_2
LBB0_30:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x12, [x23, x9, lsl #2]
	cbz	w12, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	ldrsw	x13, [x16, w10, sxtw #2]
	cbz	w13, LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_30 Depth=2
	ldr	w11, [x19, x12, lsl #2]
	ldr	w12, [x19, x13, lsl #2]
	add	w11, w12, w11
	sdiv	w12, w11, w26
	msub	w11, w12, w26, w11
	ldr	w11, [x3, w11, sxtw #2]
	ldr	w12, [x27, x8]
	eor	w11, w12, w11
	str	w11, [x27, x8]
	ldr	w11, [x24, x8]
	b	LBB0_29
LBB0_33:
	cmn	w8, #2
	b.lt	LBB0_36
; %bb.34:
	mov	x10, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x9, x1, x8, lsl #2
	add	x11, x1, w30, sxtw #2
LBB0_35:                                ; =>This Inner Loop Header: Depth=1
	lsl	x8, x10, #2
	ldr	w12, [x11, x8]
	str	w12, [x9, x8]
	ldr	w8, [x24, x22, lsl #2]
	asr	w12, w8, #1
	cmp	x10, w12, sxtw
	add	x10, x10, #1
	b.le	LBB0_35
LBB0_36:
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x24, x9, lsl #2]
LBB0_37:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_atmel_pmecc_get_sigma
.subsections_via_symbols
