	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_pss_init
_pkey_pss_init:                         ## @pkey_pss_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	callq	_pkey_ctx_is_pss
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	(%rbx), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.2:
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-36(%rbp), %rcx
	callq	_rsa_pss_get_param
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_RSA_size
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi
	callq	_EVP_MD_size
	subl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_RSA_bits
	andl	$7, %eax
	xorl	%ecx, %ecx
	cmpl	$1, %eax
	sete	%cl
	subl	%ecx, %r15d
	movl	-36(%rbp), %eax
	cmpl	%r15d, %eax
	jle	LBB0_5
## %bb.4:
	movq	_RSA_F_PKEY_PSS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RSA_R_INVALID_SALT_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_RSAerr
	jmp	LBB0_7
LBB0_5:
	movl	%eax, (%r12)
	movq	-48(%rbp), %rax
	movq	%rax, 16(%r12)
	movq	-56(%rbp), %rax
	movq	%rax, 8(%r12)
	movl	-36(%rbp), %eax
	movl	%eax, 4(%r12)
LBB0_6:
	movl	$1, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_F_PKEY_PSS_INIT,4,2        ## @RSA_F_PKEY_PSS_INIT
	.comm	_RSA_R_INVALID_SALT_LENGTH,4,2  ## @RSA_R_INVALID_SALT_LENGTH
	.no_dead_strip	_pkey_pss_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_pss_init
_pkey_pss_init:                         ; @pkey_pss_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	ldr	x21, [x0, #8]
	bl	_pkey_ctx_is_pss
	cbz	w0, LBB0_7
; %bb.1:
	ldr	x8, [x19]
	ldr	x19, [x8]
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.2:
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	bl	_rsa_pss_get_param
	cbz	w0, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_RSA_size
	mov	x20, x0
	ldr	x0, [sp, #24]
	bl	_EVP_MD_size
	sub	w20, w20, w0
	mov	x0, x19
	bl	_RSA_bits
	and	w8, w0, #0x7
	cmp	w8, #1
	cset	w9, eq
	ldr	w8, [sp, #12]
	sub	w9, w20, w9
	cmp	w8, w9
	b.le	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _RSA_F_PKEY_PSS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_F_PKEY_PSS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _RSA_R_INVALID_SALT_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_R_INVALID_SALT_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_RSAerr
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	str	w8, [x21]
	ldp	x9, x8, [sp, #16]
	stp	x9, x8, [x21, #8]
	ldr	w8, [sp, #12]
	str	w8, [x21, #4]
LBB0_6:
	mov	w0, #1
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_F_PKEY_PSS_INIT,4,2        ; @RSA_F_PKEY_PSS_INIT
	.comm	_RSA_R_INVALID_SALT_LENGTH,4,2  ; @RSA_R_INVALID_SALT_LENGTH
	.no_dead_strip	_pkey_pss_init
.subsections_via_symbols
