	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_negzero
_test_negzero:                          ## @test_negzero
	.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
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_24
## %bb.1:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_25
## %bb.2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_27
## %bb.3:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_29
## %bb.4:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_28
## %bb.5:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_BN_set_negative
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_BN_zero
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_BN_mul
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_28
## %bb.6:
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_28
## %bb.7:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_TEST_BN_ge_zero
	testl	%eax, %eax
	je	LBB0_33
## %bb.8:
	movb	$1, %al
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_37
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_34
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	testb	$1, -60(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_BN_FLG_CONSTTIME@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_BN_set_flags
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_BN_set_flags
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rbx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_35
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_35
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_BN_set_negative
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%rbx, %r15
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_BN_div
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_34
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_34
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_TEST_BN_ge_zero
	testl	%eax, %eax
	je	LBB0_34
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_BN_set_word
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_34
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	callq	_BN_div
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_34
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_TEST_BN_eq_zero
	testl	%eax, %eax
	je	LBB0_36
## %bb.21:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r15, %rdi
	callq	_TEST_BN_ge_zero
	testl	%eax, %eax
	je	LBB0_36
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_free
	testb	$1, -60(%rbp)                   ## 1-byte Folded Reload
	movl	$0, -60(%rbp)                   ## 4-byte Folded Spill
	jne	LBB0_9
## %bb.23:
	movq	%r13, %rdi
	callq	_BN_zero
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_BN_set_negative
	movq	%r13, %rdi
	callq	_BN_is_negative
	movq	%r15, %rbx
	xorl	%r15d, %r15d
	testq	%rax, %rax
	sete	%r15b
	xorl	%r14d, %r14d
	jmp	LBB0_38
LBB0_24:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_25:
	xorl	%r15d, %r15d
LBB0_26:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_32
LBB0_27:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_30
LBB0_28:
	movq	%rbx, %r13
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_31
LBB0_29:
	xorl	%r15d, %r15d
LBB0_30:
	movq	%rbx, %r13
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
LBB0_31:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_32:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
	movq	%rbx, %rdi
	callq	_BN_free
	movq	%r13, %rdi
	callq	_BN_free
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_free
	movq	%r14, %rdi
	callq	_BN_free
	movq	%r12, %rdi
	callq	_BN_free
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_34:
	movq	%r15, %rbx
LBB0_35:
	xorl	%r15d, %r15d
	jmp	LBB0_39
LBB0_36:
	movq	%r15, %rax
	xorl	%r15d, %r15d
	movq	%rax, %rbx
	jmp	LBB0_39
LBB0_37:
	movq	%r15, %rbx
	xorl	%r15d, %r15d
LBB0_38:
	xorl	%r12d, %r12d
LBB0_39:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_32
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,4,2                        ## @ctx
	.comm	_BN_FLG_CONSTTIME,4,2           ## @BN_FLG_CONSTTIME
	.no_dead_strip	_test_negzero
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_negzero
_test_negzero:                          ; @test_negzero
	.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
	bl	_BN_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_24
; %bb.1:
	bl	_BN_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_25
; %bb.2:
	bl	_BN_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_26
; %bb.3:
	bl	_BN_new
	mov	x22, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_27
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_27
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	bl	_BN_set_negative
	mov	x0, x20
	bl	_BN_zero
Lloh0:
	adrp	x25, _ctx@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ctx@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_BN_mul
	bl	_TEST_true
	cbz	w0, LBB0_27
; %bb.6:
	mov	x0, x21
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_27
; %bb.7:
	mov	x0, x21
	bl	_TEST_BN_ge_zero
	cbz	w0, LBB0_27
; %bb.8:
	mov	w8, #1
Lloh2:
	adrp	x26, _BN_FLG_CONSTTIME@GOTPAGE
Lloh3:
	ldr	x26, [x26, _BN_FLG_CONSTTIME@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x27, x8
	bl	_BN_new
	mov	x23, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_28
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_BN_new
	mov	x24, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_29
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w27, #0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x26]
	mov	x0, x23
	bl	_BN_set_flags
	ldr	w1, [x26]
	mov	x0, x24
	bl	_BN_set_flags
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	mov	w1, #1
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_29
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	mov	w1, #2
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_29
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	mov	w1, #1
	bl	_BN_set_negative
	ldr	w4, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	bl	_BN_div
	bl	_TEST_true
	cbz	w0, LBB0_29
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_29
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x19
	bl	_TEST_BN_ge_zero
	cbz	w0, LBB0_29
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x24
	mov	w1, #1
	bl	_BN_set_word
	bl	_TEST_true
	cbz	w0, LBB0_29
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w4, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	bl	_BN_div
	bl	_TEST_true
	cbz	w0, LBB0_29
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_TEST_BN_eq_zero
	cbz	w0, LBB0_29
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_TEST_BN_ge_zero
	cbz	w0, LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x23
	bl	_BN_free
	mov	x0, x24
	bl	_BN_free
	mov	w8, #0
	tbnz	w27, #0, LBB0_9
; %bb.23:
	mov	x0, x19
	bl	_BN_zero
	mov	x0, x19
	mov	w1, #1
	bl	_BN_set_negative
	mov	x0, x19
	bl	_BN_is_negative
	mov	x23, #0
	mov	x24, #0
	cmp	x0, #0
	cset	w25, eq
	b	LBB0_30
LBB0_24:
	mov	x20, #0
LBB0_25:
	mov	x21, #0
LBB0_26:
	mov	x22, #0
LBB0_27:
	mov	x23, #0
LBB0_28:
	mov	x24, #0
LBB0_29:
	mov	w25, #0
LBB0_30:
	mov	x0, x19
	bl	_BN_free
	mov	x0, x20
	bl	_BN_free
	mov	x0, x21
	bl	_BN_free
	mov	x0, x22
	bl	_BN_free
	mov	x0, x23
	bl	_BN_free
	mov	x0, x24
	bl	_BN_free
	mov	x0, x25
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,4,2                        ; @ctx
	.comm	_BN_FLG_CONSTTIME,4,2           ; @BN_FLG_CONSTTIME
	.no_dead_strip	_test_negzero
.subsections_via_symbols
