	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_builtin
_test_builtin:                          ## @test_builtin
	.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	$168, %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)
	movq	_curves@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movl	(%rax,%rcx,4), %r14d
	movq	_NID_ipsec4@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_NID_ipsec3@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r14d, %edi
	callq	_OBJ_nid2sn
	cmpl	%ebx, %r14d
	je	LBB0_2
## %bb.1:
	cmpl	%r15d, %r14d
	je	LBB0_2
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	callq	_TEST_info
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	-176(%rbp), %rdi
	movl	$128, %esi
	callq	_RAND_bytes
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	%r14d, %edi
	callq	_EC_KEY_new_by_curve_name
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movq	%r15, %rdi
	callq	_EC_KEY_generate_key
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_6
## %bb.9:
	movq	%r13, -192(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	%r13, -184(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_EVP_PKEY_assign_EC_KEY
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	movl	%r14d, %edi
	callq	_EC_KEY_new_by_curve_name
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	movq	-192(%rbp), %r13                ## 8-byte Reload
	je	LBB0_14
## %bb.15:
	movq	%r14, %rdi
	callq	_EC_KEY_generate_key
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_14
## %bb.16:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_EVP_PKEY_assign_EC_KEY
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movq	%r15, %rdi
	callq	_ECDSA_size
	movl	%eax, %r14d
	xorl	%r12d, %r12d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_ge
	testl	%eax, %eax
	je	LBB0_21
## %bb.22:
	movslq	%r14d, %rdi
	movq	%rdi, -208(%rbp)
	callq	_OPENSSL_malloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_51
## %bb.23:
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	callq	_EVP_DigestSignInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_51
## %bb.24:
	leaq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestSign
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_51
## %bb.25:
	movq	-208(%rbp), %rbx
	movq	%r15, %rdi
	callq	_ECDSA_size
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_TEST_int_le
	testl	%eax, %eax
	je	LBB0_51
## %bb.26:
	movq	%r13, %rdi
	callq	_EVP_MD_CTX_reset
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_52
## %bb.27:
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_52
## %bb.28:
	movq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestVerify
	xorl	%r12d, %r12d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_52
## %bb.29:
	movq	%r13, %rdi
	callq	_EVP_MD_CTX_reset
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_52
## %bb.30:
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_51
## %bb.31:
	movq	-208(%rbp), %rdx
	decq	%rdx
	leaq	-176(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestVerify
	movl	%eax, %edi
	movl	$-1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_32
## %bb.34:
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	callq	_EVP_MD_CTX_reset
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.35:
	xorl	%r12d, %r12d
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.36:
	movq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestVerify
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_32
## %bb.37:
	xorb	$1, -176(%rbp)
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	callq	_EVP_MD_CTX_reset
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.38:
	xorl	%r12d, %r12d
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.39:
	movq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestVerify
	xorl	%r12d, %r12d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_32
## %bb.40:
	xorb	$1, -176(%rbp)
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	callq	_EVP_MD_CTX_reset
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.41:
	xorl	%r12d, %r12d
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.42:
	movq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestVerify
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_32
## %bb.43:
	movzbl	-176(%rbp), %ebx
	movq	-208(%rbp), %rcx
	cmpq	%rcx, %rbx
	jb	LBB0_45
## %bb.44:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %ebx
LBB0_45:
	movzbl	-175(%rbp), %eax
	testb	%al, %al
	movl	$1, %r15d
	cmovnel	%eax, %r15d
	xorb	%r15b, (%r14,%rbx)
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	callq	_EVP_MD_CTX_reset
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.46:
	xorl	%r12d, %r12d
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.47:
	movq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestVerify
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_ne
	testl	%eax, %eax
	je	LBB0_32
## %bb.48:
	xorb	%r15b, (%r14,%rbx)
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	callq	_EVP_MD_CTX_reset
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.49:
	xorl	%r12d, %r12d
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	-184(%rbp), %r8                 ## 8-byte Reload
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.50:
	movq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	-192(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$128, %r8d
	callq	_EVP_DigestVerify
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_eq
	xorl	%r12d, %r12d
	testl	%eax, %eax
	setne	%r12b
	jmp	LBB0_51
LBB0_2:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_TEST_info
	movl	$1, %r12d
	jmp	LBB0_54
LBB0_6:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%r12d, %r12d
	jmp	LBB0_53
LBB0_4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
LBB0_53:
	callq	_EVP_PKEY_free
	movq	%rbx, %rdi
	callq	_EVP_PKEY_free
	movq	%r13, %rdi
	callq	_EVP_MD_CTX_free
	movq	%r14, %rdi
	callq	_OPENSSL_free
LBB0_54:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_56
## %bb.55:
	movl	%r12d, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movq	-192(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_53
LBB0_14:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_52
LBB0_12:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
LBB0_33:
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	movq	-192(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_53
LBB0_17:
	xorl	%r14d, %r14d
	jmp	LBB0_52
LBB0_19:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_51
LBB0_21:
	xorl	%r14d, %r14d
LBB0_51:
	movq	-200(%rbp), %rbx                ## 8-byte Reload
LBB0_52:
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_53
LBB0_32:
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_33
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_curves,8,3                     ## @curves
	.comm	_NID_ipsec4,4,2                 ## @NID_ipsec4
	.comm	_NID_ipsec3,4,2                 ## @NID_ipsec3
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"skipped: ECDSA unsupported for curve %s"

L_.str.1:                               ## @.str.1
	.asciz	"testing ECDSA for curve %s"

	.no_dead_strip	_test_builtin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_builtin
_test_builtin:                          ; @test_builtin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _curves@GOTPAGE
Lloh4:
	ldr	x8, [x8, _curves@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w21, [x8, w0, sxtw #2]
Lloh6:
	adrp	x8, _NID_ipsec4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NID_ipsec4@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _NID_ipsec3@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NID_ipsec3@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_OBJ_nid2sn
	mov	x1, x0
	cmp	w21, w19
	ccmp	w21, w20, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEST_info
	mov	w23, #1
	b	LBB0_41
LBB0_2:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TEST_info
	bl	_EVP_MD_CTX_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_38
; %bb.3:
	add	x0, sp, #8
	mov	w1, #128
	bl	_RAND_bytes
	bl	_TEST_true
	cbz	w0, LBB0_38
; %bb.4:
	mov	x0, x21
	bl	_EC_KEY_new_by_curve_name
	mov	x23, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_38
; %bb.5:
	mov	x0, x23
	bl	_EC_KEY_generate_key
	bl	_TEST_true
	cbz	w0, LBB0_38
; %bb.6:
	bl	_EVP_PKEY_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_43
; %bb.7:
	mov	x0, x20
	mov	x1, x23
	bl	_EVP_PKEY_assign_EC_KEY
	bl	_TEST_true
	cbz	w0, LBB0_43
; %bb.8:
	mov	x0, x21
	bl	_EC_KEY_new_by_curve_name
	mov	x22, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_43
; %bb.9:
	mov	x0, x22
	bl	_EC_KEY_generate_key
	bl	_TEST_true
	cbz	w0, LBB0_43
; %bb.10:
	bl	_EVP_PKEY_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_44
; %bb.11:
	mov	x0, x21
	mov	x1, x22
	bl	_EVP_PKEY_assign_EC_KEY
	bl	_TEST_true
	cbz	w0, LBB0_44
; %bb.12:
	mov	x0, x23
	bl	_ECDSA_size
	mov	x22, x0
	mov	w1, #0
	bl	_TEST_int_ge
	cbz	w0, LBB0_44
; %bb.13:
	sxtw	x0, w22
	str	x0, [sp]
	bl	_OPENSSL_malloc
	mov	x22, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_39
; %bb.14:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestSignInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.15:
	mov	x2, sp
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestSign
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.16:
	ldr	x24, [sp]
	mov	x0, x23
	bl	_ECDSA_size
	mov	x1, x0
	mov	x0, x24
	bl	_TEST_int_le
	cbz	w0, LBB0_39
; %bb.17:
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.18:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x21
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.19:
	ldr	x2, [sp]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestVerify
	mov	w1, #0
	bl	_TEST_int_eq
	cbz	w0, LBB0_39
; %bb.20:
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.21:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.22:
	ldr	x8, [sp]
	sub	x2, x8, #1
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestVerify
	mov	w1, #-1
	bl	_TEST_int_eq
	cbz	w0, LBB0_39
; %bb.23:
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.24:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.25:
	ldr	x2, [sp]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestVerify
	mov	w1, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_39
; %bb.26:
	ldrb	w8, [sp, #8]
	eor	w8, w8, #0x1
	strb	w8, [sp, #8]
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.27:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.28:
	ldr	x2, [sp]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestVerify
	mov	w1, #0
	bl	_TEST_int_eq
	cbz	w0, LBB0_39
; %bb.29:
	ldrb	w8, [sp, #8]
	eor	w8, w8, #0x1
	strb	w8, [sp, #8]
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.30:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.31:
	ldr	x2, [sp]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestVerify
	mov	w1, #1
	bl	_TEST_int_eq
	cbz	w0, LBB0_39
; %bb.32:
	ldrb	w8, [sp, #8]
	ldr	x9, [sp]
	udiv	x10, x8, x9
	msub	x23, x10, x9, x8
	ldrb	w8, [sp, #9]
	cmp	w8, #0
	csinc	w24, w8, wzr, ne
	ldrb	w8, [x22, x23]
	eor	w8, w24, w8
	strb	w8, [x22, x23]
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.33:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.34:
	ldr	x2, [sp]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestVerify
	mov	w1, #1
	bl	_TEST_int_ne
	cbz	w0, LBB0_39
; %bb.35:
	ldrb	w8, [x22, x23]
	eor	w8, w8, w24
	strb	w8, [x22, x23]
	mov	x0, x19
	bl	_EVP_MD_CTX_reset
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.36:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_39
; %bb.37:
	ldr	x2, [sp]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	w4, #128
	bl	_EVP_DigestVerify
	mov	w1, #1
	bl	_TEST_int_eq
	cmp	w0, #0
	cset	w23, ne
	b	LBB0_40
LBB0_38:
	mov	x22, #0
	mov	x21, #0
	mov	x20, #0
LBB0_39:
	mov	w23, #0
LBB0_40:
	mov	x0, x20
	bl	_EVP_PKEY_free
	mov	x0, x21
	bl	_EVP_PKEY_free
	mov	x0, x19
	bl	_EVP_MD_CTX_free
	mov	x0, x22
	bl	_OPENSSL_free
LBB0_41:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.42:
	mov	x0, x23
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_43:
	mov	x22, #0
	mov	x21, #0
	b	LBB0_39
LBB0_44:
	mov	x22, #0
	b	LBB0_39
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_curves,8,3                     ; @curves
	.comm	_NID_ipsec4,4,2                 ; @NID_ipsec4
	.comm	_NID_ipsec3,4,2                 ; @NID_ipsec3
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"skipped: ECDSA unsupported for curve %s"

l_.str.1:                               ; @.str.1
	.asciz	"testing ECDSA for curve %s"

	.no_dead_strip	_test_builtin
.subsections_via_symbols
