	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p256_to_affine
_p256_to_affine:                        ## @p256_to_affine
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rsi
	leaq	-128(%rbp), %r15
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	$30, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_square_f256
	movq	(%r14), %rdx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_mul_f256
	decl	%ebx
	jne	LBB0_1
## %bb.2:
	movq	(%r14), %rsi
	leaq	-208(%rbp), %r12
	movq	%r12, %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	$1, %ebx
	leaq	-128(%rbp), %r15
	leaq	LJTI0_0(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	callq	_mul_f256
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	$256, %ebx                      ## imm = 0x100
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_square_f256
	cmpl	$220, %ebx
	jle	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	-221(%rbx), %eax
	cmpl	$34, %eax
	ja	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$31, %ebx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$63, %ebx
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$190, %ebx
	je	LBB0_7
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rdx
	movq	%r12, %rdi
	movq	%r12, %rsi
	jmp	LBB0_11
LBB0_13:
	leaq	-128(%rbp), %rbx
	leaq	-208(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	callq	_mul_f256
	movq	16(%r14), %rdi
	movq	%rbx, %rsi
	movq	%rdi, %rdx
	callq	_mul_f256
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_mul_f256
	movq	8(%r14), %rdi
	movq	%rbx, %rsi
	movq	%rdi, %rdx
	callq	_mul_f256
	movq	16(%r14), %rdi
	callq	_reduce_final_f256
	movq	8(%r14), %rdi
	callq	_reduce_final_f256
	movq	(%r14), %rdi
	movq	%rdi, %rsi
	movq	%r15, %rdx
	callq	_mul_f256
	movq	(%r14), %rdi
	callq	_reduce_final_f256
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_p256_to_affine
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p256_to_affine
_p256_to_affine:                        ; @p256_to_affine
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x1, [x0]
	add	x0, sp, #88
	mov	w2, #8
	bl	_memcpy
	mov	w20, #30
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #88
	add	x1, sp, #88
	bl	_square_f256
	ldr	x2, [x19]
	add	x0, sp, #88
	add	x1, sp, #88
	bl	_mul_f256
	subs	w20, w20, #1
	b.ne	LBB0_1
; %bb.2:
	ldr	x1, [x19]
	add	x0, sp, #8
	mov	w2, #8
	bl	_memcpy
	mov	w20, #1
Lloh3:
	adrp	x21, lJTI0_0@PAGE
Lloh4:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	add	x1, sp, #8
	add	x2, sp, #88
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_mul_f256
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w20, w20, #1
	cmp	w20, #256
	b.eq	LBB0_13
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	add	x1, sp, #8
	bl	_square_f256
	cmp	w20, #220
	b.le	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w20, #221
	cmp	w8, #34
	b.hi	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w20, #31
	b.eq	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w20, #63
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w20, #190
	b.eq	LBB0_3
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x2, [x19]
	add	x0, sp, #8
	add	x1, sp, #8
	b	LBB0_4
LBB0_13:
	add	x0, sp, #88
	add	x1, sp, #8
	add	x2, sp, #8
	bl	_mul_f256
	ldr	x0, [x19, #16]
	add	x1, sp, #88
	mov	x2, x0
	bl	_mul_f256
	add	x0, sp, #88
	add	x1, sp, #88
	add	x2, sp, #8
	bl	_mul_f256
	ldr	x0, [x19, #8]
	add	x1, sp, #88
	mov	x2, x0
	bl	_mul_f256
	ldr	x0, [x19, #16]
	bl	_reduce_final_f256
	ldr	x0, [x19, #8]
	bl	_reduce_final_f256
	ldr	x0, [x19]
	add	x2, sp, #8
	mov	x1, x0
	bl	_mul_f256
	ldr	x0, [x19]
	bl	_reduce_final_f256
	ldur	x8, [x29, #-40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
                                        ; -- End function
	.no_dead_strip	_p256_to_affine
.subsections_via_symbols
