	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GFp_nistp_points_make_affine_internal ## -- Begin function ec_GFp_nistp_points_make_affine_internal
	.p2align	4, 0x90
_ec_GFp_nistp_points_make_affine_internal: ## @ec_GFp_nistp_points_make_affine_internal
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%rdx,2), %r15
	movq	%r15, %rdi
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	callq	*%r9
	testl	%eax, %eax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	je	LBB0_1
## %bb.2:
	callq	*%r14
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	jge	LBB0_4
	jmp	LBB0_9
LBB0_1:
	movq	%r15, %rsi
	callq	*16(%rbp)
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_9
LBB0_4:
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,4), %rbx
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	leaq	(%rax,%rax,2), %r12
	decq	%r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	*16(%rbp)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	%r12, %rbx
	movq	%r15, %r14
	decq	%r13
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r14,%rcx), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdx
	callq	*32(%rbp)
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	-1(%rax), %rbx
	movq	%rbx, %rdi
	imulq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	%rdi, %rsi
	callq	*40(%rbp)
	testl	$-2147483648, %ebx              ## imm = 0x80000000
	movq	32(%rbp), %rcx
	jne	LBB0_21
## %bb.10:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	imulq	%rdx, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	%rsi, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rbx
	movq	%rdx, %rax
	imulq	%rbx, %rax
	leaq	(%rsi,%rax), %r14
	movq	%rdx, %rsi
	negq	%rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %r15
	incq	%r15
	imulq	%rdx, %r15
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	addq	%rdi, %r15
	leaq	(%rdx,%rdx,2), %rsi
	negq	%rsi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,2), %r13
	addq	%rdi, %r13
	leaq	(%rbx,%rbx,2), %r12
	addq	$2, %r12
	imulq	%rdx, %r12
	addq	%rdi, %r12
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	*24(%rbp)
	movq	%r13, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	*32(%rbp)
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	32(%rbp), %rbx
	callq	*%rbx
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	*%rbx
	movq	%r13, %rdi
	movq	%r13, %rsi
	movq	48(%rbp), %rbx
	callq	*%rbx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	*%rbx
	movq	%r12, %rdi
	callq	*-88(%rbp)                      ## 8-byte Folded Reload
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	32(%rbp), %rcx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	1(%rbx), %rax
	addq	-104(%rbp), %r14                ## 8-byte Folded Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	addq	%rdx, %r15
	addq	%rdx, %r13
	addq	%rdx, %r12
	testq	%rax, %rax
	jle	LBB0_21
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	subq	$1, -72(%rbp)                   ## 8-byte Folded Spill
	jae	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	*16(%rbp)
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	leal	(%rbx,%rax), %esi
	imulq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	*%rcx
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r12, %rdi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	addl	%eax, %ebx
	imulq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*16(%rbp)
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	addl	%eax, %ebx
	imulq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	*32(%rbp)
	jmp	LBB0_17
LBB0_21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GFp_nistp_points_make_affine_internal ; -- Begin function ec_GFp_nistp_points_make_affine_internal
	.p2align	2
_ec_GFp_nistp_points_make_affine_internal: ; @ec_GFp_nistp_points_make_affine_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	x7, [sp, #40]                   ; 8-byte Folded Spill
	mov	x19, x6
	mov	x21, x5
	mov	x20, x4
	mov	x22, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	add	x27, x1, x2, lsl #1
	mov	x0, x27
	blr	x5
	stp	x22, x19, [sp, #64]             ; 16-byte Folded Spill
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x22
	blr	x20
	b	LBB0_3
LBB0_2:
	mov	x0, x22
	mov	x1, x27
	blr	x19
LBB0_3:
	ldp	x20, x19, [x29, #16]
	cmp	w26, #2
	b.lt	LBB0_9
; %bb.4:
	and	x8, x26, #0xffffffff
	add	x9, x24, x24, lsl #2
	add	x27, x25, x9
	add	x22, x24, x24, lsl #1
	sub	x23, x8, #1
	ldr	x28, [sp, #64]                  ; 8-byte Folded Reload
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	blr	x8
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, x22
	add	x28, x28, x24
	subs	x23, x23, #1
	b.eq	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	blr	x21
	mov	x8, x0
	add	x0, x28, x24
	mov	x1, x28
	cbnz	w8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x2, x27
	blr	x20
	b	LBB0_6
LBB0_9:
	sub	x22, x26, #1
	ldr	x28, [sp, #64]                  ; 8-byte Folded Reload
	madd	x0, x22, x24, x28
	mov	x1, x0
	blr	x19
	ldr	x19, [sp, #72]                  ; 8-byte Folded Reload
	tbnz	w22, #31, LBB0_21
; %bb.10:
	ldr	x11, [x29, #32]
	madd	x26, x24, x26, x28
	sxtw	x23, w22
	mul	x8, x24, x23
	add	x27, x28, x8
	neg	x10, x24
	add	x9, x23, w22, sxtw #1
	mov	x22, x10
	madd	x10, x24, x9, x24
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	sub	x10, x24, x24, lsl #2
	add	x8, x8, x8, lsl #1
	str	x8, [sp]                        ; 8-byte Folded Spill
	add	x8, x9, #2
	mul	x8, x24, x8
	stp	x10, x8, [sp, #48]              ; 16-byte Folded Spill
	stp	x22, x11, [sp, #16]             ; 16-byte Folded Spill
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x28
	mov	x1, x26
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	blr	x8
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x19, x25, x8
	mov	x0, x19
	mov	x1, x19
	mov	x2, x28
	blr	x20
	mov	x0, x28
	mov	x1, x28
	mov	x2, x26
	blr	x20
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x22, x25, x8
	mov	x0, x22
	mov	x1, x22
	mov	x2, x28
	blr	x20
	mov	x0, x19
	mov	x1, x19
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	blr	x19
	mov	x0, x22
	mov	x1, x22
	blr	x19
	mov	x0, x28
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	blr	x8
	ldp	x28, x19, [sp, #64]             ; 16-byte Folded Reload
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	sub	x8, x23, #1
	add	x27, x27, x22
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x25, x25, x9
	cmp	x23, #0
	mov	x23, x8
	b.le	LBB0_21
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	cbz	x23, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w8, w23, #1
	madd	x1, x8, x24, x28
	mov	x0, x26
	mov	x2, x27
	blr	x20
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x26
	mov	x1, x28
	blr	x19
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x28, x25, x8
	mov	x0, x28
	blr	x21
	cbz	w0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x28, [sp, #64]                  ; 8-byte Folded Reload
	cbz	x23, LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w8, w23, #1
	madd	x0, x8, x24, x28
	mov	x1, x27
	blr	x19
	b	LBB0_12
LBB0_19:                                ;   in Loop: Header=BB0_13 Depth=1
	cbz	x23, LBB0_11
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w8, w23, #1
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	madd	x0, x8, x24, x9
	mov	x1, x27
	mov	x2, x28
	blr	x20
	b	LBB0_11
LBB0_21:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
