	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ec_GF2m_simple_points_mul
_ec_GF2m_simple_points_mul:             ## @ec_GF2m_simple_points_mul
	.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	%r9, %r13
	movq	%r8, %r12
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	16(%rbp), %r8
	cmpq	$1, %rcx
	ja	LBB0_3
## %bb.1:
	movl	4(%rbx), %edi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_BN_is_zero
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	testq	%rax, %rax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_3
## %bb.2:
	movl	(%rbx), %edi
	callq	_BN_is_zero
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	testq	%rax, %rax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_4
LBB0_3:
	movq	%r8, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	movq	%r13, %r9
	callq	_ec_wNAF_mul
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testq	%r14, %r14
	je	LBB0_8
## %bb.5:
	testq	%r15, %r15
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_8:
	testq	%r14, %r14
	jne	LBB0_11
## %bb.9:
	cmpq	$1, %r15
	jne	LBB0_11
## %bb.10:
	movq	(%r13), %rdx
	movq	(%r12), %rcx
	movq	%rbx, %rdi
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ec_scalar_mul_ladder           ## TAILCALL
LBB0_11:
	movq	%rbx, %rdi
	callq	_EC_POINT_new
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rbx, %rdi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_ec_scalar_mul_ladder
	testl	%eax, %eax
	je	LBB0_14
## %bb.15:
	movq	(%r13), %rdx
	movq	(%r12), %rcx
	movq	%rbx, %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %r8
	callq	_ec_scalar_mul_ladder
	testl	%eax, %eax
	movl	$0, %r12d
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movq	%r14, %r8
	callq	_EC_POINT_add
	xorl	%r12d, %r12d
	testl	%eax, %eax
	setne	%r12b
	jmp	LBB0_17
LBB0_12:
	movq	_EC_F_EC_GF2M_SIMPLE_POINTS_MUL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ECerr
	xorl	%r12d, %r12d
	jmp	LBB0_18
LBB0_14:
	xorl	%r12d, %r12d
LBB0_17:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_EC_POINT_free
LBB0_18:
	movl	%r12d, %eax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_EC_F_EC_GF2M_SIMPLE_POINTS_MUL,4,2 ## @EC_F_EC_GF2M_SIMPLE_POINTS_MUL
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_ec_GF2m_simple_points_mul
.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_points_mul
_ec_GF2m_simple_points_mul:             ; @ec_GF2m_simple_points_mul
	.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, x6
	mov	x23, x5
	mov	x22, x4
	mov	x25, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x3, #1
	b.hi	LBB0_3
; %bb.1:
	ldr	w0, [x21, #4]
	bl	_BN_is_zero
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	bl	_BN_is_zero
	cbz	x0, LBB0_4
LBB0_3:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, x25
	mov	x4, x22
	mov	x5, x23
	mov	x6, x19
	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_wNAF_mul
LBB0_4:
	cbz	x24, LBB0_7
; %bb.5:
	cbnz	x25, LBB0_7
; %bb.6:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, #0
	b	LBB0_10
LBB0_7:
	cbnz	x24, LBB0_11
; %bb.8:
	cmp	x25, #1
	b.ne	LBB0_11
; %bb.9:
	ldr	x2, [x23]
	ldr	x3, [x22]
	mov	x0, x21
	mov	x1, x20
LBB0_10:
	mov	x4, x19
	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_scalar_mul_ladder
LBB0_11:
	mov	x0, x21
	bl	_EC_POINT_new
	cbz	x0, LBB0_15
; %bb.12:
	mov	x25, x0
	mov	x0, x21
	mov	x1, x25
	mov	x2, x24
	mov	x3, #0
	mov	x4, x19
	bl	_ec_scalar_mul_ladder
	cbz	w0, LBB0_16
; %bb.13:
	ldr	x2, [x23]
	ldr	x3, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	bl	_ec_scalar_mul_ladder
	cbz	w0, LBB0_16
; %bb.14:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x25
	mov	x3, x20
	mov	x4, x19
	bl	_EC_POINT_add
	cmp	w0, #0
	cset	w19, ne
	b	LBB0_17
LBB0_15:
Lloh0:
	adrp	x8, _EC_F_EC_GF2M_SIMPLE_POINTS_MUL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EC_F_EC_GF2M_SIMPLE_POINTS_MUL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ECerr
	mov	w19, #0
	b	LBB0_18
LBB0_16:
	mov	w19, #0
LBB0_17:
	mov	x0, x25
	bl	_EC_POINT_free
LBB0_18:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_EC_F_EC_GF2M_SIMPLE_POINTS_MUL,4,2 ; @EC_F_EC_GF2M_SIMPLE_POINTS_MUL
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_ec_GF2m_simple_points_mul
.subsections_via_symbols
