	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsa_pss_params_create          ## -- Begin function rsa_pss_params_create
	.p2align	4, 0x90
_rsa_pss_params_create:                 ## @rsa_pss_params_create
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_RSA_PSS_PARAMS_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	cmpl	$20, %r12d
	je	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	callq	_ASN1_INTEGER_new
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_ASN1_INTEGER_set
	testl	%eax, %eax
	je	LBB0_7
LBB0_4:
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_rsa_md_to_algor
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	testq	%r15, %r15
	cmovneq	%r15, %r14
	movq	%rbx, %rdi
	addq	$4, %rdi
	movq	%r14, %rsi
	callq	_rsa_md_to_mgf1
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rsa_md_to_algor
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_RSA_PSS_PARAMS_free
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rsa_pss_params_create          ; -- Begin function rsa_pss_params_create
	.p2align	2
_rsa_pss_params_create:                 ; @rsa_pss_params_create
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	bl	_RSA_PSS_PARAMS_new
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.1:
	cmp	w22, #20
	b.eq	LBB0_4
; %bb.2:
	bl	_ASN1_INTEGER_new
	str	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.3:
	mov	x1, x22
	bl	_ASN1_INTEGER_set
	cbz	w0, LBB0_7
LBB0_4:
	add	x0, x19, #8
	mov	x1, x21
	bl	_rsa_md_to_algor
	cbz	w0, LBB0_7
; %bb.5:
	cmp	x20, #0
	csel	x20, x21, x20, eq
	add	x0, x19, #4
	mov	x1, x20
	bl	_rsa_md_to_mgf1
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_rsa_md_to_algor
	cbnz	w0, LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_RSA_PSS_PARAMS_free
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
