	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ec_GF2m_simple_cmp             ## -- Begin function ec_GF2m_simple_cmp
	.p2align	4, 0x90
_ec_GF2m_simple_cmp:                    ## @ec_GF2m_simple_cmp
	.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	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	callq	_EC_POINT_is_at_infinity
	movq	%rax, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_EC_POINT_is_at_infinity
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
	jmp	LBB0_17
LBB0_2:
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_17
## %bb.3:
	cmpq	$0, 16(%r13)
	je	LBB0_7
## %bb.4:
	cmpq	$0, 16(%r15)
	je	LBB0_7
## %bb.5:
	movq	8(%r13), %rdi
	movq	8(%r15), %rsi
	callq	_BN_cmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.6:
	movq	(%r13), %rdi
	movq	(%r15), %rsi
	callq	_BN_cmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_17
LBB0_7:
	testq	%r14, %r14
	je	LBB0_15
## %bb.8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_15:
	xorl	%eax, %eax
	callq	_BN_CTX_new
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_16
LBB0_9:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_BN_CTX_start
	movq	%r14, %rdi
	callq	_BN_CTX_get
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_BN_CTX_get
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_BN_CTX_get
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_BN_CTX_get
	movl	$-1, %ebx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %r13
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_EC_POINT_get_affine_coordinates
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_EC_POINT_get_affine_coordinates
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_BN_cmp
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_BN_cmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_14:
	movq	%r14, %rdi
	callq	_BN_CTX_end
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_CTX_free
LBB0_17:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	$-1, %ebx
	jmp	LBB0_17
	.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_cmp             ; -- Begin function ec_GF2m_simple_cmp
	.p2align	2
_ec_GF2m_simple_cmp:                    ; @ec_GF2m_simple_cmp
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_EC_POINT_is_at_infinity
	mov	x20, x0
	mov	x0, x23
	mov	x1, x21
	bl	_EC_POINT_is_at_infinity
	cbz	x20, LBB0_2
; %bb.1:
	cmp	x0, #0
	cset	w21, eq
	b	LBB0_18
LBB0_2:
	cbz	x0, LBB0_4
LBB0_3:
	mov	w21, #1
	b	LBB0_18
LBB0_4:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x0, [x22, #8]
	ldr	x1, [x21, #8]
	bl	_BN_cmp
	cbnz	x0, LBB0_3
; %bb.7:
	ldr	x0, [x22]
	ldr	x1, [x21]
	bl	_BN_cmp
	cmp	x0, #0
	cset	w21, ne
	b	LBB0_18
LBB0_8:
	cbz	x19, LBB0_10
; %bb.9:
	mov	x20, #0
	b	LBB0_11
LBB0_10:
	bl	_BN_CTX_new
	mov	x19, x0
	mov	x20, x0
	cbz	x0, LBB0_19
LBB0_11:
	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
	mov	x27, x0
	mov	x0, x19
	bl	_BN_CTX_get
	cbz	x0, LBB0_16
; %bb.12:
	mov	x26, x0
	mov	x0, x23
	mov	x1, x22
	mov	x2, x25
	mov	x3, x24
	mov	x4, x19
	bl	_EC_POINT_get_affine_coordinates
	cbz	w0, LBB0_16
; %bb.13:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x27
	mov	x3, x26
	mov	x4, x19
	bl	_EC_POINT_get_affine_coordinates
	cbz	w0, LBB0_16
; %bb.14:
	mov	x0, x25
	mov	x1, x27
	bl	_BN_cmp
	cbz	x0, LBB0_20
; %bb.15:
	mov	w21, #1
	b	LBB0_17
LBB0_16:
	mov	w21, #-1
LBB0_17:
	mov	x0, x19
	bl	_BN_CTX_end
	mov	x0, x20
	bl	_BN_CTX_free
LBB0_18:
	mov	x0, x21
	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
LBB0_19:
	mov	w21, #-1
	b	LBB0_18
LBB0_20:
	mov	x0, x24
	mov	x1, x26
	bl	_BN_cmp
	cmp	x0, #0
	cset	w21, ne
	b	LBB0_17
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
