	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GF2m_simple_add             ## -- Begin function ec_GF2m_simple_add
	.p2align	4, 0x90
_ec_GF2m_simple_add:                    ## @ec_GF2m_simple_add
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rdx, %rsi
	callq	_EC_POINT_is_at_infinity
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	jmp	LBB0_4
LBB0_2:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_EC_POINT_is_at_infinity
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
LBB0_4:
	callq	_EC_POINT_copy
	testl	%eax, %eax
	setne	%r15b
LBB0_5:
	movzbl	%r15b, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_5
LBB0_9:
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_BN_CTX_start
	movq	%r15, %rdi
	callq	_BN_CTX_get
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_CTX_get
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_CTX_get
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_CTX_get
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_CTX_get
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_CTX_get
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_CTX_get
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_CTX_get
	testq	%rax, %rax
	je	LBB0_41
## %bb.10:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpq	$0, 8(%r13)
	je	LBB0_13
## %bb.11:
	movl	4(%r13), %esi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_copy
	testl	%eax, %eax
	je	LBB0_41
## %bb.12:
	movq	%rbx, %r15
	movl	(%r13), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_copy
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_41
LBB0_13:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_EC_POINT_get_affine_coordinates
	testl	%eax, %eax
	movq	%rbx, %r15
	je	LBB0_41
LBB0_14:
	cmpq	$0, 8(%r14)
	je	LBB0_17
## %bb.15:
	movl	4(%r14), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_copy
	testl	%eax, %eax
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_41
## %bb.16:
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_BN_copy
	testl	%eax, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_18
	jmp	LBB0_41
LBB0_17:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_EC_POINT_get_affine_coordinates
	testl	%eax, %eax
	je	LBB0_41
LBB0_18:
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_BN_GF2m_cmp
	testq	%rax, %rax
	je	LBB0_32
## %bb.19:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.20:
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.21:
	movq	(%r12), %rax
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_41
## %bb.22:
	movq	%r14, %r13
	movq	(%r12), %rax
	movq	%r12, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_41
## %bb.23:
	movq	8(%r12), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.24:
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.25:
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
LBB0_26:
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.27:
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_41
## %bb.28:
	movq	(%r12), %rax
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_41
## %bb.29:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.30:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.31:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	_EC_POINT_set_affine_coordinates
	jmp	LBB0_35
LBB0_32:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_BN_GF2m_cmp
	testq	%rax, %rax
	jne	LBB0_34
## %bb.33:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_is_zero
	testq	%rax, %rax
	je	LBB0_36
LBB0_34:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_EC_POINT_set_to_infinity
LBB0_35:
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_42
LBB0_36:
	movq	(%r12), %rax
	movq	%r12, %rdi
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_41
## %bb.37:
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.38:
	movq	%rbx, %r13
	movq	(%r12), %rax
	movq	%r12, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_41
## %bb.39:
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_BN_GF2m_add
	testl	%eax, %eax
	je	LBB0_41
## %bb.40:
	movq	8(%r12), %rdx
	movq	%r14, %rdi
	movq	%r14, %rsi
	jmp	LBB0_26
LBB0_41:
	xorl	%r15d, %r15d
LBB0_42:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_CTX_end
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_BN_CTX_free
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GF2m_simple_add             ; -- Begin function ec_GF2m_simple_add
	.p2align	2
_ec_GF2m_simple_add:                    ; @ec_GF2m_simple_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x4
	mov	x25, x3
	mov	x24, x2
	mov	x21, x1
	mov	x22, x0
	mov	x1, x2
	bl	_EC_POINT_is_at_infinity
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x25
	b	LBB0_4
LBB0_2:
	mov	x0, x22
	mov	x1, x25
	bl	_EC_POINT_is_at_infinity
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x24
LBB0_4:
	bl	_EC_POINT_copy
	cmp	w0, #0
	cset	w21, ne
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_6:
	cbz	x19, LBB0_8
; %bb.7:
	mov	x0, #0
	b	LBB0_9
LBB0_8:
	bl	_BN_CTX_new
	mov	x19, x0
	cbz	x0, LBB0_17
LBB0_9:
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_BN_CTX_start
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x27, x0
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x23, x0
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x20, x0
	mov	x0, x19
	bl	_BN_CTX_get
	mov	x26, x0
	mov	x0, x19
	bl	_BN_CTX_get
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x19
	bl	_BN_CTX_get
	str	x0, [sp]                        ; 8-byte Folded Spill
	mov	x0, x19
	bl	_BN_CTX_get
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_BN_CTX_get
	cbz	x0, LBB0_32
; %bb.10:
	mov	x28, x0
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	w1, [x24, #4]
	mov	x0, x27
	bl	_BN_copy
	cbz	w0, LBB0_32
; %bb.12:
	ldr	w1, [x24]
	mov	x0, x23
	bl	_BN_copy
	cbnz	w0, LBB0_14
	b	LBB0_32
LBB0_13:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x27
	mov	x3, x23
	mov	x4, x19
	bl	_EC_POINT_get_affine_coordinates
	cbz	w0, LBB0_32
LBB0_14:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_18
; %bb.15:
	ldr	w1, [x25, #4]
	mov	x0, x20
	bl	_BN_copy
	cbz	w0, LBB0_32
; %bb.16:
	ldr	w1, [x25]
	mov	x24, x26
	mov	x0, x26
	bl	_BN_copy
	mov	x25, x20
	cbnz	w0, LBB0_19
	b	LBB0_32
LBB0_17:
	mov	w21, #0
	b	LBB0_5
LBB0_18:
	mov	x0, x22
	mov	x1, x25
	mov	x25, x20
	mov	x2, x20
	mov	x24, x26
	mov	x3, x26
	mov	x4, x19
	bl	_EC_POINT_get_affine_coordinates
	cbz	w0, LBB0_32
LBB0_19:
	mov	x0, x27
	mov	x1, x25
	bl	_BN_GF2m_cmp
	cbz	x0, LBB0_35
; %bb.20:
	mov	x0, x28
	mov	x1, x27
	mov	x2, x25
	bl	_BN_GF2m_add
	cbz	w0, LBB0_32
; %bb.21:
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	mov	x0, x26
	mov	x1, x23
	mov	x2, x24
	bl	_BN_GF2m_add
	cbz	w0, LBB0_32
; %bb.22:
	ldr	x8, [x22]
	ldr	x8, [x8, #16]
	mov	x0, x22
	mov	x1, x26
	mov	x2, x26
	mov	x3, x28
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_32
; %bb.23:
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	mov	x0, x22
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x26
	mov	x3, x19
	blr	x8
	cbz	w0, LBB0_32
; %bb.24:
	ldr	x2, [x22, #8]
	mov	x0, x23
	mov	x1, x23
	bl	_BN_GF2m_add
	cbz	w0, LBB0_32
; %bb.25:
	mov	x0, x23
	mov	x1, x23
	mov	x2, x26
	bl	_BN_GF2m_add
	cbz	w0, LBB0_32
; %bb.26:
	mov	x0, x23
	mov	x1, x23
	mov	x2, x28
	bl	_BN_GF2m_add
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	cbz	w0, LBB0_43
LBB0_27:
	mov	x1, x25
	ldr	x25, [sp]                       ; 8-byte Folded Reload
	mov	x0, x25
	mov	x2, x23
	bl	_BN_GF2m_add
	cbz	w0, LBB0_43
; %bb.28:
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x25
	mov	x2, x25
	mov	x3, x26
	mov	x4, x19
	blr	x8
	cbz	w0, LBB0_43
; %bb.29:
	mov	x0, x25
	mov	x1, x25
	mov	x2, x23
	bl	_BN_GF2m_add
	cbz	w0, LBB0_43
; %bb.30:
	mov	x0, x25
	mov	x1, x25
	mov	x2, x24
	bl	_BN_GF2m_add
	cbz	w0, LBB0_43
; %bb.31:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x25
	mov	x4, x19
	bl	_EC_POINT_set_affine_coordinates
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_34
LBB0_32:
	mov	w21, #0
LBB0_33:
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
LBB0_34:
	mov	x0, x19
	bl	_BN_CTX_end
	mov	x0, x20
	bl	_BN_CTX_free
	b	LBB0_5
LBB0_35:
	mov	x0, x23
	mov	x1, x24
	bl	_BN_GF2m_cmp
	cbnz	x0, LBB0_37
; %bb.36:
	mov	x0, x25
	bl	_BN_is_zero
	cbz	x0, LBB0_38
LBB0_37:
	mov	x0, x22
	mov	x1, x21
	bl	_EC_POINT_set_to_infinity
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_33
LBB0_38:
	ldr	x8, [x22]
	ldr	x8, [x8, #16]
	mov	x0, x22
	ldr	x26, [sp, #16]                  ; 8-byte Folded Reload
	mov	x1, x26
	mov	x2, x24
	mov	x3, x25
	mov	x4, x19
	blr	x8
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	cbz	w0, LBB0_43
; %bb.39:
	mov	x0, x26
	mov	x1, x26
	mov	x2, x25
	bl	_BN_GF2m_add
	cbz	w0, LBB0_43
; %bb.40:
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	mov	x0, x22
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	mov	x1, x23
	mov	x2, x26
	mov	x3, x19
	blr	x8
	cbz	w0, LBB0_43
; %bb.41:
	mov	x0, x23
	mov	x1, x23
	mov	x2, x26
	bl	_BN_GF2m_add
	cbz	w0, LBB0_43
; %bb.42:
	ldr	x2, [x22, #8]
	mov	x0, x23
	mov	x1, x23
	bl	_BN_GF2m_add
	cbnz	w0, LBB0_27
LBB0_43:
	mov	w21, #0
	b	LBB0_34
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
