	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_ecmult_gen_blind          ## -- Begin function test_ecmult_gen_blind
	.p2align	4, 0x90
_test_ecmult_gen_blind:                 ## @test_ecmult_gen_blind
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-104(%rbp), %r15
	movq	%r15, %rdi
	callq	_random_scalar_order_test
	movq	_ctx@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	leaq	-100(%rbp), %r14
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_ecmult_gen
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_secp256k1_rand256
	movq	(%r13), %rdi
	movl	4(%rdi), %eax
	movl	%eax, -88(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -84(%rbp)
	movq	%rbx, %rsi
	callq	_secp256k1_ecmult_gen_blind
	movq	(%r13), %rsi
	addq	$4, %rsi
	leaq	-88(%rbp), %rdi
	callq	_secp256k1_scalar_eq
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movq	(%r13), %rdi
	leaq	-96(%rbp), %r12
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_secp256k1_ecmult_gen
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_gej_xyz_equals_gej
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	movq	(%r13), %rsi
	leaq	-84(%rbp), %rdi
	callq	_gej_xyz_equals_gej
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_CHECK
	leaq	-92(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_secp256k1_ge_set_gej
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_ge_equals_gej
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ctx,8,3                        ## @ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_ecmult_gen_blind          ; -- Begin function test_ecmult_gen_blind
	.p2align	2
_test_ecmult_gen_blind:                 ; @test_ecmult_gen_blind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	add	x0, sp, #20
	bl	_random_scalar_order_test
Lloh3:
	adrp	x19, _ctx@GOTPAGE
Lloh4:
	ldr	x19, [x19, _ctx@GOTPAGEOFF]
	ldr	x0, [x19]
	add	x1, sp, #12
	add	x2, sp, #20
	bl	_secp256k1_ecmult_gen
	add	x0, sp, #24
	bl	_secp256k1_rand256
	ldr	x0, [x19]
	ldr	w8, [x0, #4]
	str	w8, [sp, #16]
	ldr	w8, [x0]
	str	w8, [sp, #4]
	add	x1, sp, #24
	bl	_secp256k1_ecmult_gen_blind
	ldr	x8, [x19]
	add	x1, x8, #4
	add	x0, sp, #16
	bl	_secp256k1_scalar_eq
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	x0, [x19]
	add	x1, sp, #8
	add	x2, sp, #20
	bl	_secp256k1_ecmult_gen
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_gej_xyz_equals_gej
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	ldr	x1, [x19]
	add	x0, sp, #4
	bl	_gej_xyz_equals_gej
	cmp	w0, #0
	cset	w0, eq
	bl	_CHECK
	mov	x0, sp
	add	x1, sp, #12
	bl	_secp256k1_ge_set_gej
	mov	x0, sp
	add	x1, sp, #8
	bl	_ge_equals_gej
	ldur	x8, [x29, #-24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ctx,8,3                        ; @ctx
.subsections_via_symbols
