	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ec_GF2m_simple_ladder_post
_ec_GF2m_simple_ladder_post:            ## @ec_GF2m_simple_ladder_post
	.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
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	24(%rsi), %rdi
	callq	_BN_is_zero
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EC_POINT_set_to_infinity       ## TAILCALL
LBB0_2:
	movq	24(%r15), %rdi
	callq	_BN_is_zero
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_EC_POINT_copy
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_EC_POINT_invert
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_46
LBB0_5:
	movq	_EC_F_EC_GF2M_SIMPLE_LADDER_POST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_EC_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%ebx, %ebx
	jmp	LBB0_46
LBB0_6:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_BN_CTX_start
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_BN_CTX_get
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_BN_CTX_get
	testq	%rax, %rax
	je	LBB0_27
## %bb.7:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	24(%r12), %rdx
	movq	24(%r15), %rcx
	movq	%rbx, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.8:
	movq	(%rbx), %rax
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r14), %rdx
	movq	24(%r12), %rcx
	movq	%rbx, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.9:
	movq	16(%r12), %rsi
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_28
## %bb.10:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rdx
	movq	24(%r15), %rcx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.11:
	movq	(%rbx), %rax
	movq	16(%r12), %rdx
	movq	24(%r12), %rsi
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.12:
	movq	16(%r15), %rdx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_28
## %bb.13:
	movq	%rbx, %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r15, %rdx
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.14:
	movq	(%rbx), %rax
	movq	16(%r14), %rdx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rcx
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.15:
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_28
## %bb.16:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.17:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_28
## %bb.18:
	movq	%rbx, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movq	16(%r14), %rdx
	movq	%rbx, %rdi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.19:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rsi
	movq	%r13, %rcx
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.20:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.21:
	movq	(%rbx), %rax
	movq	16(%r12), %rsi
	movq	24(%r12), %rdx
	movq	%rbx, %rdi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_28
## %bb.22:
	movq	16(%r14), %rsi
	movq	16(%r12), %rdx
	movq	%rbx, %rdi
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_28
## %bb.23:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r13, %r14
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_44
## %bb.24:
	movq	8(%r12), %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_44
## %bb.25:
	movq	24(%r12), %rdi
	callq	_BN_one
	testl	%eax, %eax
	movl	$0, %ebx
	movq	%r14, %r13
	je	LBB0_45
## %bb.26:
	movl	$1, (%r12)
	movq	16(%r12), %rdi
	xorl	%esi, %esi
	callq	_BN_set_negative
	movq	8(%r12), %rdi
	xorl	%esi, %esi
	callq	_BN_set_negative
	movl	$1, %ebx
	jmp	LBB0_45
LBB0_27:
	movq	_EC_F_EC_GF2M_SIMPLE_LADDER_POST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
LBB0_28:
	xorl	%ebx, %ebx
LBB0_45:
	movq	%r13, %rdi
	callq	_BN_CTX_end
LBB0_46:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	xorl	%ebx, %ebx
	movq	%r14, %r13
	jmp	LBB0_45
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_EC_GF2M_SIMPLE_LADDER_POST,4,2 ## @EC_F_EC_GF2M_SIMPLE_LADDER_POST
	.comm	_ERR_R_EC_LIB,4,2               ## @ERR_R_EC_LIB
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_ec_GF2m_simple_ladder_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ec_GF2m_simple_ladder_post
_ec_GF2m_simple_ladder_post:            ; @ec_GF2m_simple_ladder_post
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x26, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x0, [x1, #24]
	bl	_BN_is_zero
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_EC_POINT_set_to_infinity
LBB0_2:
	ldr	x0, [x26, #24]
	bl	_BN_is_zero
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	bl	_EC_POINT_copy
	cbz	w0, LBB0_6
; %bb.4:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_EC_POINT_invert
	cbz	w0, LBB0_6
; %bb.5:
	mov	w21, #1
	b	LBB0_31
LBB0_6:
Lloh0:
	adrp	x8, _EC_F_EC_GF2M_SIMPLE_LADDER_POST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_F_EC_GF2M_SIMPLE_LADDER_POST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_EC_LIB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_EC_LIB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w21, #0
	b	LBB0_31
LBB0_7:
	mov	x0, x19
	bl	_BN_CTX_start
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x25, x0
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x24, x0
	mov	x0, x19
	bl	_BN_CTX_get
	cbz	x0, LBB0_28
; %bb.8:
	mov	x23, x0
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x2, [x20, #24]
	ldr	x3, [x26, #24]
	mov	x0, x22
	mov	x1, x25
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.9:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x2, [x21, #16]
	ldr	x3, [x20, #24]
	mov	x0, x22
	mov	x1, x24
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.10:
	ldr	x1, [x20, #16]
	mov	x0, x24
	mov	x2, x24
	bl	_BN_GF2m_add
	cbz	w0, LBB0_29
; %bb.11:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x2, [x21, #16]
	ldr	x3, [x26, #24]
	mov	x0, x22
	mov	x1, x23
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.12:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldp	x2, x1, [x20, #16]
	mov	x0, x22
	mov	x3, x23
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.13:
	ldr	x2, [x26, #16]
	mov	x0, x23
	mov	x1, x23
	bl	_BN_GF2m_add
	cbz	w0, LBB0_29
; %bb.14:
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x24
	mov	x3, x23
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.15:
	ldr	x8, [x22]
	ldr	x8, [x8, #16]
	ldr	x2, [x21, #16]
	mov	x0, x22
	mov	x1, x23
	mov	x3, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.16:
	ldr	x1, [x21, #8]
	mov	x0, x23
	mov	x2, x23
	bl	_BN_GF2m_add
	cbz	w0, LBB0_29
; %bb.17:
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x23
	mov	x3, x25
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.18:
	mov	x0, x24
	mov	x1, x23
	mov	x2, x24
	bl	_BN_GF2m_add
	cbz	w0, LBB0_29
; %bb.19:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	x2, [x21, #16]
	mov	x0, x22
	mov	x1, x23
	mov	x3, x25
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.20:
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x23
	mov	x3, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.21:
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x24
	mov	x3, x23
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.22:
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldp	x1, x2, [x20, #16]
	mov	x0, x22
	mov	x3, x23
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.23:
	ldr	x1, [x21, #16]
	ldr	x2, [x20, #16]
	mov	x0, x23
	bl	_BN_GF2m_add
	cbz	w0, LBB0_29
; %bb.24:
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x23
	mov	x3, x24
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_29
; %bb.25:
	ldr	x0, [x20, #8]
	ldr	x1, [x21, #8]
	mov	x2, x23
	bl	_BN_GF2m_add
	cbz	w0, LBB0_29
; %bb.26:
	ldr	x0, [x20, #24]
	bl	_BN_one
	cbz	w0, LBB0_29
; %bb.27:
	mov	w21, #1
	str	w21, [x20]
	ldr	x0, [x20, #16]
	mov	w1, #0
	bl	_BN_set_negative
	ldr	x0, [x20, #8]
	mov	w1, #0
	bl	_BN_set_negative
	b	LBB0_30
LBB0_28:
Lloh6:
	adrp	x8, _EC_F_EC_GF2M_SIMPLE_LADDER_POST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EC_F_EC_GF2M_SIMPLE_LADDER_POST@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_ECerr
LBB0_29:
	mov	w21, #0
LBB0_30:
	mov	x0, x19
	bl	_BN_CTX_end
LBB0_31:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_EC_GF2M_SIMPLE_LADDER_POST,4,2 ; @EC_F_EC_GF2M_SIMPLE_LADDER_POST
	.comm	_ERR_R_EC_LIB,4,2               ; @ERR_R_EC_LIB
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_ec_GF2m_simple_ladder_post
.subsections_via_symbols
