	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_num_add_sub               ## -- Begin function test_num_add_sub
	.p2align	4, 0x90
_test_num_add_sub:                      ## @test_num_add_sub
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-52(%rbp), %rdi
	callq	_random_num_order_test
	movl	$1, %edi
	callq	_secp256k1_rand_bits
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-52(%rbp), %rdi
	callq	_random_num_negate
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_random_num_order_test
	movl	$1, %edi
	callq	_secp256k1_rand_bits
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	-48(%rbp), %rdi
	callq	_random_num_negate
LBB0_4:
	leaq	-64(%rbp), %r14
	leaq	-52(%rbp), %r12
	leaq	-48(%rbp), %r15
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_num_add
	leaq	-60(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_secp256k1_num_add
	leaq	-44(%rbp), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_num_sub
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_secp256k1_num_sub
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_num_eq
	movl	%eax, %edi
	callq	_CHECK
	movq	%r14, %rdi
	leaq	-44(%rbp), %rsi
	callq	_secp256k1_num_eq
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movq	%r13, %rdi
	callq	_secp256k1_num_negate
	movq	%r13, %rdi
	leaq	-44(%rbp), %rsi
	callq	_secp256k1_num_eq
	movl	%eax, %edi
	callq	_CHECK
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_num_eq
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movq	%r13, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_num_add
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_num_eq
	movl	%eax, %edi
	callq	_CHECK
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_num_eq
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_num_sub
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_secp256k1_num_eq
	movl	%eax, %edi
	callq	_CHECK
	leaq	-68(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_secp256k1_scalar_set_int
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_scalar_get_num
	movq	%r12, %rdi
	callq	_secp256k1_num_is_one
	movl	%eax, %edi
	callq	_CHECK
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_scalar_get_num
	movl	$250, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	callq	_secp256k1_num_add
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_num_add
	movq	%r14, %rdi
	callq	_secp256k1_num_is_one
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	decl	%ebx
	jne	LBB0_5
## %bb.6:
	addq	$40, %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	_test_num_add_sub               ; -- Begin function test_num_add_sub
	.p2align	2
_test_num_add_sub:                      ; @test_num_add_sub
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x0, sp, #24
	bl	_random_num_order_test
	mov	w0, #1
	bl	_secp256k1_rand_bits
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #24
	bl	_random_num_negate
LBB0_2:
	add	x0, sp, #20
	bl	_random_num_order_test
	mov	w0, #1
	bl	_secp256k1_rand_bits
	cbz	x0, LBB0_4
; %bb.3:
	add	x0, sp, #20
	bl	_random_num_negate
LBB0_4:
	add	x0, sp, #16
	add	x1, sp, #24
	add	x2, sp, #20
	bl	_secp256k1_num_add
	add	x0, sp, #12
	add	x1, sp, #20
	add	x2, sp, #24
	bl	_secp256k1_num_add
	add	x0, sp, #8
	add	x1, sp, #24
	add	x2, sp, #20
	bl	_secp256k1_num_sub
	add	x0, sp, #4
	add	x1, sp, #20
	add	x2, sp, #24
	bl	_secp256k1_num_sub
	add	x0, sp, #16
	add	x1, sp, #12
	bl	_secp256k1_num_eq
	bl	_CHECK
	add	x0, sp, #16
	add	x1, sp, #8
	bl	_secp256k1_num_eq
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #4
	bl	_secp256k1_num_negate
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_secp256k1_num_eq
	bl	_CHECK
	add	x0, sp, #4
	add	x1, sp, #24
	bl	_secp256k1_num_eq
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #4
	add	x1, sp, #4
	add	x2, sp, #20
	bl	_secp256k1_num_add
	add	x0, sp, #4
	add	x1, sp, #24
	bl	_secp256k1_num_eq
	bl	_CHECK
	add	x0, sp, #12
	add	x1, sp, #24
	bl	_secp256k1_num_eq
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #12
	add	x1, sp, #12
	add	x2, sp, #20
	bl	_secp256k1_num_sub
	add	x0, sp, #12
	add	x1, sp, #24
	bl	_secp256k1_num_eq
	bl	_CHECK
	sub	x0, x29, #20
	mov	w1, #1
	bl	_secp256k1_scalar_set_int
	add	x0, sp, #24
	sub	x1, x29, #20
	bl	_secp256k1_scalar_get_num
	add	x0, sp, #24
	bl	_secp256k1_num_is_one
	bl	_CHECK
	add	x0, sp, #20
	sub	x1, x29, #20
	bl	_secp256k1_scalar_get_num
	mov	w19, #250
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	add	x1, sp, #24
	add	x2, sp, #24
	bl	_secp256k1_num_add
	add	x0, sp, #16
	add	x1, sp, #24
	add	x2, sp, #20
	bl	_secp256k1_num_add
	add	x0, sp, #16
	bl	_secp256k1_num_is_one
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	subs	w19, w19, #1
	b.ne	LBB0_5
; %bb.6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
