	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_C_Verify                       ## -- Begin function C_Verify
	.p2align	4, 0x90
_C_Verify:                              ## @C_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_INIT_CONTEXT
	leaq	L_.str(%rip), %rdi
	callq	_st_logf
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edi
	callq	_VERIFY_SESSION_HANDLE
	movq	-48(%rbp), %rcx
	movslq	(%rcx), %rax
	cmpq	$-1, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rcx), %rcx
	cmpl	$128, (%rcx)
	jne	LBB0_3
## %bb.4:
	movq	_soft_token@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rbx
	xorl	%eax, %eax
	callq	_hx509_signature_rsa_pkcs1_x509
	movq	%r13, -56(%rbp)
	movq	%r12, -64(%rbp)
	movq	%r15, -72(%rbp)
	movq	%r14, -80(%rbp)
	movq	_context@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	(%rbx), %esi
	leaq	-80(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movq	%rax, %rdx
	callq	__hx509_verify_signature
	testl	%eax, %eax
	jne	LBB0_5
## %bb.6:
	movq	_CKR_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_CKR_ARGUMENTS_BAD@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_CKR_FUNCTION_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_CKR_GENERAL_ERROR@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Verify\n"

	.comm	_CKR_ARGUMENTS_BAD,4,2          ## @CKR_ARGUMENTS_BAD
	.comm	_soft_token,8,3                 ## @soft_token
	.comm	_CKR_FUNCTION_NOT_SUPPORTED,4,2 ## @CKR_FUNCTION_NOT_SUPPORTED
	.comm	_context,4,2                    ## @context
	.comm	_CKR_GENERAL_ERROR,4,2          ## @CKR_GENERAL_ERROR
	.comm	_CKR_OK,4,2                     ## @CKR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_C_Verify                       ; -- Begin function C_Verify
	.p2align	2
_C_Verify:                              ; @C_Verify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	bl	_INIT_CONTEXT
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_st_logf
	add	x1, sp, #40
	mov	x0, x23
	bl	_VERIFY_SESSION_HANDLE
	ldr	x9, [sp, #40]
	ldrsw	x8, [x9]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	cmp	w9, #128
	b.ne	LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _soft_token@GOTPAGE
Lloh3:
	ldr	x9, [x9, _soft_token@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x23, [x9, x8, lsl #3]
	bl	_hx509_signature_rsa_pkcs1_x509
	mov	x2, x0
	stp	x21, x22, [sp, #8]
	stp	x19, x20, [sp, #24]
Lloh5:
	adrp	x8, _context@GOTPAGE
Lloh6:
	ldr	x8, [x8, _context@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	w1, [x23]
	add	x3, sp, #24
	add	x4, sp, #8
	bl	__hx509_verify_signature
Lloh8:
	adrp	x8, _CKR_GENERAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CKR_GENERAL_ERROR@GOTPAGEOFF]
Lloh10:
	adrp	x9, _CKR_OK@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CKR_OK@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
	b	LBB0_5
LBB0_3:
Lloh12:
	adrp	x8, _CKR_ARGUMENTS_BAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CKR_ARGUMENTS_BAD@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x8, _CKR_FUNCTION_NOT_SUPPORTED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CKR_FUNCTION_NOT_SUPPORTED@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Verify\n"

	.comm	_CKR_ARGUMENTS_BAD,4,2          ; @CKR_ARGUMENTS_BAD
	.comm	_soft_token,8,3                 ; @soft_token
	.comm	_CKR_FUNCTION_NOT_SUPPORTED,4,2 ; @CKR_FUNCTION_NOT_SUPPORTED
	.comm	_context,4,2                    ; @context
	.comm	_CKR_GENERAL_ERROR,4,2          ; @CKR_GENERAL_ERROR
	.comm	_CKR_OK,4,2                     ; @CKR_OK
.subsections_via_symbols
