	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_verify_ASN1_OCTET_STRING   ## -- Begin function RSA_verify_ASN1_OCTET_STRING
	.p2align	4, 0x90
_RSA_verify_ASN1_OCTET_STRING:          ## @RSA_verify_ASN1_OCTET_STRING
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r12d
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%r9, %rdi
	callq	_RSA_size
	cmpl	%r12d, %eax
	jne	LBB0_7
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_OPENSSL_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_RSA_PKCS1_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r12d, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_RSA_public_decrypt
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	movl	%r13d, %r14d
	movq	%rbx, -56(%rbp)
	movl	%eax, %edx
	xorl	%r15d, %r15d
	leaq	-56(%rbp), %rsi
	xorl	%edi, %edi
	callq	_d2i_ASN1_OCTET_STRING
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r13
	cmpl	%r14d, 8(%rax)
	jne	LBB0_6
## %bb.5:
	movl	%r14d, %edx
	movl	(%r13), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_14
LBB0_6:
	movq	_RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_BAD_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RSAerr
	jmp	LBB0_11
LBB0_7:
	movq	_RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@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_12
LBB0_8:
	movq	_RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RSAerr
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	xorl	%r13d, %r13d
LBB0_11:
	movq	%r13, %rdi
	callq	_ASN1_OCTET_STRING_free
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_OPENSSL_clear_free
LBB0_12:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	$1, %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_F_RSA_VERIFY_ASN1_OCTET_STRING,4,2 ## @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING
	.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	_RSA_R_BAD_SIGNATURE,4,2        ## @RSA_R_BAD_SIGNATURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_verify_ASN1_OCTET_STRING   ; -- Begin function RSA_verify_ASN1_OCTET_STRING
	.p2align	2
_RSA_verify_ASN1_OCTET_STRING:          ; @RSA_verify_ASN1_OCTET_STRING
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x5
	mov	x19, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x0, x5
	bl	_RSA_size
	cmp	w0, w19
	b.ne	LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_OPENSSL_malloc
	mov	x20, x0
	cbz	x0, LBB0_9
; %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, x24
	mov	x2, x20
	mov	x3, x23
	bl	_RSA_public_decrypt
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.3:
	str	x20, [sp, #8]
	mov	w2, w0
	add	x1, sp, #8
	mov	x0, #0
	bl	_d2i_ASN1_OCTET_STRING
	mov	x23, x0
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w8, [x23, #8]
	cmp	w8, w21
	b.ne	LBB0_6
; %bb.5:
	ldr	w1, [x23]
	mov	x0, x22
	mov	x2, x21
	bl	_memcmp
	cbz	x0, LBB0_13
LBB0_6:
Lloh3:
	adrp	x8, _RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _RSA_R_BAD_SIGNATURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSA_R_BAD_SIGNATURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_RSAerr
LBB0_7:
	mov	w21, #0
	b	LBB0_11
LBB0_8:
Lloh9:
	adrp	x8, _RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _RSA_R_WRONG_SIGNATURE_LENGTH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSA_R_WRONG_SIGNATURE_LENGTH@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_RSAerr
	mov	w21, #0
	b	LBB0_12
LBB0_9:
Lloh15:
	adrp	x8, _RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RSA_F_RSA_VERIFY_ASN1_OCTET_STRING@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_RSAerr
LBB0_10:
	mov	w21, #0
	mov	x23, #0
LBB0_11:
	mov	x0, x23
	bl	_ASN1_OCTET_STRING_free
	mov	x0, x20
	mov	x1, x19
	bl	_OPENSSL_clear_free
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	mov	w21, #1
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_F_RSA_VERIFY_ASN1_OCTET_STRING,4,2 ; @RSA_F_RSA_VERIFY_ASN1_OCTET_STRING
	.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	_RSA_R_BAD_SIGNATURE,4,2        ; @RSA_R_BAD_SIGNATURE
.subsections_via_symbols
