	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_secp256k1_ecdsa_verify         ## -- Begin function secp256k1_ecdsa_verify
	.p2align	4, 0x90
_secp256k1_ecdsa_verify:                ## @secp256k1_ecdsa_verify
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_VERIFY_CHECK
	movq	%r14, %rdi
	callq	_secp256k1_ecmult_context_is_built
	movl	%eax, %edi
	callq	_ARG_CHECK
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_ARG_CHECK
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_ARG_CHECK
	xorl	%edi, %edi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	setne	%dil
	callq	_ARG_CHECK
	xorl	%r13d, %r13d
	leaq	-44(%rbp), %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_secp256k1_scalar_set_b32
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_secp256k1_ecdsa_signature_load
	movq	%rbx, %rdi
	callq	_secp256k1_scalar_is_high
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_secp256k1_pubkey_load
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-44(%rbp), %r8
	movq	%r14, %rdi
	callq	_secp256k1_ecdsa_sig_verify
	xorl	%r13d, %r13d
	testq	%rax, %rax
	setne	%r13b
LBB0_3:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_secp256k1_ecdsa_verify         ; -- Begin function secp256k1_ecdsa_verify
	.p2align	2
_secp256k1_ecdsa_verify:                ; @secp256k1_ecdsa_verify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_VERIFY_CHECK
	mov	x0, x19
	bl	_secp256k1_ecmult_context_is_built
	bl	_ARG_CHECK
	cmp	x21, #0
	cset	w0, ne
	bl	_ARG_CHECK
	cmp	x22, #0
	cset	w0, ne
	bl	_ARG_CHECK
	cmp	x20, #0
	cset	w0, ne
	bl	_ARG_CHECK
	mov	x0, sp
	mov	x1, x21
	mov	x2, #0
	bl	_secp256k1_scalar_set_b32
	add	x1, sp, #8
	add	x2, sp, #4
	mov	x0, x19
	mov	x3, x22
	bl	_secp256k1_ecdsa_signature_load
	add	x0, sp, #4
	bl	_secp256k1_scalar_is_high
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	add	x1, sp, #12
	mov	x0, x19
	mov	x2, x20
	bl	_secp256k1_pubkey_load
	cbz	x0, LBB0_4
; %bb.3:
	add	x1, sp, #8
	add	x2, sp, #4
	add	x3, sp, #12
	mov	x4, sp
	mov	x0, x19
	bl	_secp256k1_ecdsa_sig_verify
	cmp	x0, #0
	cset	w0, ne
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
