	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecp_precompute_comb
_ecp_precompute_comb:                   ## @ecp_precompute_comb
	.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, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_COMB_MAX_PRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_mbedtls_ecp_copy
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	decl	%ebx
	movl	$1, %r15d
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%r12b, %eax
	incb	%r12b
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, (%rsi,%rax,8)
	addl	%r15d, %r15d
	movzbl	%r15b, %r15d
	cmpl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	jae	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movl	%r15d, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r14
	movl	%r15d, %eax
	shrl	%eax
	leaq	(%rcx,%rax,4), %rsi
	movq	%r14, %rdi
	callq	_mbedtls_ecp_copy
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	callq	_ecp_double_jac
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	decq	%rbx
	jne	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movzbl	%r12b, %edx
	movq	%r13, %rdi
	callq	_ecp_normalize_jac_many
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	$-4, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	%r14d, %r13d
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	addl	%eax, %eax
	movzbl	%al, %ecx
	movl	%r13d, %r14d
	cmpl	%ecx, -52(%rbp)                 ## 4-byte Folded Reload
	jbe	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movzbl	%al, %r12d
	testb	%r12b, %r12b
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12,4), %rbx
	leaq	(%rax,%r12,8), %r15
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_ecp_add_mixed
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	leal	1(%r14), %r13d
	addq	$-4, %rbx
	movzbl	%r14b, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, (%rcx,%rax,8)
	addq	$-4, %r15
	movl	%r13d, %r14d
	decq	%r12
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	movq	%r13, %rdi
	xorl	%r13d, %r13d
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ecp_normalize_jac_many
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
LBB0_13:
	movzbl	%r13b, %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_ecp_normalize_jac_many
	movl	%eax, %edi
	callq	_MBEDTLS_MPI_CHK
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_COMB_MAX_PRE,4,2               ## @COMB_MAX_PRE
	.no_dead_strip	_ecp_precompute_comb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecp_precompute_comb
_ecp_precompute_comb:                   ; @ecp_precompute_comb
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x22, x4
	mov	x23, x3
	mov	x21, x1
	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, #-88]
Lloh3:
	adrp	x8, _COMB_MAX_PRE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _COMB_MAX_PRE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x1
	mov	x1, x2
	bl	_mbedtls_ecp_copy
	bl	_MBEDTLS_MPI_CHK
	subs	w8, w23, #1
	b.eq	LBB0_12
; %bb.1:
	mov	w26, #0
	mov	w9, #1
	lsl	w27, w9, w8
	mov	w25, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w26, #1
	and	x9, x26, #0xff
	str	x23, [x20, x9, lsl #3]
	ubfiz	w25, w25, #1, #7
	mov	x26, x8
	cmp	w25, w27
	b.hs	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	add	x23, x21, w25, uxtw #2
	lsr	w8, w25, #1
	add	x1, x21, w8, uxtw #2
	mov	x0, x23
	bl	_mbedtls_ecp_copy
	bl	_MBEDTLS_MPI_CHK
	cbz	x22, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x22
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x23
	mov	x2, x23
	bl	_ecp_double_jac
	bl	_MBEDTLS_MPI_CHK
	subs	x24, x24, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x20
	bl	_ecp_normalize_jac_many
	bl	_MBEDTLS_MPI_CHK
	mov	w26, #0
	stur	x21, [x29, #-96]                ; 8-byte Folded Spill
	sub	x25, x21, #4
	mov	w9, #1
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x26
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	lsl	w9, w27, #1
	and	w10, w9, #0xfe
	mov	x26, x8
	mov	x27, x21
	cmp	w21, w10
	b.ls	LBB0_13
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x21, x27
	and	x27, x9, #0xff
	tst	w9, #0xff
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	lsl	x28, x27, #2
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	add	x22, x8, x28
	lsl	x24, x27, #3
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x23, x25, x24
	add	x2, x25, x28
	mov	x0, x19
	mov	x1, x23
	mov	x3, x22
	bl	_ecp_add_mixed
	bl	_MBEDTLS_MPI_CHK
	add	w8, w26, #1
	and	x9, x26, #0xff
	str	x23, [x20, x9, lsl #3]
	sub	x24, x24, #4
	mov	x26, x8
	sub	x28, x28, #4
	cbnz	x28, LBB0_11
	b	LBB0_8
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_ecp_normalize_jac_many
	bl	_MBEDTLS_MPI_CHK
	mov	w8, #0
LBB0_13:
	and	w2, w8, #0xff
	mov	x0, x19
	mov	x1, x20
	bl	_ecp_normalize_jac_many
	bl	_MBEDTLS_MPI_CHK
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_COMB_MAX_PRE,4,2               ; @COMB_MAX_PRE
	.no_dead_strip	_ecp_precompute_comb
.subsections_via_symbols
