	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str.3(%rip), %rdi
	movl	$42, %esi
	movl	$1, %edx
	movq	%rax, %rcx
	callq	_fwrite
	leaq	L_.str.4(%rip), %rdi
	movl	$42, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	leaq	L_.str.5(%rip), %rdi
	movl	$23, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	leaq	L_.str.6(%rip), %rdi
	movl	$38, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	movq	_ECMULT_GEN_PREC_N@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_ECMULT_GEN_PREC_G@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_fprintf
	leaq	L_.str.8(%rip), %rdi
	movl	$135, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	leaq	L_.str.9(%rip), %rdi
	movl	$7, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	leaq	L_.str.10(%rip), %rdi
	movl	$108, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	movq	_SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_default_error_callback@GOTPCREL(%rip), %rdi
	callq	_checked_malloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)
	leaq	-48(%rbp), %r15
	movq	%r15, %rdi
	callq	_secp256k1_ecmult_gen_context_init
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_secp256k1_ecmult_gen_context_build
	cmpl	$0, (%r14)
	je	LBB0_14
## %bb.3:
	leaq	L_.str.12(%rip), %r15
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$2, %esi
	movl	$1, %edx
	leaq	L_.str.16(%rip), %rdi
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rcx
	callq	_fwrite
	incq	%r14
	movl	(%r13), %eax
	cmpq	%rax, %r14
	je	LBB0_14
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	$2, %esi
	movl	$1, %edx
	leaq	L_.str.11(%rip), %rdi
	movq	%rbx, %rcx
	callq	_fwrite
	cmpl	$0, (%r12)
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movl	$10, %edi
	movq	%rbx, %rsi
	callq	_fputc
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	incq	%r13
	movl	(%r12), %eax
	cmpq	%rax, %r13
	je	LBB0_10
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%r13,4), %edi
	callq	_SECP256K1_GE_STORAGE_CONST_GET
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %eax
	decl	%eax
	cmpq	%rax, %r13
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	$2, %esi
	movl	$1, %edx
	leaq	L_.str.13(%rip), %rdi
	movq	%rbx, %rcx
	callq	_fwrite
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_ECMULT_GEN_PREC_N@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	decl	%eax
	cmpq	%rax, %r14
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	$3, %esi
	movl	$1, %edx
	leaq	L_.str.15(%rip), %rdi
	jmp	LBB0_13
LBB0_14:
	leaq	L_.str.17(%rip), %rdi
	movl	$3, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	leaq	-48(%rbp), %rdi
	callq	_secp256k1_ecmult_gen_context_clear
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	leaq	L_.str.18(%rip), %rdi
	movl	$10, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	leaq	L_.str.9(%rip), %rdi
	movl	$7, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_fwrite
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.2(%rip), %rdi
	movl	$56, %esi
	movl	$1, %edx
	callq	_fwrite
	movl	$-1, %eax
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"src/ecmult_static_context.h"

L_.str.1:                               ## @.str.1
	.asciz	"w"

	.comm	_stderr,8,3                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Could not open src/ecmult_static_context.h for writing!\n"

L_.str.3:                               ## @.str.3
	.asciz	"#ifndef _SECP256K1_ECMULT_STATIC_CONTEXT_\n"

L_.str.4:                               ## @.str.4
	.asciz	"#define _SECP256K1_ECMULT_STATIC_CONTEXT_\n"

L_.str.5:                               ## @.str.5
	.asciz	"#include \"src/group.h\"\n"

L_.str.6:                               ## @.str.6
	.asciz	"#define SC SECP256K1_GE_STORAGE_CONST\n"

L_.str.7:                               ## @.str.7
	.asciz	"#if ECMULT_GEN_PREC_N != %d || ECMULT_GEN_PREC_G != %d\n"

	.comm	_ECMULT_GEN_PREC_N,4,2          ## @ECMULT_GEN_PREC_N
	.comm	_ECMULT_GEN_PREC_G,4,2          ## @ECMULT_GEN_PREC_G
L_.str.8:                               ## @.str.8
	.asciz	"   #error configuration mismatch, invalid ECMULT_GEN_PREC_N, ECMULT_GEN_PREC_G. Try deleting ecmult_static_context.h before the build.\n"

L_.str.9:                               ## @.str.9
	.asciz	"#endif\n"

L_.str.10:                              ## @.str.10
	.asciz	"static const secp256k1_ge_storage secp256k1_ecmult_static_context[ECMULT_GEN_PREC_N][ECMULT_GEN_PREC_G] = {\n"

	.comm	_default_error_callback,4,2     ## @default_error_callback
	.comm	_SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE,4,2 ## @SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE
L_.str.11:                              ## @.str.11
	.asciz	"{\n"

L_.str.12:                              ## @.str.12
	.asciz	"    SC(%uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu)"

L_.str.13:                              ## @.str.13
	.asciz	",\n"

L_.str.15:                              ## @.str.15
	.asciz	"},\n"

L_.str.16:                              ## @.str.16
	.asciz	"}\n"

L_.str.17:                              ## @.str.17
	.asciz	"};\n"

L_.str.18:                              ## @.str.18
	.asciz	"#undef SC\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x0
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	w1, #42
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh6:
	adrp	x0, l_.str.4@PAGE
Lloh7:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #42
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh8:
	adrp	x0, l_.str.5@PAGE
Lloh9:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #23
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh10:
	adrp	x0, l_.str.6@PAGE
Lloh11:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #38
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh12:
	adrp	x26, _ECMULT_GEN_PREC_N@GOTPAGE
Lloh13:
	ldr	x26, [x26, _ECMULT_GEN_PREC_N@GOTPAGEOFF]
Lloh14:
	adrp	x27, _ECMULT_GEN_PREC_G@GOTPAGE
Lloh15:
	ldr	x27, [x27, _ECMULT_GEN_PREC_G@GOTPAGEOFF]
	ldr	w8, [x26]
	ldr	w9, [x27]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_fprintf
Lloh18:
	adrp	x0, l_.str.8@PAGE
Lloh19:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	w1, #135
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh20:
	adrp	x0, l_.str.9@PAGE
Lloh21:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	w1, #7
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh22:
	adrp	x0, l_.str.10@PAGE
Lloh23:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	w1, #108
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh24:
	adrp	x8, _SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x0, _default_error_callback@GOTPAGE
Lloh28:
	ldr	x0, [x0, _default_error_callback@GOTPAGEOFF]
	bl	_checked_malloc
	stp	x0, x0, [sp, #24]               ; 8-byte Folded Spill
	add	x0, sp, #40
	bl	_secp256k1_ecmult_gen_context_init
	add	x0, sp, #40
	add	x1, sp, #32
	bl	_secp256k1_ecmult_gen_context_build
	ldr	w8, [x26]
	cbz	w8, LBB0_13
; %bb.2:
	mov	x28, #0
Lloh29:
	adrp	x21, l_.str.11@PAGE
Lloh30:
	add	x21, x21, l_.str.11@PAGEOFF
Lloh31:
	adrp	x22, l_.str.16@PAGE
Lloh32:
	add	x22, x22, l_.str.16@PAGEOFF
Lloh33:
	adrp	x23, l_.str.15@PAGE
Lloh34:
	add	x23, x23, l_.str.15@PAGEOFF
Lloh35:
	adrp	x24, l_.str.12@PAGE
Lloh36:
	add	x24, x24, l_.str.12@PAGEOFF
Lloh37:
	adrp	x25, l_.str.13@PAGE
Lloh38:
	add	x25, x25, l_.str.13@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	w1, #2
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	add	x28, x28, #1
	ldr	w8, [x26]
	cmp	x28, x8
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x21
	mov	w1, #2
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	ldr	w8, [x27]
	cbz	w8, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x20, #0
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x20, x20, #1
	ldr	w8, [x27]
	cmp	x20, x8
	b.eq	LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #40]
	ldr	x8, [x8]
	ldr	x8, [x8, x28, lsl #3]
	ldr	w0, [x8, x20, lsl #2]
	bl	_SECP256K1_GE_STORAGE_CONST_GET
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x24
	bl	_fprintf
	ldr	w8, [x27]
	sub	w8, w8, #1
	cmp	x20, x8
	b.eq	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x25
	mov	w1, #2
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	b	LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	sub	w8, w8, #1
	cmp	x28, x8
	b.eq	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	w1, #3
	b	LBB0_4
LBB0_13:
Lloh39:
	adrp	x0, l_.str.17@PAGE
Lloh40:
	add	x0, x0, l_.str.17@PAGEOFF
	mov	w1, #3
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	add	x0, sp, #40
	bl	_secp256k1_ecmult_gen_context_clear
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_free
Lloh41:
	adrp	x0, l_.str.18@PAGE
Lloh42:
	add	x0, x0, l_.str.18@PAGEOFF
	mov	w1, #10
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh43:
	adrp	x0, l_.str.9@PAGE
Lloh44:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	w1, #7
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	mov	x0, x19
	bl	_fclose
	mov	w0, #0
	b	LBB0_15
LBB0_14:
Lloh45:
	adrp	x8, _stderr@GOTPAGE
Lloh46:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh47:
	ldr	x3, [x8]
Lloh48:
	adrp	x0, l_.str.2@PAGE
Lloh49:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #56
	mov	w2, #1
	bl	_fwrite
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"src/ecmult_static_context.h"

l_.str.1:                               ; @.str.1
	.asciz	"w"

	.comm	_stderr,8,3                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Could not open src/ecmult_static_context.h for writing!\n"

l_.str.3:                               ; @.str.3
	.asciz	"#ifndef _SECP256K1_ECMULT_STATIC_CONTEXT_\n"

l_.str.4:                               ; @.str.4
	.asciz	"#define _SECP256K1_ECMULT_STATIC_CONTEXT_\n"

l_.str.5:                               ; @.str.5
	.asciz	"#include \"src/group.h\"\n"

l_.str.6:                               ; @.str.6
	.asciz	"#define SC SECP256K1_GE_STORAGE_CONST\n"

l_.str.7:                               ; @.str.7
	.asciz	"#if ECMULT_GEN_PREC_N != %d || ECMULT_GEN_PREC_G != %d\n"

	.comm	_ECMULT_GEN_PREC_N,4,2          ; @ECMULT_GEN_PREC_N
	.comm	_ECMULT_GEN_PREC_G,4,2          ; @ECMULT_GEN_PREC_G
l_.str.8:                               ; @.str.8
	.asciz	"   #error configuration mismatch, invalid ECMULT_GEN_PREC_N, ECMULT_GEN_PREC_G. Try deleting ecmult_static_context.h before the build.\n"

l_.str.9:                               ; @.str.9
	.asciz	"#endif\n"

l_.str.10:                              ; @.str.10
	.asciz	"static const secp256k1_ge_storage secp256k1_ecmult_static_context[ECMULT_GEN_PREC_N][ECMULT_GEN_PREC_G] = {\n"

	.comm	_default_error_callback,4,2     ; @default_error_callback
	.comm	_SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE,4,2 ; @SECP256K1_ECMULT_GEN_CONTEXT_PREALLOCATED_SIZE
l_.str.11:                              ; @.str.11
	.asciz	"{\n"

l_.str.12:                              ; @.str.12
	.asciz	"    SC(%uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu, %uu)"

l_.str.13:                              ; @.str.13
	.asciz	",\n"

l_.str.15:                              ; @.str.15
	.asciz	"},\n"

l_.str.16:                              ; @.str.16
	.asciz	"}\n"

l_.str.17:                              ; @.str.17
	.asciz	"};\n"

l_.str.18:                              ; @.str.18
	.asciz	"#undef SC\n"

.subsections_via_symbols
