	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_EVP_SM2_verify
_test_EVP_SM2_verify:                   ## @test_EVP_SM2_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	$296, %rsp                      ## imm = 0x128
	.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	l___const.test_EVP_SM2_verify.signature(%rip), %rsi
	leaq	-336(%rbp), %rdi
	movl	$280, %edx                      ## imm = 0x118
	callq	_memcpy
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_BIO_new_mem_buf
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_TEST_true
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_PUBKEY
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	movq	_EVP_PKEY_SM2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_EVP_PKEY_set_alias_type
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_EVP_PKEY_CTX_new
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rdi
	callq	_strlen
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_EVP_PKEY_CTX_set1_id
	xorl	%r15d, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_EVP_MD_CTX_set_pkey_ctx
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_EVP_sm3
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_EVP_DigestVerifyInit
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_strlen
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_EVP_DigestVerifyUpdate
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:
	leaq	-336(%rbp), %rsi
	movq	%r12, %rdi
	movl	$280, %edx                      ## imm = 0x118
	callq	_EVP_DigestVerifyFinal
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_12
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	xorl	%r12d, %r12d
LBB0_11:
	xorl	%r13d, %r13d
LBB0_12:
	movq	%rbx, %rdi
	callq	_BIO_free
	movq	%r14, %rdi
	callq	_EVP_PKEY_free
	movq	%r13, %rdi
	callq	_EVP_PKEY_CTX_free
	movq	%r12, %rdi
	callq	_EVP_MD_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.13:
	movl	%r15d, %eax
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-----BEGIN PUBLIC KEY-----\nMIIBMzCB7AYHKoZIzj0CATCB4AIBATAsBgcqhkjOPQEBAiEAhULWnkwETxjouSQ1\nv2/33kVyg5FcRVF9ci7biwjx38MwRAQgeHlotPoyw/0kF4Quc7v+/y88hItoMdfg\n7GUiizk35JgEIGPkxtOyOwyEnPhCQUhL/kj2HVmlsWugbm4S0donxSSaBEEEQh3r\n1hti6rZ0ZDTrw8wxXjIiCzut1QvcTE5sFH/t1D0GgFEry7QsB9RzSdIVO3DE5df9\n/L+jbqGoWEG55G4JogIhAIVC1p5MBE8Y6LkkNb9v990pdyBjBIVijVrnTufDLnm3\nAgEBA0IABArkx3mKoPEZRxvuEYJb5GICu3nipYRElel8BP9N8lSKfAJA+I8c1OFj\nUqc8F7fxbwc1PlOhdtaEqf4Ma7eY6Fc=\n-----END PUBLIC KEY-----\n"

L_.str.1:                               ## @.str.1
	.asciz	"message digest"

L_.str.2:                               ## @.str.2
	.asciz	"ALICE123@YAHOO.COM"

	.section	__TEXT,__const
	.p2align	4                               ## @__const.test_EVP_SM2_verify.signature
l___const.test_EVP_SM2_verify.signature:
	.long	48                              ## 0x30
	.long	68                              ## 0x44
	.long	2                               ## 0x2
	.long	32                              ## 0x20
	.long	64                              ## 0x40
	.long	241                             ## 0xf1
	.long	236                             ## 0xec
	.long	89                              ## 0x59
	.long	247                             ## 0xf7
	.long	147                             ## 0x93
	.long	217                             ## 0xd9
	.long	244                             ## 0xf4
	.long	158                             ## 0x9e
	.long	9                               ## 0x9
	.long	220                             ## 0xdc
	.long	239                             ## 0xef
	.long	73                              ## 0x49
	.long	19                              ## 0x13
	.long	13                              ## 0xd
	.long	65                              ## 0x41
	.long	148                             ## 0x94
	.long	247                             ## 0xf7
	.long	159                             ## 0x9f
	.long	177                             ## 0xb1
	.long	238                             ## 0xee
	.long	210                             ## 0xd2
	.long	202                             ## 0xca
	.long	165                             ## 0xa5
	.long	91                              ## 0x5b
	.long	172                             ## 0xac
	.long	219                             ## 0xdb
	.long	73                              ## 0x49
	.long	196                             ## 0xc4
	.long	231                             ## 0xe7
	.long	85                              ## 0x55
	.long	209                             ## 0xd1
	.long	2                               ## 0x2
	.long	32                              ## 0x20
	.long	111                             ## 0x6f
	.long	198                             ## 0xc6
	.long	218                             ## 0xda
	.long	195                             ## 0xc3
	.long	44                              ## 0x2c
	.long	93                              ## 0x5d
	.long	92                              ## 0x5c
	.long	241                             ## 0xf1
	.long	12                              ## 0xc
	.long	119                             ## 0x77
	.long	223                             ## 0xdf
	.long	178                             ## 0xb2
	.long	15                              ## 0xf
	.long	124                             ## 0x7c
	.long	46                              ## 0x2e
	.long	182                             ## 0xb6
	.long	103                             ## 0x67
	.long	164                             ## 0xa4
	.long	87                              ## 0x57
	.long	135                             ## 0x87
	.long	47                              ## 0x2f
	.long	176                             ## 0xb0
	.long	158                             ## 0x9e
	.long	197                             ## 0xc5
	.long	99                              ## 0x63
	.long	39                              ## 0x27
	.long	166                             ## 0xa6
	.long	126                             ## 0x7e
	.long	199                             ## 0xc7
	.long	222                             ## 0xde
	.long	235                             ## 0xeb
	.long	231                             ## 0xe7

	.comm	_EVP_PKEY_SM2,4,2               ## @EVP_PKEY_SM2
	.no_dead_strip	_test_EVP_SM2_verify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_EVP_SM2_verify
_test_EVP_SM2_verify:                   ; @test_EVP_SM2_verify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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	x1, l___const.test_EVP_SM2_verify.signature@PAGE
Lloh4:
	add	x1, x1, l___const.test_EVP_SM2_verify.signature@PAGEOFF
	mov	x0, sp
	mov	w2, #280
	bl	_memcpy
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	bl	_BIO_new_mem_buf
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.1:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_PUBKEY
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_TEST_true
	cbz	w0, LBB0_9
; %bb.2:
Lloh7:
	adrp	x8, _EVP_PKEY_SM2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVP_PKEY_SM2@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_EVP_PKEY_set_alias_type
	bl	_TEST_true
	cbz	w0, LBB0_9
; %bb.3:
	bl	_EVP_MD_CTX_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_16
; %bb.4:
	mov	x0, x20
	mov	x1, #0
	bl	_EVP_PKEY_CTX_new
	mov	x22, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_15
; %bb.5:
Lloh10:
	adrp	x23, l_.str.2@PAGE
Lloh11:
	add	x23, x23, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_EVP_PKEY_CTX_set1_id
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_15
; %bb.6:
	mov	x0, x21
	mov	x1, x22
	bl	_EVP_MD_CTX_set_pkey_ctx
	bl	_EVP_sm3
	mov	x2, x0
	mov	x0, x21
	mov	x1, #0
	mov	x3, #0
	mov	x4, x20
	bl	_EVP_DigestVerifyInit
	bl	_TEST_true
	cbz	w0, LBB0_15
; %bb.7:
Lloh12:
	adrp	x23, l_.str.1@PAGE
Lloh13:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_EVP_DigestVerifyUpdate
	bl	_TEST_true
	cbz	w0, LBB0_15
; %bb.8:
	mov	x1, sp
	mov	x0, x21
	mov	w2, #280
	bl	_EVP_DigestVerifyFinal
	bl	_TEST_true
	cmp	w0, #0
	cset	w23, ne
	b	LBB0_13
LBB0_9:
	mov	w23, #0
	b	LBB0_11
LBB0_10:
	mov	w23, #0
	mov	x20, #0
LBB0_11:
	mov	x21, #0
LBB0_12:
	mov	x22, #0
LBB0_13:
	mov	x0, x19
	bl	_BIO_free
	mov	x0, x20
	bl	_EVP_PKEY_free
	mov	x0, x22
	bl	_EVP_PKEY_CTX_free
	mov	x0, x21
	bl	_EVP_MD_CTX_free
	ldur	x8, [x29, #-56]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.14:
	mov	x0, x23
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_15:
	mov	w23, #0
	b	LBB0_13
LBB0_16:
	mov	w23, #0
	b	LBB0_12
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-----BEGIN PUBLIC KEY-----\nMIIBMzCB7AYHKoZIzj0CATCB4AIBATAsBgcqhkjOPQEBAiEAhULWnkwETxjouSQ1\nv2/33kVyg5FcRVF9ci7biwjx38MwRAQgeHlotPoyw/0kF4Quc7v+/y88hItoMdfg\n7GUiizk35JgEIGPkxtOyOwyEnPhCQUhL/kj2HVmlsWugbm4S0donxSSaBEEEQh3r\n1hti6rZ0ZDTrw8wxXjIiCzut1QvcTE5sFH/t1D0GgFEry7QsB9RzSdIVO3DE5df9\n/L+jbqGoWEG55G4JogIhAIVC1p5MBE8Y6LkkNb9v990pdyBjBIVijVrnTufDLnm3\nAgEBA0IABArkx3mKoPEZRxvuEYJb5GICu3nipYRElel8BP9N8lSKfAJA+I8c1OFj\nUqc8F7fxbwc1PlOhdtaEqf4Ma7eY6Fc=\n-----END PUBLIC KEY-----\n"

l_.str.1:                               ; @.str.1
	.asciz	"message digest"

l_.str.2:                               ; @.str.2
	.asciz	"ALICE123@YAHOO.COM"

	.section	__TEXT,__const
	.p2align	2                               ; @__const.test_EVP_SM2_verify.signature
l___const.test_EVP_SM2_verify.signature:
	.long	48                              ; 0x30
	.long	68                              ; 0x44
	.long	2                               ; 0x2
	.long	32                              ; 0x20
	.long	64                              ; 0x40
	.long	241                             ; 0xf1
	.long	236                             ; 0xec
	.long	89                              ; 0x59
	.long	247                             ; 0xf7
	.long	147                             ; 0x93
	.long	217                             ; 0xd9
	.long	244                             ; 0xf4
	.long	158                             ; 0x9e
	.long	9                               ; 0x9
	.long	220                             ; 0xdc
	.long	239                             ; 0xef
	.long	73                              ; 0x49
	.long	19                              ; 0x13
	.long	13                              ; 0xd
	.long	65                              ; 0x41
	.long	148                             ; 0x94
	.long	247                             ; 0xf7
	.long	159                             ; 0x9f
	.long	177                             ; 0xb1
	.long	238                             ; 0xee
	.long	210                             ; 0xd2
	.long	202                             ; 0xca
	.long	165                             ; 0xa5
	.long	91                              ; 0x5b
	.long	172                             ; 0xac
	.long	219                             ; 0xdb
	.long	73                              ; 0x49
	.long	196                             ; 0xc4
	.long	231                             ; 0xe7
	.long	85                              ; 0x55
	.long	209                             ; 0xd1
	.long	2                               ; 0x2
	.long	32                              ; 0x20
	.long	111                             ; 0x6f
	.long	198                             ; 0xc6
	.long	218                             ; 0xda
	.long	195                             ; 0xc3
	.long	44                              ; 0x2c
	.long	93                              ; 0x5d
	.long	92                              ; 0x5c
	.long	241                             ; 0xf1
	.long	12                              ; 0xc
	.long	119                             ; 0x77
	.long	223                             ; 0xdf
	.long	178                             ; 0xb2
	.long	15                              ; 0xf
	.long	124                             ; 0x7c
	.long	46                              ; 0x2e
	.long	182                             ; 0xb6
	.long	103                             ; 0x67
	.long	164                             ; 0xa4
	.long	87                              ; 0x57
	.long	135                             ; 0x87
	.long	47                              ; 0x2f
	.long	176                             ; 0xb0
	.long	158                             ; 0x9e
	.long	197                             ; 0xc5
	.long	99                              ; 0x63
	.long	39                              ; 0x27
	.long	166                             ; 0xa6
	.long	126                             ; 0x7e
	.long	199                             ; 0xc7
	.long	222                             ; 0xde
	.long	235                             ; 0xeb
	.long	231                             ; 0xe7

	.comm	_EVP_PKEY_SM2,4,2               ; @EVP_PKEY_SM2
	.no_dead_strip	_test_EVP_SM2_verify
.subsections_via_symbols
