	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_num_negate                ## -- Begin function test_num_negate
	.p2align	4, 0x90
_test_num_negate:                       ## @test_num_negate
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_random_num_order_test
	movq	%rbx, %rdi
	callq	_random_num_negate
	leaq	-28(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_secp256k1_num_copy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_secp256k1_num_sub
	movq	%rbx, %rdi
	callq	_secp256k1_num_is_zero
	movl	%eax, %edi
	callq	_CHECK
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_secp256k1_num_copy
	movq	%rbx, %rdi
	callq	_secp256k1_num_negate
	movq	%rbx, %rdi
	callq	_secp256k1_num_is_zero
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_secp256k1_num_add
	movq	%rbx, %rdi
	callq	_secp256k1_num_is_zero
	movl	%eax, %edi
	callq	_CHECK
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_secp256k1_num_copy
	movq	%rbx, %rdi
	callq	_secp256k1_num_negate
	movq	%rbx, %rdi
	callq	_secp256k1_num_is_neg
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_secp256k1_num_is_neg
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setne	%dil
	callq	_CHECK
	movq	%rbx, %rdi
	callq	_secp256k1_num_negate
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_secp256k1_num_eq
	movl	%eax, %edi
	callq	_CHECK
	addq	$8, %rsp
	popq	%rbx
	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_negate                ; -- Begin function test_num_negate
	.p2align	2
_test_num_negate:                       ; @test_num_negate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	add	x0, sp, #12
	bl	_random_num_order_test
	add	x0, sp, #12
	bl	_random_num_negate
	add	x0, sp, #8
	add	x1, sp, #12
	bl	_secp256k1_num_copy
	add	x0, sp, #12
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_secp256k1_num_sub
	add	x0, sp, #12
	bl	_secp256k1_num_is_zero
	bl	_CHECK
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_secp256k1_num_copy
	add	x0, sp, #12
	bl	_secp256k1_num_negate
	add	x0, sp, #12
	bl	_secp256k1_num_is_zero
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	add	x0, sp, #12
	add	x1, sp, #8
	add	x2, sp, #12
	bl	_secp256k1_num_add
	add	x0, sp, #12
	bl	_secp256k1_num_is_zero
	bl	_CHECK
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_secp256k1_num_copy
	add	x0, sp, #12
	bl	_secp256k1_num_negate
	add	x0, sp, #12
	bl	_secp256k1_num_is_neg
	mov	x19, x0
	add	x0, sp, #8
	bl	_secp256k1_num_is_neg
	cmp	x19, x0
	cset	w0, ne
	bl	_CHECK
	add	x0, sp, #12
	bl	_secp256k1_num_negate
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_secp256k1_num_eq
	bl	_CHECK
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
