	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bench_recover                  ## -- Begin function bench_recover
	.p2align	4, 0x90
_bench_recover:                         ## @bench_recover
	.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	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r12d, %r12d
	leaq	-108(%rbp), %r14
	leaq	-112(%rbp), %r15
	leaq	-104(%rbp), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	$33, -104(%rbp)
	movl	16(%rbx), %edi
	movq	(%rbx), %rdx
	movl	%r12d, %ecx
	andl	$1, %ecx
	movq	%r14, %rsi
	callq	_secp256k1_ecdsa_recoverable_signature_parse_compact
	movl	%eax, %edi
	callq	_CHECK
	movl	16(%rbx), %edi
	movq	8(%rbx), %rcx
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_secp256k1_ecdsa_recover
	movl	%eax, %edi
	callq	_CHECK
	movl	16(%rbx), %edi
	movq	_SECP256K1_EC_COMPRESSED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-96(%rbp), %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_secp256k1_ec_pubkey_serialize
	movl	%eax, %edi
	callq	_CHECK
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movzbl	(%rdx,%rax), %edx
	movb	%dl, 32(%rcx,%rax)
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movzbl	(%rcx,%rax), %ecx
	movb	%cl, (%rdx,%rax)
	movzbl	-95(%rbp,%rax), %ecx
	movq	(%rbx), %rdx
	movb	%cl, (%rdx,%rax)
	leaq	1(%rax), %rcx
	movq	%rcx, %rax
	cmpq	$32, %rcx
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%r12d
	cmpl	$20000, %r12d                   ## imm = 0x4E20
	jne	LBB0_1
## %bb.4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SECP256K1_EC_COMPRESSED,4,2    ## @SECP256K1_EC_COMPRESSED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bench_recover                  ; -- Begin function bench_recover
	.p2align	2
_bench_recover:                         ; @bench_recover
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x19, x0
	mov	w20, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	add	x8, sp, #23
	add	x21, x8, #1
	mov	w22, #33
Lloh3:
	adrp	x23, _SECP256K1_EC_COMPRESSED@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SECP256K1_EC_COMPRESSED@GOTPAGEOFF]
	mov	w24, #20000
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	str	x22, [sp, #8]
	ldr	w0, [x19, #16]
	and	w3, w20, #0x1
	ldr	x2, [x19]
	add	x1, sp, #4
	bl	_secp256k1_ecdsa_recoverable_signature_parse_compact
	bl	_CHECK
	ldr	w0, [x19, #16]
	ldr	x3, [x19, #8]
	add	x1, sp, #16
	add	x2, sp, #4
	bl	_secp256k1_ecdsa_recover
	bl	_CHECK
	ldr	w0, [x19, #16]
	ldr	w4, [x23]
	add	x1, sp, #23
	add	x2, sp, #8
	add	x3, sp, #16
	bl	_secp256k1_ec_pubkey_serialize
	bl	_CHECK
	mov	x8, #0
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x10, x9, [x19]
	ldrb	w9, [x9, x8]
	add	x10, x10, x8
	strb	w9, [x10, #32]
	ldp	x9, x10, [x19]
	ldrb	w9, [x9, x8]
	strb	w9, [x10, x8]
	ldrb	w9, [x21, x8]
	ldr	x10, [x19]
	strb	w9, [x10, x8]
	add	x9, x8, #1
	mov	x8, x9
	cmp	x9, #32
	b.ne	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w20, w20, #1
	cmp	w20, w24
	b.ne	LBB0_1
; %bb.4:
	ldr	x8, [sp, #56]
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_6
; %bb.5:
	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
	add	sp, sp, #128
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SECP256K1_EC_COMPRESSED,4,2    ; @SECP256K1_EC_COMPRESSED
.subsections_via_symbols
