	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSA_generate_parameters_ex     ## -- Begin function DSA_generate_parameters_ex
	.p2align	4, 0x90
_DSA_generate_parameters_ex:            ## @DSA_generate_parameters_ex
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	cmpl	$2048, %ebx                     ## imm = 0x800
	jl	LBB0_3
## %bb.2:
	callq	_EVP_sha256
	jmp	LBB0_4
LBB0_3:
	callq	_EVP_sha1
LBB0_4:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_EVP_MD_size
	shll	$3, %eax
	movslq	%eax, %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r15, %rcx
	movq	%r13, %r8
	movl	%r12d, %r9d
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	$0
	callq	_dsa_builtin_paramgen
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_DSA_generate_parameters_ex     ; -- Begin function DSA_generate_parameters_ex
	.p2align	2
_DSA_generate_parameters_ex:            ; @DSA_generate_parameters_ex
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x6
	mov	x23, x5
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x24, x1
	mov	x25, x0
	ldr	x8, [x0]
	ldr	x7, [x8]
	cbz	x7, LBB0_2
; %bb.1:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x22
	mov	x3, x20
	mov	x4, x19
	mov	x5, x23
	mov	x6, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	br	x7
LBB0_2:
	cmp	w24, #2048
	b.lt	LBB0_4
; %bb.3:
	bl	_EVP_sha256
	b	LBB0_5
LBB0_4:
	bl	_EVP_sha1
LBB0_5:
	mov	x26, x0
	bl	_EVP_MD_size
	lsl	w8, w0, #3
	sxtw	x2, w8
	stp	x23, x21, [sp]
	mov	x0, x25
	mov	x1, x24
	mov	x3, x26
	mov	x4, x22
	mov	x5, x20
	mov	x6, #0
	mov	x7, x19
	bl	_dsa_builtin_paramgen
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
