	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_int_rsa_verify                 ## -- Begin function int_rsa_verify
	.p2align	4, 0x90
_int_rsa_verify:                        ## @int_rsa_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	%r9, %r12
	movq	%r8, %r15
	movq	%rcx, %rbx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, -76(%rbp)                 ## 4-byte Spill
	movq	24(%rbp), %r13
	movq	16(%rbp), %r14
	movl	$0, -48(%rbp)
	movq	$0, -72(%rbp)
	movq	%r13, %rdi
	callq	_RSA_size
	cmpq	%r14, %rax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	movq	%r14, %r15
	movq	%r14, %rdi
	callq	_OPENSSL_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_RSA_PKCS1_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_RSA_public_decrypt
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jle	LBB0_30
## %bb.3:
	movl	%eax, %r13d
	movq	_NID_md5_sha1@GOTPCREL(%rip), %rax
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	cmpl	%r12d, (%rax)
	jne	LBB0_9
## %bb.4:
	movq	_SSL_SIG_LENGTH@GOTPCREL(%rip), %r12
	cmpl	(%r12), %r13d
	jne	LBB0_28
## %bb.5:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.6:
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movslq	(%r12), %rax
	movq	%rax, (%rbx)
	movl	$1, %r15d
	jmp	LBB0_30
LBB0_7:
	movq	_RSA_F_INT_RSA_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_WRONG_SIGNATURE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RSAerr
	xorl	%r15d, %r15d
	jmp	LBB0_31
LBB0_8:
	movq	_RSA_F_INT_RSA_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RSAerr
	xorl	%r15d, %r15d
	jmp	LBB0_30
LBB0_9:
	movq	_NID_mdc2@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_15
## %bb.10:
	cmpl	$18, %r13d
	jne	LBB0_15
## %bb.11:
	cmpb	$4, (%r14)
	jne	LBB0_15
## %bb.12:
	cmpb	$16, 1(%r14)
	jne	LBB0_15
## %bb.13:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.14:
	movq	%r14, %rsi
	addq	$2, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	$16, (%rbx)
	movl	$1, %r15d
	jmp	LBB0_30
LBB0_15:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_25
## %bb.16:
	movl	%r12d, %edi
	callq	_EVP_get_digestbynid
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	movq	%rax, %rdi
	callq	_EVP_MD_size
	cmpl	%r13d, %eax
	jbe	LBB0_24
## %bb.18:
	movq	_RSA_F_INT_RSA_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_INVALID_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_19:
	movq	_RSA_F_INT_RSA_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_UNKNOWN_ALGORITHM_TYPE@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_20:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, %r13d
	jne	LBB0_36
## %bb.21:
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_22:
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_28
## %bb.23:
	movl	$1, %r15d
	jmp	LBB0_30
LBB0_24:
	movl	%r13d, %edx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %ecx
	movq	%r14, %rax
	addq	%rdx, %rax
	subq	%rcx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_25:
	leaq	-72(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movl	%r12d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r8d
	callq	_encode_pkcs1
	testl	%eax, %eax
	je	LBB0_30
## %bb.26:
	cmpl	%r13d, -48(%rbp)
	jne	LBB0_28
## %bb.27:
	movq	-72(%rbp), %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_32
LBB0_28:
	movq	_RSA_F_INT_RSA_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_BAD_SIGNATURE@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %esi
	callq	_RSAerr
LBB0_30:
	movq	-72(%rbp), %rdi
	movslq	-48(%rbp), %rsi
	callq	_OPENSSL_clear_free
	movq	%r14, %rdi
	movq	16(%rbp), %rsi
	callq	_OPENSSL_clear_free
LBB0_31:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movl	$1, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.33:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_memcpy
	movl	%r12d, %eax
	movq	%rax, (%rbx)
	jmp	LBB0_30
LBB0_34:
	cmpl	$16, -44(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_36
## %bb.35:
	movq	%r14, %rsi
	addq	$2, %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$16, %edx
	jmp	LBB0_22
LBB0_36:
	movq	_RSA_F_INT_RSA_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_INVALID_MESSAGE_LENGTH@GOTPCREL(%rip), %rax
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_F_INT_RSA_VERIFY,4,2       ## @RSA_F_INT_RSA_VERIFY
	.comm	_RSA_R_WRONG_SIGNATURE_LENGTH,4,2 ## @RSA_R_WRONG_SIGNATURE_LENGTH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_RSA_PKCS1_PADDING,4,2          ## @RSA_PKCS1_PADDING
	.comm	_NID_md5_sha1,4,2               ## @NID_md5_sha1
	.comm	_SSL_SIG_LENGTH,4,2             ## @SSL_SIG_LENGTH
	.comm	_RSA_R_BAD_SIGNATURE,4,2        ## @RSA_R_BAD_SIGNATURE
	.comm	_RSA_R_INVALID_MESSAGE_LENGTH,4,2 ## @RSA_R_INVALID_MESSAGE_LENGTH
	.comm	_NID_mdc2,4,2                   ## @NID_mdc2
	.comm	_RSA_R_UNKNOWN_ALGORITHM_TYPE,4,2 ## @RSA_R_UNKNOWN_ALGORITHM_TYPE
	.comm	_RSA_R_INVALID_DIGEST_LENGTH,4,2 ## @RSA_R_INVALID_DIGEST_LENGTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_int_rsa_verify                 ; -- Begin function int_rsa_verify
	.p2align	2
_int_rsa_verify:                        ; @int_rsa_verify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x26, x7
	mov	x19, x6
	mov	x27, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	str	wzr, [sp, #12]
	str	xzr, [sp]
	mov	x0, x7
	bl	_RSA_size
	cmp	x0, x19
	b.ne	LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_OPENSSL_malloc
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.2:
Lloh0:
	adrp	x8, _RSA_PKCS1_PADDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_PKCS1_PADDING@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x27
	mov	x2, x20
	mov	x3, x26
	bl	_RSA_public_decrypt
	cmp	w0, #1
	b.lt	LBB0_34
; %bb.3:
	mov	x26, x0
Lloh3:
	adrp	x8, _NID_md5_sha1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NID_md5_sha1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w25
	b.ne	LBB0_11
; %bb.4:
Lloh6:
	adrp	x25, _SSL_SIG_LENGTH@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SSL_SIG_LENGTH@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w26, w8
	b.ne	LBB0_32
; %bb.5:
	cbz	x22, LBB0_21
; %bb.6:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x26
	bl	_memcpy
	ldrsw	x8, [x25]
LBB0_7:
	str	x8, [x21]
LBB0_8:
	mov	w21, #1
	b	LBB0_35
LBB0_9:
Lloh8:
	adrp	x8, _RSA_F_INT_RSA_VERIFY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RSA_F_INT_RSA_VERIFY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _RSA_R_WRONG_SIGNATURE_LENGTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RSA_R_WRONG_SIGNATURE_LENGTH@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_RSAerr
	mov	w21, #0
	b	LBB0_36
LBB0_10:
Lloh14:
	adrp	x8, _RSA_F_INT_RSA_VERIFY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RSA_F_INT_RSA_VERIFY@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_33
LBB0_11:
Lloh19:
	adrp	x8, _NID_mdc2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NID_mdc2@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w25
	ccmp	w26, #18, #0, eq
	b.ne	LBB0_16
; %bb.12:
	ldrb	w8, [x20]
	cmp	w8, #4
	b.ne	LBB0_16
; %bb.13:
	ldrb	w8, [x20, #1]
	cmp	w8, #16
	b.ne	LBB0_16
; %bb.14:
	cbz	x22, LBB0_29
; %bb.15:
	add	x1, x20, #2
	mov	w23, #16
	mov	x0, x22
	mov	w2, #16
	bl	_memcpy
	str	x23, [x21]
	b	LBB0_8
LBB0_16:
	cbz	x22, LBB0_24
; %bb.17:
	mov	x0, x25
	bl	_EVP_get_digestbynid
	cbz	x0, LBB0_20
; %bb.18:
	bl	_EVP_MD_size
	cmp	w0, w26
	b.ls	LBB0_23
; %bb.19:
Lloh22:
	adrp	x8, _RSA_F_INT_RSA_VERIFY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RSA_F_INT_RSA_VERIFY@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _RSA_R_INVALID_DIGEST_LENGTH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RSA_R_INVALID_DIGEST_LENGTH@GOTPAGEOFF]
	b	LBB0_33
LBB0_20:
Lloh27:
	adrp	x8, _RSA_F_INT_RSA_VERIFY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RSA_F_INT_RSA_VERIFY@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _RSA_R_UNKNOWN_ALGORITHM_TYPE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RSA_R_UNKNOWN_ALGORITHM_TYPE@GOTPAGEOFF]
	b	LBB0_33
LBB0_21:
	cmp	w26, w23
	b.ne	LBB0_37
; %bb.22:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	b	LBB0_31
LBB0_23:
	mov	x23, x0
	add	x8, x20, w26, uxtw
	sub	x24, x8, w0, uxtw
LBB0_24:
	mov	x0, sp
	add	x1, sp, #12
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	bl	_encode_pkcs1
	cbz	w0, LBB0_34
; %bb.25:
	ldr	w8, [sp, #12]
	cmp	w8, w26
	b.ne	LBB0_32
; %bb.26:
	ldr	x0, [sp]
	mov	x1, x20
	mov	x2, x26
	bl	_memcmp
	cbnz	x0, LBB0_32
; %bb.27:
	cbz	x22, LBB0_8
; %bb.28:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	bl	_memcpy
	mov	w8, w23
	b	LBB0_7
LBB0_29:
	cmp	w23, #16
	b.ne	LBB0_37
; %bb.30:
	add	x1, x20, #2
	mov	x0, x24
	mov	w2, #16
LBB0_31:
	bl	_memcmp
	cbz	x0, LBB0_8
LBB0_32:
Lloh32:
	adrp	x8, _RSA_F_INT_RSA_VERIFY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _RSA_F_INT_RSA_VERIFY@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _RSA_R_BAD_SIGNATURE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _RSA_R_BAD_SIGNATURE@GOTPAGEOFF]
LBB0_33:
	ldr	w1, [x8]
	bl	_RSAerr
LBB0_34:
	mov	w21, #0
LBB0_35:
	ldr	x0, [sp]
	ldrsw	x1, [sp, #12]
	bl	_OPENSSL_clear_free
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_clear_free
LBB0_36:
	mov	x0, x21
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_37:
Lloh37:
	adrp	x8, _RSA_F_INT_RSA_VERIFY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _RSA_F_INT_RSA_VERIFY@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _RSA_R_INVALID_MESSAGE_LENGTH@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RSA_R_INVALID_MESSAGE_LENGTH@GOTPAGEOFF]
	b	LBB0_33
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_F_INT_RSA_VERIFY,4,2       ; @RSA_F_INT_RSA_VERIFY
	.comm	_RSA_R_WRONG_SIGNATURE_LENGTH,4,2 ; @RSA_R_WRONG_SIGNATURE_LENGTH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_RSA_PKCS1_PADDING,4,2          ; @RSA_PKCS1_PADDING
	.comm	_NID_md5_sha1,4,2               ; @NID_md5_sha1
	.comm	_SSL_SIG_LENGTH,4,2             ; @SSL_SIG_LENGTH
	.comm	_RSA_R_BAD_SIGNATURE,4,2        ; @RSA_R_BAD_SIGNATURE
	.comm	_RSA_R_INVALID_MESSAGE_LENGTH,4,2 ; @RSA_R_INVALID_MESSAGE_LENGTH
	.comm	_NID_mdc2,4,2                   ; @NID_mdc2
	.comm	_RSA_R_UNKNOWN_ALGORITHM_TYPE,4,2 ; @RSA_R_UNKNOWN_ALGORITHM_TYPE
	.comm	_RSA_R_INVALID_DIGEST_LENGTH,4,2 ; @RSA_R_INVALID_DIGEST_LENGTH
.subsections_via_symbols
