	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsa_verify_wrap
_rsa_verify_wrap:                       ## @rsa_verify_wrap
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	cmpq	%r9, (%rdi)
	jbe	LBB0_2
## %bb.1:
	movq	_MBEDTLS_ERR_RSA_VERIFY_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_2:
	movq	%r8, %r10
	movq	%rcx, %r9
	movq	%rdx, %rax
	movq	%rsi, %r8
	movq	%rdi, %rbx
	movq	_MBEDTLS_RSA_PUBLIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%edx, %edx
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%r10
	pushq	%rax
	callq	_mbedtls_rsa_pkcs1_verify
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	cmpq	%r14, (%rbx)
	jae	LBB0_5
## %bb.4:
	movq	_MBEDTLS_ERR_PK_SIG_LEN_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_ERR_RSA_VERIFY_FAILED,4,2 ## @MBEDTLS_ERR_RSA_VERIFY_FAILED
	.comm	_MBEDTLS_RSA_PUBLIC,4,2         ## @MBEDTLS_RSA_PUBLIC
	.comm	_MBEDTLS_ERR_PK_SIG_LEN_MISMATCH,4,2 ## @MBEDTLS_ERR_PK_SIG_LEN_MISMATCH
	.comm	_MBEDTLS_ERR_PK_BAD_INPUT_DATA,4,2 ## @MBEDTLS_ERR_PK_BAD_INPUT_DATA
	.comm	_MBEDTLS_MD_NONE,8,3            ## @MBEDTLS_MD_NONE
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.no_dead_strip	_rsa_verify_wrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsa_verify_wrap
_rsa_verify_wrap:                       ; @rsa_verify_wrap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x5
	ldr	x8, [x0]
	cmp	x8, x5
	b.ls	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MBEDTLS_ERR_RSA_VERIFY_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_ERR_RSA_VERIFY_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_2:
	mov	x7, x4
	mov	x5, x3
	mov	x6, x2
	mov	x4, x1
	mov	x20, x0
Lloh3:
	adrp	x8, _MBEDTLS_RSA_PUBLIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MBEDTLS_RSA_PUBLIC@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x1, #0
	mov	x2, #0
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_mbedtls_rsa_pkcs1_verify
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _MBEDTLS_ERR_PK_SIG_LEN_MISMATCH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MBEDTLS_ERR_PK_SIG_LEN_MISMATCH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, x19
	csel	w0, w9, wzr, lo
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_ERR_RSA_VERIFY_FAILED,4,2 ; @MBEDTLS_ERR_RSA_VERIFY_FAILED
	.comm	_MBEDTLS_RSA_PUBLIC,4,2         ; @MBEDTLS_RSA_PUBLIC
	.comm	_MBEDTLS_ERR_PK_SIG_LEN_MISMATCH,4,2 ; @MBEDTLS_ERR_PK_SIG_LEN_MISMATCH
	.comm	_MBEDTLS_ERR_PK_BAD_INPUT_DATA,4,2 ; @MBEDTLS_ERR_PK_BAD_INPUT_DATA
	.comm	_MBEDTLS_MD_NONE,8,3            ; @MBEDTLS_MD_NONE
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.no_dead_strip	_rsa_verify_wrap
.subsections_via_symbols
