	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsaparam_main                  ## -- Begin function dsaparam_main
	.p2align	4, 0x90
_dsaparam_main:                         ## @dsaparam_main
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -56(%rbp)
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movl	%eax, -52(%rbp)
	movq	_dsaparam_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_opt_init
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %rbx
	movq	_OPT_FMT_PEMDER@GOTPCREL(%rip), %r15
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_setup_engine
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%eax, %eax
	callq	_opt_next
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$12, %eax
	ja	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	$129, %edi
	callq	_opt_rand
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_29
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	callq	_opt_arg
	movl	(%r15), %esi
	movq	%rax, %rdi
	leaq	-52(%rbp), %rdx
	jmp	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r12
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	$1, -80(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	callq	_opt_arg
	movl	(%r15), %esi
	movq	%rax, %rdi
	leaq	-76(%rbp), %rdx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=2
	callq	_opt_format
	testl	%eax, %eax
	jne	LBB0_3
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r14
	jmp	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	$1, %r13d
	jmp	LBB0_3
LBB0_15:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	$1, %ecx
	xorl	%edi, %edi
	jmp	LBB0_32
LBB0_16:
	movq	_dsaparam_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opt_help
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	jmp	LBB0_32
LBB0_17:
	movl	%r13d, -96(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	callq	_opt_num_rest
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_opt_rest
	movl	$-1, %edx
	cmpl	$1, %r15d
	jne	LBB0_20
## %bb.18:
	movq	(%rax), %rdi
	leaq	-56(%rbp), %rsi
	callq	_opt_int
	movl	$1, %ecx
	testl	%eax, %eax
	je	LBB0_30
## %bb.19:
	movl	-56(%rbp), %edx
	movl	$0, %edi
	movl	$0, %r15d
	movl	$0, %r13d
	testl	%edx, %edx
	movl	$0, %ebx
	js	LBB0_34
LBB0_20:
	movl	%edx, %ebx
	movl	-76(%rbp), %edx
	movq	%r14, %rdi
	movl	$114, %esi
	callq	_bio_open_default
	testq	%rax, %rax
	je	LBB0_31
## %bb.21:
	movq	%rax, %r15
	movl	-52(%rbp), %esi
	movq	%r12, %rdi
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_bio_open_owner
	testq	%rax, %rax
	je	LBB0_35
## %bb.22:
	movq	%rax, %r14
	testl	%ebx, %ebx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_37
## %bb.23:
	movl	%ebx, %ecx
	movq	_OPENSSL_DSA_MAX_MODULUS_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edx, %ebx
	jle	LBB0_25
## %bb.24:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_25:
	xorl	%eax, %eax
	callq	_BN_GENCB_new
	testq	%rax, %rax
	je	LBB0_39
## %bb.26:
	movq	%rax, %rdi
	movq	_dsa_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%rdi, %r14
	callq	_BN_GENCB_set
	xorl	%eax, %eax
	callq	_DSA_new
	movl	(%rbx), %edi
	testq	%rax, %rax
	je	LBB0_52
## %bb.27:
	movq	%rax, %r13
	movl	-56(%rbp), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-56(%rbp), %esi
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, (%rsp)
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_DSA_generate_parameters_ex
	testl	%eax, %eax
	je	LBB0_61
## %bb.28:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_44
LBB0_29:
	movl	$1, %ecx
LBB0_30:
	xorl	%edi, %edi
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_31:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$1, %ecx
LBB0_32:
	xorl	%r15d, %r15d
LBB0_33:
	xorl	%r13d, %r13d
LBB0_34:
	movl	%ecx, %r14d
	callq	_BN_GENCB_free
	movq	%r15, %rdi
	callq	_BIO_free
	movq	%rbx, %rdi
	callq	_BIO_free_all
	movq	%r13, %rdi
	callq	_DSA_free
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_release_engine
	movl	%r14d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	xorl	%ebx, %ebx
LBB0_36:
	xorl	%edi, %edi
	jmp	LBB0_40
LBB0_37:
	movl	-76(%rbp), %eax
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_41
## %bb.38:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_d2i_DSAparams_bio
	jmp	LBB0_42
LBB0_39:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	xorl	%edi, %edi
	movq	%r14, %rbx
LBB0_40:
	movl	$1, %ecx
	jmp	LBB0_33
LBB0_41:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_DSAparams
LBB0_42:
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_53
## %bb.43:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_44:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_46
## %bb.45:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_DSAparams_print
LBB0_46:
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_48
## %bb.47:
	movq	$0, -88(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	leaq	-88(%rbp), %rsi
	leaq	-120(%rbp), %rdx
	leaq	-112(%rbp), %rcx
	movq	%r13, %rdi
	callq	_DSA_get0_pqg
	movq	-88(%rbp), %rdi
	callq	_BN_num_bytes
	movl	%eax, %ebx
	movq	-88(%rbp), %rdi
	callq	_BN_num_bits
	movl	%eax, %r12d
	addl	$20, %ebx
	leaq	L_.str.8(%rip), %rsi
	movl	%ebx, %edi
	callq	_app_malloc
	movq	%r15, %r14
	movq	%rax, %r15
	movq	_bio_out@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.9(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	movq	-88(%rbp), %rsi
	leaq	L_.str.10(%rip), %rdx
	movl	%r12d, %ecx
	movq	%r15, %r8
	callq	_print_bignum_var
	movl	(%rbx), %edi
	movq	-120(%rbp), %rsi
	leaq	L_.str.11(%rip), %rdx
	movl	%r12d, %ecx
	movq	%r15, %r8
	callq	_print_bignum_var
	movl	(%rbx), %edi
	movq	-112(%rbp), %rsi
	leaq	L_.str.12(%rip), %rdx
	movl	%r12d, %ecx
	movq	%r15, %r8
	callq	_print_bignum_var
	movl	(%rbx), %edi
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	leaq	L_.str.15(%rip), %rsi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	leaq	L_.str.16(%rip), %rsi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	leaq	L_.str.17(%rip), %rsi
	movl	%r12d, %edx
	movl	%r12d, %ecx
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	leaq	L_.str.18(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%r15, %rdi
	movq	%r14, %r15
	callq	_OPENSSL_free
LBB0_48:
	testl	%r12d, %r12d
	setne	%dl
	movl	-52(%rbp), %eax
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	sete	%bl
	andb	%dl, %bl
	cmpb	$1, %bl
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_56
## %bb.49:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_56
## %bb.50:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	cmpl	%ecx, %eax
	jne	LBB0_54
## %bb.51:
	callq	_i2d_DSAparams_bio
	jmp	LBB0_55
LBB0_52:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	$1, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdi
	jmp	LBB0_34
LBB0_53:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_ERR_print_errors
	jmp	LBB0_36
LBB0_54:
	callq	_PEM_write_bio_DSAparams
LBB0_55:
	testl	%eax, %eax
	je	LBB0_62
LBB0_56:
	movq	%r15, %r14
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	je	LBB0_65
## %bb.57:
	movq	%r13, %rdi
	callq	_DSAparams_dup
	testq	%rax, %rax
	je	LBB0_64
## %bb.58:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_DSA_generate_key
	testl	%eax, %eax
	je	LBB0_63
## %bb.59:
	movl	%r12d, %edi
	callq	_assert
	movl	-52(%rbp), %eax
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_66
## %bb.60:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_i2d_DSAPrivateKey_bio
	jmp	LBB0_67
LBB0_61:
	movl	(%rbx), %edi
	callq	_ERR_print_errors
	movl	(%rbx), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	$1, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_62:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.19(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	(%rbx), %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	callq	_ERR_print_errors
	movl	$1, %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_63:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_print_errors
	movq	%r15, %rdi
	callq	_DSA_free
LBB0_64:
	movl	$1, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_65:
	movq	%r14, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_66:
	movq	$0, (%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PEM_write_bio_DSAPrivateKey
LBB0_67:
	movq	%r15, %rdi
	callq	_DSA_free
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %r15
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	jmp	LBB0_34
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_1
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_FORMAT_PEM,4,2                 ## @FORMAT_PEM
	.comm	_dsaparam_options,4,2           ## @dsaparam_options
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Use -help for summary.\n"

	.comm	_OPT_FMT_PEMDER,4,2             ## @OPT_FMT_PEMDER
	.comm	_OPENSSL_DSA_MAX_MODULUS_BITS,4,2 ## @OPENSSL_DSA_MAX_MODULUS_BITS
L_.str.1:                               ## @.str.1
	.asciz	"Warning: It is not recommended to use more than %d bit for DSA keys.\n         Your key size is %d! Larger key size may behave not as expected.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error allocating BN_GENCB object\n"

	.comm	_dsa_cb,4,2                     ## @dsa_cb
L_.str.3:                               ## @.str.3
	.asciz	"Error allocating DSA object\n"

L_.str.4:                               ## @.str.4
	.asciz	"Generating DSA parameters, %d bit long prime\n"

L_.str.5:                               ## @.str.5
	.asciz	"This could take some time\n"

L_.str.6:                               ## @.str.6
	.asciz	"Error, DSA key generation failed\n"

	.comm	_FORMAT_ASN1,4,2                ## @FORMAT_ASN1
L_.str.7:                               ## @.str.7
	.asciz	"unable to load DSA parameters\n"

L_.str.8:                               ## @.str.8
	.asciz	"BN space"

	.comm	_bio_out,4,2                    ## @bio_out
L_.str.9:                               ## @.str.9
	.asciz	"static DSA *get_dsa%d(void)\n{\n"

L_.str.10:                              ## @.str.10
	.asciz	"dsap"

L_.str.11:                              ## @.str.11
	.asciz	"dsaq"

L_.str.12:                              ## @.str.12
	.asciz	"dsag"

L_.str.13:                              ## @.str.13
	.asciz	"    DSA *dsa = DSA_new();\n    BIGNUM *p, *q, *g;\n\n"

L_.str.14:                              ## @.str.14
	.asciz	"    if (dsa == NULL)\n        return NULL;\n"

L_.str.15:                              ## @.str.15
	.asciz	"    if (!DSA_set0_pqg(dsa, p = BN_bin2bn(dsap_%d, sizeof(dsap_%d), NULL),\n"

L_.str.16:                              ## @.str.16
	.asciz	"                           q = BN_bin2bn(dsaq_%d, sizeof(dsaq_%d), NULL),\n"

L_.str.17:                              ## @.str.17
	.asciz	"                           g = BN_bin2bn(dsag_%d, sizeof(dsag_%d), NULL))) {\n"

L_.str.18:                              ## @.str.18
	.asciz	"        DSA_free(dsa);\n        BN_free(p);\n        BN_free(q);\n        BN_free(g);\n        return NULL;\n    }\n    return dsa;\n}\n"

L_.str.19:                              ## @.str.19
	.asciz	"unable to write DSA parameters\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsaparam_main                  ; -- Begin function dsaparam_main
	.p2align	2
_dsaparam_main:                         ; @dsaparam_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	wzr, [sp, #76]
Lloh0:
	adrp	x8, _FORMAT_PEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_PEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w8, [sp, #68]
Lloh3:
	adrp	x8, _dsaparam_options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dsaparam_options@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_opt_init
	mov	x20, x0
	mov	w21, #0
	mov	w28, #0
	mov	w22, #0
	mov	w23, #0
	mov	x26, #0
	mov	x25, #0
	mov	x19, #0
Lloh6:
	adrp	x27, _OPT_FMT_PEMDER@GOTPAGE
Lloh7:
	ldr	x27, [x27, _OPT_FMT_PEMDER@GOTPAGEOFF]
Lloh8:
	adrp	x24, lJTI0_0@PAGE
Lloh9:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_opt_next
	sub	w8, w0, #128
	cmp	w8, #12
	b.hi	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, #1
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #129
	bl	_opt_rand
	cbnz	w0, LBB0_2
	b	LBB0_18
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	ldr	w1, [x27]
	add	x2, sp, #68
	bl	_opt_format
	cbnz	w0, LBB0_2
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x25, x0
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #1
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	ldr	w1, [x27]
	add	x2, sp, #72
	bl	_opt_format
	cbnz	w0, LBB0_2
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x26, x0
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	w1, #0
	bl	_setup_engine
	mov	x19, x0
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w22, #1
	b	LBB0_2
LBB0_13:
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
Lloh10:
	adrp	x8, _bio_err@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_printf
	b	LBB0_19
LBB0_14:
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
Lloh15:
	adrp	x8, _dsaparam_options@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dsaparam_options@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_opt_help
	mov	x24, #0
	mov	x0, #0
	mov	w19, #0
	mov	x27, #0
	mov	x20, #0
	b	LBB0_21
LBB0_15:
	bl	_opt_num_rest
	mov	x20, x0
	bl	_opt_rest
	cmp	w20, #1
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	b.ne	LBB0_22
; %bb.16:
	ldr	x0, [x0]
	add	x1, sp, #76
	bl	_opt_int
	mov	x24, #0
	mov	w19, #1
	cbz	w0, LBB0_33
; %bb.17:
	ldr	w8, [sp, #76]
	mov	x0, x24
	mov	x27, x24
	mov	x20, x24
	tbz	w8, #31, LBB0_23
	b	LBB0_21
LBB0_18:
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
LBB0_19:
	mov	x24, #0
	mov	x0, #0
	mov	x27, #0
LBB0_20:
	mov	x20, #0
	mov	w19, #1
LBB0_21:
	bl	_BN_GENCB_free
	mov	x0, x27
	bl	_BIO_free
	mov	x0, x24
	bl	_BIO_free_all
	mov	x0, x20
	bl	_DSA_free
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_release_engine
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_22:
	mov	w8, #-1
LBB0_23:
	mov	x19, x8
	ldr	w2, [sp, #72]
	mov	x0, x26
	mov	w1, #114
	bl	_bio_open_default
	mov	x27, x0
	cbz	x0, LBB0_32
; %bb.24:
	ldr	w1, [sp, #68]
	mov	x0, x25
	mov	x2, x21
	bl	_bio_open_owner
	mov	x24, x0
	cbz	x0, LBB0_20
; %bb.25:
	cmp	w19, #1
	b.lt	LBB0_34
; %bb.26:
Lloh18:
	adrp	x8, _OPENSSL_DSA_MAX_MODULUS_BITS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OPENSSL_DSA_MAX_MODULUS_BITS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w19, w8
	b.le	LBB0_28
; %bb.27:
Lloh21:
	adrp	x9, _bio_err@GOTPAGE
Lloh22:
	ldr	x9, [x9, _bio_err@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x9]
	stp	x8, x19, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
LBB0_28:
	bl	_BN_GENCB_new
	cbz	x0, LBB0_36
; %bb.29:
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
Lloh26:
	adrp	x8, _dsa_cb@GOTPAGE
Lloh27:
	ldr	x8, [x8, _dsa_cb@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x25, _bio_err@GOTPAGE
Lloh30:
	ldr	x25, [x25, _bio_err@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x26, x0
	bl	_BN_GENCB_set
	bl	_DSA_new
	mov	x20, x0
	ldr	w0, [x25]
	cbz	x20, LBB0_48
; %bb.30:
	ldr	w8, [sp, #76]
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x25]
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_BIO_printf
	ldr	w1, [sp, #76]
	mov	x0, x20
	mov	x2, #0
	mov	w3, #0
	mov	x4, #0
	mov	x5, #0
	str	x26, [sp, #16]                  ; 8-byte Folded Spill
	mov	x6, x26
	bl	_DSA_generate_parameters_ex
	cbnz	w0, LBB0_40
; %bb.31:
	ldr	w0, [x25]
	bl	_ERR_print_errors
	ldr	w0, [x25]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_BIO_printf
	mov	w19, #1
	b	LBB0_63
LBB0_32:
	mov	x24, #0
	b	LBB0_20
LBB0_33:
	mov	x0, x24
	mov	x27, x24
	mov	x20, x24
	b	LBB0_21
LBB0_34:
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
	ldr	w8, [sp, #72]
Lloh37:
	adrp	x9, _FORMAT_ASN1@GOTPAGE
Lloh38:
	ldr	x9, [x9, _FORMAT_ASN1@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	mov	x0, x27
	cmp	w8, w9
	b.ne	LBB0_37
; %bb.35:
	mov	x1, #0
	bl	_d2i_DSAparams_bio
	b	LBB0_38
LBB0_36:
Lloh40:
	adrp	x8, _bio_err@GOTPAGE
Lloh41:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_BIO_printf
	mov	x0, #0
	b	LBB0_20
LBB0_37:
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_DSAparams
LBB0_38:
	mov	x20, x0
	cbz	x0, LBB0_49
; %bb.39:
	str	xzr, [sp, #16]                  ; 8-byte Folded Spill
LBB0_40:
	cbz	w23, LBB0_42
; %bb.41:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_DSAparams_print
LBB0_42:
	cbz	w22, LBB0_44
; %bb.43:
	stp	xzr, xzr, [sp, #48]
	str	xzr, [sp, #40]
	add	x1, sp, #56
	add	x2, sp, #48
	add	x3, sp, #40
	mov	x0, x20
	bl	_DSA_get0_pqg
	ldr	x0, [sp, #56]
	bl	_BN_num_bytes
	mov	x25, x0
	ldr	x0, [sp, #56]
	bl	_BN_num_bits
	mov	x26, x0
	add	w0, w25, #20
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_app_malloc
	mov	x25, x0
Lloh47:
	adrp	x22, _bio_out@GOTPAGE
Lloh48:
	ldr	x22, [x22, _bio_out@GOTPAGEOFF]
	ldr	w0, [x22]
	str	x26, [sp]
Lloh49:
	adrp	x1, l_.str.9@PAGE
Lloh50:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x22]
	ldr	x1, [sp, #56]
Lloh51:
	adrp	x2, l_.str.10@PAGE
Lloh52:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x3, x26
	mov	x4, x25
	bl	_print_bignum_var
	ldr	w0, [x22]
	ldr	x1, [sp, #48]
Lloh53:
	adrp	x2, l_.str.11@PAGE
Lloh54:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x3, x26
	mov	x4, x25
	bl	_print_bignum_var
	ldr	w0, [x22]
	ldr	x1, [sp, #40]
Lloh55:
	adrp	x2, l_.str.12@PAGE
Lloh56:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x3, x26
	mov	x4, x25
	bl	_print_bignum_var
	ldr	w0, [x22]
Lloh57:
	adrp	x1, l_.str.13@PAGE
Lloh58:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x22]
Lloh59:
	adrp	x1, l_.str.14@PAGE
Lloh60:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x22]
	stp	x26, x26, [sp]
Lloh61:
	adrp	x1, l_.str.15@PAGE
Lloh62:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x22]
	stp	x26, x26, [sp]
Lloh63:
	adrp	x1, l_.str.16@PAGE
Lloh64:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x22]
	stp	x26, x26, [sp]
Lloh65:
	adrp	x1, l_.str.17@PAGE
Lloh66:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x22]
Lloh67:
	adrp	x1, l_.str.18@PAGE
Lloh68:
	add	x1, x1, l_.str.18@PAGEOFF
	bl	_BIO_printf
	mov	x0, x25
	bl	_OPENSSL_free
LBB0_44:
	cmp	w21, #0
	ldr	w8, [sp, #68]
Lloh69:
	adrp	x22, _FORMAT_ASN1@GOTPAGE
Lloh70:
	ldr	x22, [x22, _FORMAT_ASN1@GOTPAGEOFF]
	ldr	w9, [x22]
	ccmp	w8, w9, #0, ne
	b.eq	LBB0_52
; %bb.45:
	cbnz	w28, LBB0_52
; %bb.46:
	cmp	w8, w9
	b.ne	LBB0_50
; %bb.47:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_i2d_DSAparams_bio
	b	LBB0_51
LBB0_48:
Lloh71:
	adrp	x1, l_.str.3@PAGE
Lloh72:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BIO_printf
	mov	w19, #1
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x26
	b	LBB0_21
LBB0_49:
Lloh73:
	adrp	x20, _bio_err@GOTPAGE
Lloh74:
	ldr	x20, [x20, _bio_err@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh75:
	adrp	x1, l_.str.7@PAGE
Lloh76:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x20]
	bl	_ERR_print_errors
	mov	x0, #0
	mov	x20, #0
	mov	w19, #1
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_21
LBB0_50:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_PEM_write_bio_DSAparams
LBB0_51:
	cbz	w0, LBB0_57
LBB0_52:
	cbz	w21, LBB0_62
; %bb.53:
	mov	x0, x20
	bl	_DSAparams_dup
	cbz	x0, LBB0_58
; %bb.54:
	mov	x25, x0
	bl	_DSA_generate_key
	cbz	w0, LBB0_59
; %bb.55:
	mov	x0, x21
	bl	_assert
	ldr	w8, [sp, #68]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_60
; %bb.56:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x25
	bl	_i2d_DSAPrivateKey_bio
	b	LBB0_61
LBB0_57:
Lloh77:
	adrp	x21, _bio_err@GOTPAGE
Lloh78:
	ldr	x21, [x21, _bio_err@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh79:
	adrp	x1, l_.str.19@PAGE
Lloh80:
	add	x1, x1, l_.str.19@PAGEOFF
	bl	_BIO_printf
	ldr	w0, [x21]
	bl	_ERR_print_errors
LBB0_58:
	mov	w19, #1
	b	LBB0_63
LBB0_59:
Lloh81:
	adrp	x8, _bio_err@GOTPAGE
Lloh82:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	bl	_ERR_print_errors
	mov	x0, x25
	bl	_DSA_free
	mov	w19, #1
	b	LBB0_63
LBB0_60:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, #0
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	mov	x6, #0
	bl	_PEM_write_bio_DSAPrivateKey
LBB0_61:
	mov	x0, x25
	bl	_DSA_free
LBB0_62:
	mov	w19, #0
LBB0_63:
	ldp	x0, x24, [sp, #16]              ; 16-byte Folded Reload
	b	LBB0_21
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
                                        ; -- End function
	.comm	_FORMAT_PEM,4,2                 ; @FORMAT_PEM
	.comm	_dsaparam_options,4,2           ; @dsaparam_options
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Use -help for summary.\n"

	.comm	_OPT_FMT_PEMDER,4,2             ; @OPT_FMT_PEMDER
	.comm	_OPENSSL_DSA_MAX_MODULUS_BITS,4,2 ; @OPENSSL_DSA_MAX_MODULUS_BITS
l_.str.1:                               ; @.str.1
	.asciz	"Warning: It is not recommended to use more than %d bit for DSA keys.\n         Your key size is %d! Larger key size may behave not as expected.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error allocating BN_GENCB object\n"

	.comm	_dsa_cb,4,2                     ; @dsa_cb
l_.str.3:                               ; @.str.3
	.asciz	"Error allocating DSA object\n"

l_.str.4:                               ; @.str.4
	.asciz	"Generating DSA parameters, %d bit long prime\n"

l_.str.5:                               ; @.str.5
	.asciz	"This could take some time\n"

l_.str.6:                               ; @.str.6
	.asciz	"Error, DSA key generation failed\n"

	.comm	_FORMAT_ASN1,4,2                ; @FORMAT_ASN1
l_.str.7:                               ; @.str.7
	.asciz	"unable to load DSA parameters\n"

l_.str.8:                               ; @.str.8
	.asciz	"BN space"

	.comm	_bio_out,4,2                    ; @bio_out
l_.str.9:                               ; @.str.9
	.asciz	"static DSA *get_dsa%d(void)\n{\n"

l_.str.10:                              ; @.str.10
	.asciz	"dsap"

l_.str.11:                              ; @.str.11
	.asciz	"dsaq"

l_.str.12:                              ; @.str.12
	.asciz	"dsag"

l_.str.13:                              ; @.str.13
	.asciz	"    DSA *dsa = DSA_new();\n    BIGNUM *p, *q, *g;\n\n"

l_.str.14:                              ; @.str.14
	.asciz	"    if (dsa == NULL)\n        return NULL;\n"

l_.str.15:                              ; @.str.15
	.asciz	"    if (!DSA_set0_pqg(dsa, p = BN_bin2bn(dsap_%d, sizeof(dsap_%d), NULL),\n"

l_.str.16:                              ; @.str.16
	.asciz	"                           q = BN_bin2bn(dsaq_%d, sizeof(dsaq_%d), NULL),\n"

l_.str.17:                              ; @.str.17
	.asciz	"                           g = BN_bin2bn(dsag_%d, sizeof(dsag_%d), NULL))) {\n"

l_.str.18:                              ; @.str.18
	.asciz	"        DSA_free(dsa);\n        BN_free(p);\n        BN_free(q);\n        BN_free(g);\n        return NULL;\n    }\n    return dsa;\n}\n"

l_.str.19:                              ; @.str.19
	.asciz	"unable to write DSA parameters\n"

.subsections_via_symbols
