	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_rsa_init
_pkey_rsa_init:                         ## @pkey_rsa_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$24, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	$2048, (%rax)                   ## imm = 0x800
	movq	_RSA_DEFAULT_PRIME_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	%r14, %rdi
	callq	_pkey_ctx_is_pss
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_RSA_PKCS1_PADDING@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_3:
	movq	_RSA_PKCS1_PSS_PADDING@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_RSA_PSS_SALTLEN_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$-1, 4(%rbx)
	movq	%rbx, 8(%r14)
	movl	8(%rbx), %eax
	movl	%eax, 4(%r14)
	movl	$2, (%r14)
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_DEFAULT_PRIME_NUM,4,2      ## @RSA_DEFAULT_PRIME_NUM
	.comm	_RSA_PKCS1_PSS_PADDING,4,2      ## @RSA_PKCS1_PSS_PADDING
	.comm	_RSA_PKCS1_PADDING,4,2          ## @RSA_PKCS1_PADDING
	.comm	_RSA_PSS_SALTLEN_AUTO,4,2       ## @RSA_PSS_SALTLEN_AUTO
	.no_dead_strip	_pkey_rsa_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_rsa_init
_pkey_rsa_init:                         ; @pkey_rsa_init
	.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, x0
	mov	w0, #24
	bl	_OPENSSL_zalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	w8, #2048
	str	w8, [x0]
Lloh0:
	adrp	x8, _RSA_DEFAULT_PRIME_NUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_DEFAULT_PRIME_NUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #20]
	mov	x0, x19
	bl	_pkey_ctx_is_pss
Lloh3:
	adrp	x8, _RSA_PKCS1_PADDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_PKCS1_PADDING@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RSA_PKCS1_PSS_PADDING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RSA_PKCS1_PSS_PADDING@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
Lloh7:
	adrp	x9, _RSA_PSS_SALTLEN_AUTO@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RSA_PSS_SALTLEN_AUTO@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
	mov	w8, #-1
	str	w8, [x20, #4]
	str	x20, [x19, #8]
	ldr	w8, [x20, #8]
	mov	w9, #2
	stp	w9, w8, [x19]
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_DEFAULT_PRIME_NUM,4,2      ; @RSA_DEFAULT_PRIME_NUM
	.comm	_RSA_PKCS1_PSS_PADDING,4,2      ; @RSA_PKCS1_PSS_PADDING
	.comm	_RSA_PKCS1_PADDING,4,2          ; @RSA_PKCS1_PADDING
	.comm	_RSA_PSS_SALTLEN_AUTO,4,2       ; @RSA_PSS_SALTLEN_AUTO
	.no_dead_strip	_pkey_rsa_init
.subsections_via_symbols
