	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dhparam_main                   ## -- Begin function dhparam_main
	.p2align	4, 0x90
_dhparam_main:                          ## @dhparam_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, -48(%rbp)
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	%eax, -60(%rbp)
	movq	_dhparam_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_opt_init
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	LJTI0_0(%rip), %r13
	movq	_OPT_FMT_PEMDER@GOTPCREL(%rip), %rbx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_opt_next
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$15, %eax
	ja	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -76(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$129, %edi
	callq	_opt_rand
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_19
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movl	(%rbx), %esi
	movq	%rax, %rdi
	leaq	-60(%rbp), %rdx
	jmp	LBB0_5
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %r12
	jmp	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movl	(%rbx), %esi
	movq	%rax, %rdi
	leaq	-64(%rbp), %rdx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_opt_format
	testl	%eax, %eax
	jne	LBB0_1
	jmp	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_setup_engine
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_1
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r15d
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -80(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$5, %r14d
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$2, %r14d
	jmp	LBB0_1
LBB0_6:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_31:
	movl	$1, %ebx
	jmp	LBB0_32
LBB0_3:
	movq	_dhparam_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opt_help
	xorl	%ebx, %ebx
LBB0_35:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_32:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	jmp	LBB0_111
LBB0_21:
	xorl	%eax, %eax
	callq	_opt_num_rest
	xorl	%eax, %eax
	callq	_opt_rest
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_25
## %bb.22:
	leaq	-48(%rbp), %rsi
	callq	_opt_int
	testl	%eax, %eax
	je	LBB0_23
## %bb.24:
	cmpl	$0, -48(%rbp)
	movl	$0, %r13d
	movl	$0, %edi
	movl	$1, %ebx
	movl	$0, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jg	LBB0_28
	jmp	LBB0_111
LBB0_19:
	movl	$1, %ebx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
LBB0_20:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_111:
	callq	_BIO_free
	movq	%r13, %rdi
	callq	_BIO_free_all
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_DH_free
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_release_engine
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	testl	%r14d, %r14d
	je	LBB0_28
## %bb.26:
	cmpl	$0, -48(%rbp)
	jne	LBB0_28
## %bb.27:
	movq	_DEFBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
LBB0_28:
	testl	%r15d, %r15d
	je	LBB0_33
## %bb.29:
	testl	%r14d, %r14d
	je	LBB0_33
## %bb.30:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_31
LBB0_33:
	movl	-60(%rbp), %edx
	movq	%r12, %rdi
	movl	$119, %esi
	callq	_bio_open_default
	testq	%rax, %rax
	je	LBB0_34
## %bb.36:
	movq	%rax, %r13
	testl	%r14d, %r14d
	movl	$2, %r12d
	cmovnel	%r14d, %r12d
	cmpl	$0, -48(%rbp)
	cmovel	%r14d, %r12d
	je	LBB0_49
## %bb.37:
	xorl	%eax, %eax
	callq	_BN_GENCB_new
	testq	%rax, %rax
	je	LBB0_38
## %bb.39:
	movq	%rax, %r14
	movq	_dh_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	%r14, %rdi
	callq	_BN_GENCB_set
	xorl	%eax, %eax
	testl	%r15d, %r15d
	je	LBB0_46
## %bb.40:
	callq	_DSA_new
	movq	%rax, %r15
	movq	(%rbx), %rdi
	movl	-48(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%r15, %r15
	je	LBB0_42
## %bb.41:
	movl	-48(%rbp), %esi
	movq	%r14, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_DSA_generate_parameters_ex
	testl	%eax, %eax
	je	LBB0_42
## %bb.43:
	movq	%rbx, %r12
	movq	%r15, %rdi
	callq	_DSA_dup_DH
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_DSA_free
	movq	%rbx, %r15
	testq	%rbx, %rbx
	jne	LBB0_68
## %bb.44:
	movq	%r14, %rdi
	callq	_BN_GENCB_free
	movq	(%r12), %rdi
	jmp	LBB0_45
LBB0_23:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	movl	$1, %ebx
	jmp	LBB0_20
LBB0_34:
	movl	$1, %ebx
	jmp	LBB0_35
LBB0_49:
	movl	-64(%rbp), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	$114, %esi
	callq	_bio_open_default
	testq	%rax, %rax
	je	LBB0_50
## %bb.51:
	movq	%rax, %r12
	movl	-64(%rbp), %eax
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r15d, %r15d
	je	LBB0_60
## %bb.52:
	movq	%r12, %rdi
	xorl	%esi, %esi
	cmpl	%ecx, %eax
	jne	LBB0_54
## %bb.53:
	callq	_d2i_DSAparams_bio
	jmp	LBB0_55
LBB0_38:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ERR_print_errors
LBB0_50:
	movl	$1, %ebx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	jmp	LBB0_111
LBB0_42:
	movq	%r15, %rdi
	callq	_DSA_free
	movq	%r14, %rdi
	callq	_BN_GENCB_free
	movq	(%rbx), %rdi
LBB0_45:
	callq	_ERR_print_errors
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	movl	$1, %ebx
	jmp	LBB0_111
LBB0_46:
	callq	_DH_new
	movq	%rax, %r15
	movq	(%rbx), %rdi
	movl	-48(%rbp), %edx
	leaq	L_.str.3(%rip), %rsi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%r15, %r15
	je	LBB0_48
## %bb.47:
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_DH_generate_parameters_ex
	testl	%eax, %eax
	je	LBB0_48
LBB0_68:
	movq	%r14, %rdi
	callq	_BN_GENCB_free
	xorl	%r12d, %r12d
	movq	%r15, %rbx
	jmp	LBB0_69
LBB0_48:
	movq	%r14, %rdi
	callq	_BN_GENCB_free
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ERR_print_errors
	xorl	%edi, %edi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	jmp	LBB0_111
LBB0_60:
	cmpl	%ecx, %eax
	jne	LBB0_65
## %bb.61:
	movq	%r12, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_d2i_DHparams_bio
	testq	%rax, %rax
	je	LBB0_63
## %bb.62:
	movq	%rax, %rcx
	movq	%rax, %rbx
	jmp	LBB0_69
LBB0_54:
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_DSAparams
LBB0_55:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_56
## %bb.58:
	movq	%r14, %rdi
	callq	_DSA_dup_DH
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_DSA_free
	testq	%rbx, %rbx
	jne	LBB0_69
## %bb.59:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_ERR_print_errors
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_109
LBB0_56:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_57
LBB0_65:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_DHparams
LBB0_66:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_67
LBB0_69:
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_71
## %bb.70:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_DHparams_print
LBB0_71:
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_93
## %bb.72:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_DH_check
	testl	%eax, %eax
	je	LBB0_73
## %bb.74:
	movl	-44(%rbp), %eax
	movq	_DH_CHECK_P_NOT_PRIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_76
## %bb.75:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_76:
	movq	_DH_CHECK_P_NOT_SAFE_PRIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_78
## %bb.77:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_78:
	movq	_DH_CHECK_Q_NOT_PRIME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_80
## %bb.79:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_80:
	movq	_DH_CHECK_INVALID_Q_VALUE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_82
## %bb.81:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_82:
	movq	_DH_CHECK_INVALID_J_VALUE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_84
## %bb.83:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_84:
	movq	_DH_UNABLE_TO_CHECK_GENERATOR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_86
## %bb.85:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_86:
	movq	_DH_NOT_SUITABLE_GENERATOR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_88
## %bb.87:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.13(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_88:
	testl	%eax, %eax
	jne	LBB0_90
## %bb.89:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movl	-44(%rbp), %eax
LBB0_90:
	cmpl	$0, -48(%rbp)
	je	LBB0_93
## %bb.91:
	testl	%eax, %eax
	je	LBB0_93
## %bb.92:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.15(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_109
LBB0_93:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_97
## %bb.94:
	movq	%rbx, %rdi
	callq	_DH_size
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_DH_bits
	movl	%eax, %r15d
	leaq	-88(%rbp), %rsi
	leaq	-120(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_DH_get0_pqg
	leaq	L_.str.16(%rip), %rsi
	movl	%r14d, %edi
	callq	_app_malloc
	movq	%rax, %r14
	leaq	L_.str.17(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	-88(%rbp), %rsi
	leaq	L_.str.18(%rip), %rdx
	movq	%r13, %rdi
	movl	%r15d, %ecx
	movq	%r14, %r8
	callq	_print_bignum_var
	movq	-120(%rbp), %rsi
	leaq	L_.str.19(%rip), %rdx
	movq	%r13, %rdi
	movl	%r15d, %ecx
	movq	%r14, %r8
	callq	_print_bignum_var
	leaq	L_.str.20(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
	leaq	L_.str.21(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
	leaq	L_.str.22(%rip), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_BIO_printf
	leaq	L_.str.23(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%rbx, %rdi
	callq	_DH_get_length
	testl	%eax, %eax
	jle	LBB0_96
## %bb.95:
	movq	%rbx, %rdi
	callq	_DH_get_length
	leaq	L_.str.24(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_96:
	leaq	L_.str.25(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%r14, %rdi
	callq	_OPENSSL_free
LBB0_97:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_106
## %bb.98:
	leaq	-88(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_DH_get0_pqg
	movl	-60(%rbp), %ecx
	movq	_FORMAT_ASN1@GOTPCREL(%rip), %rdx
	movq	-88(%rbp), %rax
	cmpl	(%rdx), %ecx
	jne	LBB0_102
## %bb.99:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_101
## %bb.100:
	callq	_i2d_DHxparams_bio
	jmp	LBB0_105
LBB0_73:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_108
LBB0_102:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	testq	%rax, %rax
	je	LBB0_104
## %bb.103:
	callq	_PEM_write_bio_DHxparams
	jmp	LBB0_105
LBB0_63:
	movq	%rbx, %rdi
	callq	_BIO_reset
	testq	%rax, %rax
	je	LBB0_64
LBB0_67:
	movq	_bio_err@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	leaq	L_.str.6(%rip), %rsi
LBB0_57:
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	(%rbx), %rdi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_108:
	callq	_ERR_print_errors
LBB0_109:
	movl	$1, %ebx
	jmp	LBB0_110
LBB0_101:
	callq	_i2d_DHparams_bio
	jmp	LBB0_105
LBB0_104:
	callq	_PEM_write_bio_DHparams
LBB0_105:
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_107
LBB0_106:
	xorl	%ebx, %ebx
LBB0_110:
	movq	%r12, %rdi
	jmp	LBB0_111
LBB0_107:
	movq	_bio_err@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	leaq	L_.str.26(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	(%r14), %rdi
	jmp	LBB0_108
LBB0_64:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_d2i_DHxparams_bio
	jmp	LBB0_66
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_18
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_17
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_21
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_FORMAT_PEM,4,2                 ## @FORMAT_PEM
	.comm	_dhparam_options,4,2            ## @dhparam_options
	.comm	_bio_err,8,3                    ## @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	_DEFBITS,4,2                    ## @DEFBITS
L_.str.1:                               ## @.str.1
	.asciz	"generator may not be chosen for DSA parameters\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"Generating DH parameters, %d bit long safe prime, generator %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"This is going to take a long time\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"unable to load DH parameters\n"

	.comm	_DH_CHECK_P_NOT_PRIME,4,2       ## @DH_CHECK_P_NOT_PRIME
L_.str.7:                               ## @.str.7
	.asciz	"WARNING: p value is not prime\n"

	.comm	_DH_CHECK_P_NOT_SAFE_PRIME,4,2  ## @DH_CHECK_P_NOT_SAFE_PRIME
L_.str.8:                               ## @.str.8
	.asciz	"WARNING: p value is not a safe prime\n"

	.comm	_DH_CHECK_Q_NOT_PRIME,4,2       ## @DH_CHECK_Q_NOT_PRIME
L_.str.9:                               ## @.str.9
	.asciz	"WARNING: q value is not a prime\n"

	.comm	_DH_CHECK_INVALID_Q_VALUE,4,2   ## @DH_CHECK_INVALID_Q_VALUE
L_.str.10:                              ## @.str.10
	.asciz	"WARNING: q value is invalid\n"

	.comm	_DH_CHECK_INVALID_J_VALUE,4,2   ## @DH_CHECK_INVALID_J_VALUE
L_.str.11:                              ## @.str.11
	.asciz	"WARNING: j value is invalid\n"

	.comm	_DH_UNABLE_TO_CHECK_GENERATOR,4,2 ## @DH_UNABLE_TO_CHECK_GENERATOR
L_.str.12:                              ## @.str.12
	.asciz	"WARNING: unable to check the generator value\n"

	.comm	_DH_NOT_SUITABLE_GENERATOR,4,2  ## @DH_NOT_SUITABLE_GENERATOR
L_.str.13:                              ## @.str.13
	.asciz	"WARNING: the g value is not a generator\n"

L_.str.14:                              ## @.str.14
	.asciz	"DH parameters appear to be ok.\n"

L_.str.15:                              ## @.str.15
	.asciz	"ERROR: Invalid parameters generated\n"

L_.str.16:                              ## @.str.16
	.asciz	"print a BN"

L_.str.17:                              ## @.str.17
	.asciz	"static DH *get_dh%d(void)\n{\n"

L_.str.18:                              ## @.str.18
	.asciz	"dhp"

L_.str.19:                              ## @.str.19
	.asciz	"dhg"

L_.str.20:                              ## @.str.20
	.asciz	"    DH *dh = DH_new();\n    BIGNUM *p, *g;\n\n    if (dh == NULL)\n        return NULL;\n"

L_.str.21:                              ## @.str.21
	.asciz	"    p = BN_bin2bn(dhp_%d, sizeof(dhp_%d), NULL);\n"

L_.str.22:                              ## @.str.22
	.asciz	"    g = BN_bin2bn(dhg_%d, sizeof(dhg_%d), NULL);\n"

L_.str.23:                              ## @.str.23
	.asciz	"    if (p == NULL || g == NULL\n            || !DH_set0_pqg(dh, p, NULL, g)) {\n        DH_free(dh);\n        BN_free(p);\n        BN_free(g);\n        return NULL;\n    }\n"

L_.str.24:                              ## @.str.24
	.asciz	"    if (!DH_set_length(dh, %ld)) {\n        DH_free(dh);\n        return NULL;\n    }\n"

L_.str.25:                              ## @.str.25
	.asciz	"    return dh;\n}\n"

L_.str.26:                              ## @.str.26
	.asciz	"unable to write DH parameters\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dhparam_main                   ; -- Begin function dhparam_main
	.p2align	2
_dhparam_main:                          ; @dhparam_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, #56]
Lloh0:
	adrp	x8, _FORMAT_PEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FORMAT_PEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w8, [sp, #48]
Lloh3:
	adrp	x8, _dhparam_options@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dhparam_options@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_opt_init
	stp	x0, xzr, [sp, #16]              ; 16-byte Folded Spill
	mov	x20, #0
	mov	x21, #0
	mov	w28, #0
	mov	w27, #0
	mov	w24, #0
	mov	w23, #0
	mov	w26, #0
	mov	w25, #0
Lloh6:
	adrp	x22, _OPT_FMT_PEMDER@GOTPAGE
Lloh7:
	ldr	x22, [x22, _OPT_FMT_PEMDER@GOTPAGEOFF]
Lloh8:
	adrp	x19, lJTI0_0@PAGE
Lloh9:
	add	x19, x19, lJTI0_0@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_opt_next
	sub	w8, w0, #128
	cmp	w8, #15
	b.hi	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x19, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #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, [x22]
	add	x2, sp, #48
	bl	_opt_format
	cbnz	w0, LBB0_2
	b	LBB0_16
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x20, x0
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	ldr	w1, [x22]
	add	x2, sp, #52
	bl	_opt_format
	cbnz	w0, LBB0_2
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	x21, x0
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_opt_arg
	mov	w1, #0
	bl	_setup_engine
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #1
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #1
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w24, #1
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, #5
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w23, #2
	b	LBB0_2
LBB0_16:
Lloh10:
	adrp	x8, _bio_err@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
LBB0_17:
	bl	_BIO_printf
LBB0_18:
	mov	x22, #0
	mov	x20, #0
LBB0_19:
	mov	x21, #0
LBB0_20:
	mov	w23, #1
LBB0_21:
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
LBB0_22:
	mov	x0, x21
	bl	_BIO_free
	mov	x0, x20
	bl	_BIO_free_all
	mov	x0, x22
	bl	_DH_free
	mov	x0, x24
	bl	_release_engine
	mov	x0, x23
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_23:
Lloh15:
	adrp	x8, _dhparam_options@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dhparam_options@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_opt_help
	mov	w23, #0
	mov	x22, #0
	mov	x20, #0
	mov	x21, #0
	b	LBB0_21
LBB0_24:
	bl	_opt_num_rest
	bl	_opt_rest
	ldr	x0, [x0]
	cbz	x0, LBB0_26
; %bb.25:
	add	x1, sp, #56
	bl	_opt_int
	ldr	w8, [sp, #56]
	cmp	w0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_18
	b	LBB0_29
LBB0_26:
	cbz	w23, LBB0_29
; %bb.27:
	ldr	w8, [sp, #56]
	cbnz	w8, LBB0_29
; %bb.28:
Lloh18:
	adrp	x8, _DEFBITS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DEFBITS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [sp, #56]
LBB0_29:
	cbz	w28, LBB0_32
; %bb.30:
	cbz	w23, LBB0_32
; %bb.31:
Lloh21:
	adrp	x8, _bio_err@GOTPAGE
Lloh22:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_32:
	ldr	w2, [sp, #48]
	mov	x0, x20
	mov	w1, #119
	bl	_bio_open_default
	mov	x20, x0
	cbz	x0, LBB0_45
; %bb.33:
	cmp	w23, #0
	ldr	w8, [sp, #56]
	ccmp	w8, #0, #4, eq
	mov	w9, #2
	csel	w23, w23, w9, eq
	cbz	w8, LBB0_39
; %bb.34:
	bl	_BN_GENCB_new
	mov	x21, x0
	cbz	x0, LBB0_43
; %bb.35:
Lloh26:
	adrp	x8, _dh_cb@GOTPAGE
Lloh27:
	ldr	x8, [x8, _dh_cb@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x19, _bio_err@GOTPAGE
Lloh30:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	x2, [x19]
	mov	x0, x21
	bl	_BN_GENCB_set
	cbz	w28, LBB0_46
; %bb.36:
	bl	_DSA_new
	mov	x23, x0
	ldr	x0, [x19]
	ldr	w8, [sp, #56]
	str	x8, [sp]
Lloh31:
	adrp	x1, l_.str.2@PAGE
Lloh32:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_BIO_printf
	cbz	x23, LBB0_44
; %bb.37:
	ldr	w1, [sp, #56]
	mov	x0, x23
	mov	x2, #0
	mov	w3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, x21
	bl	_DSA_generate_parameters_ex
	cbz	w0, LBB0_44
; %bb.38:
	mov	x0, x23
	bl	_DSA_dup_DH
	mov	x22, x0
	mov	x0, x23
	bl	_DSA_free
	cbnz	x22, LBB0_48
	b	LBB0_50
LBB0_39:
	ldr	w2, [sp, #52]
	mov	x0, x21
	mov	w1, #114
	bl	_bio_open_default
	mov	x21, x0
	cbz	x0, LBB0_49
; %bb.40:
	ldr	w8, [sp, #52]
Lloh33:
	adrp	x9, _FORMAT_ASN1@GOTPAGE
Lloh34:
	ldr	x9, [x9, _FORMAT_ASN1@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	x0, x21
	mov	x1, #0
	cbz	w28, LBB0_51
; %bb.41:
	b.ne	LBB0_54
; %bb.42:
	bl	_d2i_DSAparams_bio
	b	LBB0_55
LBB0_43:
Lloh36:
	adrp	x8, _bio_err@GOTPAGE
Lloh37:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh38:
	ldr	x0, [x8]
	b	LBB0_97
LBB0_44:
	mov	x0, x23
	bl	_DSA_free
	mov	x0, x21
	bl	_BN_GENCB_free
	ldr	x0, [x19]
	bl	_ERR_print_errors
LBB0_45:
	mov	x22, #0
	b	LBB0_19
LBB0_46:
	bl	_DH_new
	mov	x22, x0
	ldr	x0, [x19]
	ldr	w8, [sp, #56]
	stp	x8, x23, [sp]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_BIO_printf
	ldr	x0, [x19]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_BIO_printf
	cbz	x22, LBB0_50
; %bb.47:
	ldr	w1, [sp, #56]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x21
	bl	_DH_generate_parameters_ex
	cbz	w0, LBB0_50
LBB0_48:
	mov	x0, x21
	bl	_BN_GENCB_free
	mov	x21, #0
	b	LBB0_59
LBB0_49:
	mov	x22, #0
	b	LBB0_20
LBB0_50:
	mov	x0, x21
	bl	_BN_GENCB_free
	ldr	x0, [x19]
	bl	_ERR_print_errors
	b	LBB0_19
LBB0_51:
	b.ne	LBB0_58
; %bb.52:
	bl	_d2i_DHparams_bio
	cbz	x0, LBB0_93
; %bb.53:
	mov	x22, x0
	b	LBB0_59
LBB0_54:
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_DSAparams
LBB0_55:
	mov	x23, x0
	cbz	x0, LBB0_57
; %bb.56:
	mov	x0, x23
	bl	_DSA_dup_DH
	mov	x22, x0
	mov	x0, x23
	bl	_DSA_free
	cbnz	x22, LBB0_59
	b	LBB0_90
LBB0_57:
Lloh43:
	adrp	x19, _bio_err@GOTPAGE
Lloh44:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh45:
	adrp	x1, l_.str.5@PAGE
Lloh46:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_96
LBB0_58:
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_DHparams
	mov	x22, x0
	cbz	x0, LBB0_95
LBB0_59:
	cbz	w27, LBB0_61
; %bb.60:
	mov	x0, x20
	mov	x1, x22
	bl	_DHparams_print
LBB0_61:
	cbz	w26, LBB0_82
; %bb.62:
	add	x1, sp, #60
	mov	x0, x22
	bl	_DH_check
	cbz	w0, LBB0_90
; %bb.63:
	ldr	w8, [sp, #60]
Lloh47:
	adrp	x9, _DH_CHECK_P_NOT_PRIME@GOTPAGE
Lloh48:
	ldr	x9, [x9, _DH_CHECK_P_NOT_PRIME@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_65
; %bb.64:
Lloh50:
	adrp	x8, _bio_err@GOTPAGE
Lloh51:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh52:
	ldr	x0, [x8]
Lloh53:
	adrp	x1, l_.str.7@PAGE
Lloh54:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_65:
Lloh55:
	adrp	x9, _DH_CHECK_P_NOT_SAFE_PRIME@GOTPAGE
Lloh56:
	ldr	x9, [x9, _DH_CHECK_P_NOT_SAFE_PRIME@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_67
; %bb.66:
Lloh58:
	adrp	x8, _bio_err@GOTPAGE
Lloh59:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh60:
	ldr	x0, [x8]
Lloh61:
	adrp	x1, l_.str.8@PAGE
Lloh62:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_67:
Lloh63:
	adrp	x9, _DH_CHECK_Q_NOT_PRIME@GOTPAGE
Lloh64:
	ldr	x9, [x9, _DH_CHECK_Q_NOT_PRIME@GOTPAGEOFF]
Lloh65:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_69
; %bb.68:
Lloh66:
	adrp	x8, _bio_err@GOTPAGE
Lloh67:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh68:
	ldr	x0, [x8]
Lloh69:
	adrp	x1, l_.str.9@PAGE
Lloh70:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_69:
Lloh71:
	adrp	x9, _DH_CHECK_INVALID_Q_VALUE@GOTPAGE
Lloh72:
	ldr	x9, [x9, _DH_CHECK_INVALID_Q_VALUE@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_71
; %bb.70:
Lloh74:
	adrp	x8, _bio_err@GOTPAGE
Lloh75:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh76:
	ldr	x0, [x8]
Lloh77:
	adrp	x1, l_.str.10@PAGE
Lloh78:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_71:
Lloh79:
	adrp	x9, _DH_CHECK_INVALID_J_VALUE@GOTPAGE
Lloh80:
	ldr	x9, [x9, _DH_CHECK_INVALID_J_VALUE@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_73
; %bb.72:
Lloh82:
	adrp	x8, _bio_err@GOTPAGE
Lloh83:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh84:
	ldr	x0, [x8]
Lloh85:
	adrp	x1, l_.str.11@PAGE
Lloh86:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_73:
Lloh87:
	adrp	x9, _DH_UNABLE_TO_CHECK_GENERATOR@GOTPAGE
Lloh88:
	ldr	x9, [x9, _DH_UNABLE_TO_CHECK_GENERATOR@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_75
; %bb.74:
Lloh90:
	adrp	x8, _bio_err@GOTPAGE
Lloh91:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh92:
	ldr	x0, [x8]
Lloh93:
	adrp	x1, l_.str.12@PAGE
Lloh94:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_75:
Lloh95:
	adrp	x9, _DH_NOT_SUITABLE_GENERATOR@GOTPAGE
Lloh96:
	ldr	x9, [x9, _DH_NOT_SUITABLE_GENERATOR@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_77
; %bb.76:
Lloh98:
	adrp	x8, _bio_err@GOTPAGE
Lloh99:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh100:
	ldr	x0, [x8]
Lloh101:
	adrp	x1, l_.str.13@PAGE
Lloh102:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_77:
	cbnz	w8, LBB0_79
; %bb.78:
Lloh103:
	adrp	x8, _bio_err@GOTPAGE
Lloh104:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh105:
	ldr	x0, [x8]
Lloh106:
	adrp	x1, l_.str.14@PAGE
Lloh107:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_BIO_printf
	ldr	w8, [sp, #60]
LBB0_79:
	ldr	w9, [sp, #56]
	cbz	w9, LBB0_82
; %bb.80:
	cbz	w8, LBB0_82
; %bb.81:
Lloh108:
	adrp	x8, _bio_err@GOTPAGE
Lloh109:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh110:
	ldr	x0, [x8]
Lloh111:
	adrp	x1, l_.str.15@PAGE
Lloh112:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_BIO_printf
	b	LBB0_20
LBB0_82:
	cbz	w24, LBB0_86
; %bb.83:
	mov	x0, x22
	bl	_DH_size
	mov	x23, x0
	mov	x0, x22
	bl	_DH_bits
	mov	x24, x0
	add	x1, sp, #40
	add	x3, sp, #32
	mov	x0, x22
	mov	x2, #0
	bl	_DH_get0_pqg
Lloh113:
	adrp	x1, l_.str.16@PAGE
Lloh114:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x23
	bl	_app_malloc
	mov	x23, x0
	str	x24, [sp]
Lloh115:
	adrp	x1, l_.str.17@PAGE
Lloh116:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	ldr	x1, [sp, #40]
Lloh117:
	adrp	x2, l_.str.18@PAGE
Lloh118:
	add	x2, x2, l_.str.18@PAGEOFF
	mov	x0, x20
	mov	x3, x24
	mov	x4, x23
	bl	_print_bignum_var
	ldr	x1, [sp, #32]
Lloh119:
	adrp	x2, l_.str.19@PAGE
Lloh120:
	add	x2, x2, l_.str.19@PAGEOFF
	mov	x0, x20
	mov	x3, x24
	mov	x4, x23
	bl	_print_bignum_var
Lloh121:
	adrp	x1, l_.str.20@PAGE
Lloh122:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	stp	x24, x24, [sp]
Lloh123:
	adrp	x1, l_.str.21@PAGE
Lloh124:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	stp	x24, x24, [sp]
Lloh125:
	adrp	x1, l_.str.22@PAGE
Lloh126:
	add	x1, x1, l_.str.22@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
Lloh127:
	adrp	x1, l_.str.23@PAGE
Lloh128:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	mov	x0, x22
	bl	_DH_get_length
	cmp	w0, #1
	b.lt	LBB0_85
; %bb.84:
	mov	x0, x22
	bl	_DH_get_length
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh129:
	adrp	x1, l_.str.24@PAGE
Lloh130:
	add	x1, x1, l_.str.24@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
LBB0_85:
Lloh131:
	adrp	x1, l_.str.25@PAGE
Lloh132:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x20
	bl	_BIO_printf
	mov	x0, x23
	bl	_OPENSSL_free
LBB0_86:
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	cbnz	w25, LBB0_101
; %bb.87:
	add	x2, sp, #40
	mov	x0, x22
	mov	x1, #0
	mov	x3, #0
	bl	_DH_get0_pqg
	ldr	w9, [sp, #48]
Lloh133:
	adrp	x8, _FORMAT_ASN1@GOTPAGE
Lloh134:
	ldr	x8, [x8, _FORMAT_ASN1@GOTPAGEOFF]
Lloh135:
	ldr	w10, [x8]
	ldr	x8, [sp, #40]
	mov	x0, x20
	mov	x1, x22
	cmp	w9, w10
	b.ne	LBB0_91
; %bb.88:
	cbz	x8, LBB0_98
; %bb.89:
	bl	_i2d_DHxparams_bio
	b	LBB0_100
LBB0_90:
Lloh136:
	adrp	x8, _bio_err@GOTPAGE
Lloh137:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh138:
	ldr	x0, [x8]
	bl	_ERR_print_errors
	b	LBB0_20
LBB0_91:
	cbz	x8, LBB0_99
; %bb.92:
	bl	_PEM_write_bio_DHxparams
	b	LBB0_100
LBB0_93:
	mov	x0, x21
	bl	_BIO_reset
	cbnz	x0, LBB0_95
; %bb.94:
	mov	x0, x21
	mov	x1, #0
	bl	_d2i_DHxparams_bio
	mov	x22, x0
	cbnz	x0, LBB0_59
LBB0_95:
Lloh139:
	adrp	x19, _bio_err@GOTPAGE
Lloh140:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh141:
	adrp	x1, l_.str.6@PAGE
Lloh142:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_96:
	bl	_BIO_printf
	ldr	x0, [x19]
LBB0_97:
	bl	_ERR_print_errors
	mov	x22, #0
	b	LBB0_20
LBB0_98:
	bl	_i2d_DHparams_bio
	b	LBB0_100
LBB0_99:
	bl	_PEM_write_bio_DHparams
LBB0_100:
	str	w0, [sp, #60]
	cbz	w0, LBB0_102
LBB0_101:
	mov	w23, #0
	b	LBB0_22
LBB0_102:
Lloh143:
	adrp	x19, _bio_err@GOTPAGE
Lloh144:
	ldr	x19, [x19, _bio_err@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh145:
	adrp	x1, l_.str.26@PAGE
Lloh146:
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_BIO_printf
	ldr	x0, [x19]
	bl	_ERR_print_errors
	mov	w23, #1
	b	LBB0_22
	.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	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpAdd	Lloh127, Lloh128
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpAdd	Lloh123, Lloh124
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpAdd	Lloh117, Lloh118
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpAdd	Lloh129, Lloh130
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpLdrGot	Lloh139, Lloh140
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpLdrGot	Lloh143, Lloh144
	.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_1-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_23-LBB0_1)>>2
	.byte	(LBB0_16-LBB0_1)>>2
	.byte	(LBB0_24-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_14-LBB0_1)>>2
	.byte	(LBB0_15-LBB0_1)>>2
                                        ; -- End function
	.comm	_FORMAT_PEM,4,2                 ; @FORMAT_PEM
	.comm	_dhparam_options,4,2            ; @dhparam_options
	.comm	_bio_err,8,3                    ; @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	_DEFBITS,4,2                    ; @DEFBITS
l_.str.1:                               ; @.str.1
	.asciz	"generator may not be chosen for DSA parameters\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"Generating DH parameters, %d bit long safe prime, generator %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"This is going to take a long time\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"unable to load DH parameters\n"

	.comm	_DH_CHECK_P_NOT_PRIME,4,2       ; @DH_CHECK_P_NOT_PRIME
l_.str.7:                               ; @.str.7
	.asciz	"WARNING: p value is not prime\n"

	.comm	_DH_CHECK_P_NOT_SAFE_PRIME,4,2  ; @DH_CHECK_P_NOT_SAFE_PRIME
l_.str.8:                               ; @.str.8
	.asciz	"WARNING: p value is not a safe prime\n"

	.comm	_DH_CHECK_Q_NOT_PRIME,4,2       ; @DH_CHECK_Q_NOT_PRIME
l_.str.9:                               ; @.str.9
	.asciz	"WARNING: q value is not a prime\n"

	.comm	_DH_CHECK_INVALID_Q_VALUE,4,2   ; @DH_CHECK_INVALID_Q_VALUE
l_.str.10:                              ; @.str.10
	.asciz	"WARNING: q value is invalid\n"

	.comm	_DH_CHECK_INVALID_J_VALUE,4,2   ; @DH_CHECK_INVALID_J_VALUE
l_.str.11:                              ; @.str.11
	.asciz	"WARNING: j value is invalid\n"

	.comm	_DH_UNABLE_TO_CHECK_GENERATOR,4,2 ; @DH_UNABLE_TO_CHECK_GENERATOR
l_.str.12:                              ; @.str.12
	.asciz	"WARNING: unable to check the generator value\n"

	.comm	_DH_NOT_SUITABLE_GENERATOR,4,2  ; @DH_NOT_SUITABLE_GENERATOR
l_.str.13:                              ; @.str.13
	.asciz	"WARNING: the g value is not a generator\n"

l_.str.14:                              ; @.str.14
	.asciz	"DH parameters appear to be ok.\n"

l_.str.15:                              ; @.str.15
	.asciz	"ERROR: Invalid parameters generated\n"

l_.str.16:                              ; @.str.16
	.asciz	"print a BN"

l_.str.17:                              ; @.str.17
	.asciz	"static DH *get_dh%d(void)\n{\n"

l_.str.18:                              ; @.str.18
	.asciz	"dhp"

l_.str.19:                              ; @.str.19
	.asciz	"dhg"

l_.str.20:                              ; @.str.20
	.asciz	"    DH *dh = DH_new();\n    BIGNUM *p, *g;\n\n    if (dh == NULL)\n        return NULL;\n"

l_.str.21:                              ; @.str.21
	.asciz	"    p = BN_bin2bn(dhp_%d, sizeof(dhp_%d), NULL);\n"

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

l_.str.23:                              ; @.str.23
	.asciz	"    if (p == NULL || g == NULL\n            || !DH_set0_pqg(dh, p, NULL, g)) {\n        DH_free(dh);\n        BN_free(p);\n        BN_free(g);\n        return NULL;\n    }\n"

l_.str.24:                              ; @.str.24
	.asciz	"    if (!DH_set_length(dh, %ld)) {\n        DH_free(dh);\n        return NULL;\n    }\n"

l_.str.25:                              ; @.str.25
	.asciz	"    return dh;\n}\n"

l_.str.26:                              ; @.str.26
	.asciz	"unable to write DH parameters\n"

.subsections_via_symbols
