	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsa_pub_decode
_rsa_pub_decode:                        ## @rsa_pub_decode
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r8
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	xorl	%edi, %edi
	callq	_X509_PUBKEY_get0_param
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movl	-28(%rbp), %edx
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %rsi
	xorl	%edi, %edi
	callq	_d2i_RSAPublicKey
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	-40(%rbp), %rsi
	movq	%rax, %rdi
	callq	_rsa_param_decode
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_EVP_PKEY_assign
	movl	$1, %ebx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	movq	%r15, %rdi
	callq	_RSA_free
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_2:
	movq	_RSA_F_RSA_PUB_DECODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_RSA_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RSAerr
LBB0_6:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_F_RSA_PUB_DECODE,4,2       ## @RSA_F_RSA_PUB_DECODE
	.comm	_ERR_R_RSA_LIB,4,2              ## @ERR_R_RSA_LIB
	.no_dead_strip	_rsa_pub_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsa_pub_decode
_rsa_pub_decode:                        ; @rsa_pub_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x4, x1
	mov	x19, x0
	add	x1, sp, #24
	add	x2, sp, #20
	add	x3, sp, #8
	mov	x0, #0
	bl	_X509_PUBKEY_get0_param
	cbz	w0, LBB0_8
; %bb.1:
	ldr	w2, [sp, #20]
	add	x1, sp, #24
	mov	x0, #0
	bl	_d2i_RSAPublicKey
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	ldr	x1, [sp, #8]
	bl	_rsa_param_decode
	cbz	w0, LBB0_6
; %bb.3:
	ldr	x8, [x19]
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_EVP_PKEY_assign
	cbz	w0, LBB0_6
; %bb.4:
	mov	w0, #1
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _RSA_F_RSA_PUB_DECODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_F_RSA_PUB_DECODE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_RSA_LIB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_RSA_LIB@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_RSAerr
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_RSA_free
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_F_RSA_PUB_DECODE,4,2       ; @RSA_F_RSA_PUB_DECODE
	.comm	_ERR_R_RSA_LIB,4,2              ; @ERR_R_RSA_LIB
	.no_dead_strip	_rsa_pub_decode
.subsections_via_symbols
