	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genrsa_main                    ## -- Begin function genrsa_main
	.p2align	4, 0x90
_genrsa_main:                           ## @genrsa_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
	movq	%rsi, %r15
	movl	%edi, %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_GENCB_new
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rdi
	movq	$0, -96(%rbp)
	movq	_DEFBITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_DEFPRIMES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_RSA_F4@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	$0, -80(%rbp)
	testq	%rdi, %rdi
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.1:
	testq	%r13, %r13
	je	LBB0_13
## %bb.2:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_genrsa_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_BN_GENCB_set
	movq	_genrsa_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_opt_init
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %r15
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_opt_next
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$10, %eax
	ja	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$128, %edi
	callq	_opt_rand
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_24
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %rdi
	leaq	-56(%rbp), %rsi
	callq	_opt_int
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_15
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_RSA_F4@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_4
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_setup_engine
	movq	%rax, %r13
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_opt_unknown
	movl	%eax, %edi
	leaq	-96(%rbp), %rsi
	callq	_opt_cipher
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_15
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$3, %r12d
	jmp	LBB0_4
LBB0_13:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
LBB0_14:
	movl	$1, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_31
LBB0_15:
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_16:
	movq	_genrsa_options@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opt_help
	xorl	%r12d, %r12d
	movb	$1, %r14b
	xorl	%r15d, %r15d
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_19:
	xorl	%eax, %eax
	callq	_opt_num_rest
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_opt_rest
	cmpl	$1, %r14d
	jne	LBB0_25
## %bb.20:
	movq	(%rax), %rdi
	leaq	-52(%rbp), %rsi
	callq	_opt_int
	movl	$0, %r14d
	testl	%eax, %eax
	je	LBB0_38
## %bb.21:
	movl	-52(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_38
## %bb.22:
	movq	_OPENSSL_RSA_MAX_MODULUS_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edx, %ecx
	jle	LBB0_34
## %bb.23:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_34
LBB0_24:
	xorl	%r12d, %r12d
	jmp	LBB0_28
LBB0_25:
	jl	LBB0_34
## %bb.26:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_27:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_28:
	xorl	%r14d, %r14d
LBB0_29:
	xorl	%ebx, %ebx
LBB0_30:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %r15d
LBB0_31:
	callq	_BN_free
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_BN_GENCB_free
	movq	%r12, %rdi
	callq	_RSA_free
	movq	%rbx, %rdi
	callq	_BIO_free_all
	movq	%r13, %rdi
	callq	_release_engine
	movq	-80(%rbp), %rdi
	callq	_OPENSSL_free
	testb	%r14b, %r14b
	jne	LBB0_33
## %bb.32:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_print_errors
LBB0_33:
	movl	%r15d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	leaq	-80(%rbp), %rcx
	xorl	%edi, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_app_passwd
	testl	%eax, %eax
	je	LBB0_39
## %bb.35:
	movq	_FORMAT_PEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_bio_open_owner
	testq	%rax, %rax
	je	LBB0_40
## %bb.36:
	movq	%rax, %rbx
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-52(%rbp), %edx
	movl	-56(%rbp), %ecx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	testq	%r13, %r13
	je	LBB0_41
## %bb.37:
	movq	%r13, %rdi
	callq	_RSA_new_method
	jmp	LBB0_42
LBB0_38:
	xorl	%ebx, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_39:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_28
LBB0_40:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_41:
	xorl	%eax, %eax
	callq	_RSA_new
LBB0_42:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_49
## %bb.43:
	movq	%rdi, %r15
	movq	%r12, %rsi
	callq	_BN_set_word
	testl	%eax, %eax
	je	LBB0_50
## %bb.44:
	movl	-52(%rbp), %esi
	movl	-56(%rbp), %edx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r15, %rcx
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	callq	_RSA_generate_multi_prime_key
	testl	%eax, %eax
	je	LBB0_51
## %bb.45:
	leaq	-104(%rbp), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_RSA_get0_key
	movq	-104(%rbp), %rdi
	callq	_BN_bn2hex
	movq	%rax, %r12
	movq	-104(%rbp), %rdi
	callq	_BN_bn2dec
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_48
## %bb.46:
	testq	%r14, %r14
	je	LBB0_48
## %bb.47:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_48:
	movq	%r12, %rdi
	callq	_OPENSSL_free
	movq	%r14, %rdi
	callq	_OPENSSL_free
	movq	-80(%rbp), %rax
	movq	%rax, -120(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -112(%rbp)
	movl	$1, %edi
	callq	_assert
	movq	-96(%rbp), %rdx
	movq	_password_callback@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	leaq	-120(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_PEM_write_bio_RSAPrivateKey
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r14b
	sete	%r15b
	jmp	LBB0_18
LBB0_49:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_31
LBB0_50:
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	movl	$1, %r15d
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_31
LBB0_51:
	xorl	%r14d, %r14d
	jmp	LBB0_30
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_27
	.long	L0_0_set_19
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_DEFBITS,4,2                    ## @DEFBITS
	.comm	_DEFPRIMES,4,2                  ## @DEFPRIMES
	.comm	_RSA_F4,8,3                     ## @RSA_F4
	.comm	_genrsa_cb,4,2                  ## @genrsa_cb
	.comm	_bio_err,4,2                    ## @bio_err
	.comm	_genrsa_options,4,2             ## @genrsa_options
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Use -help for summary.\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"Extra arguments given.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Error getting password\n"

	.comm	_FORMAT_PEM,4,2                 ## @FORMAT_PEM
L_.str.4:                               ## @.str.4
	.asciz	"Generating RSA private key, %d bit long modulus (%d primes)\n"

L_.str.5:                               ## @.str.5
	.asciz	"e is %s (0x%s)\n"

	.comm	_password_callback,8,3          ## @password_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_genrsa_main                    ; -- Begin function genrsa_main
	.p2align	2
_genrsa_main:                           ; @genrsa_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
	mov	x22, x1
	mov	x27, x0
	bl	_BN_GENCB_new
	mov	x19, x0
	bl	_BN_new
	mov	w28, #0
	mov	x23, #0
Lloh0:
	adrp	x8, _DEFBITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFBITS@GOTPAGEOFF]
	str	xzr, [sp, #48]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #44]
Lloh3:
	adrp	x8, _DEFPRIMES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEFPRIMES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh6:
	adrp	x20, _RSA_F4@GOTPAGE
Lloh7:
	ldr	x20, [x20, _RSA_F4@GOTPAGEOFF]
	ldr	x25, [x20]
	str	xzr, [sp, #32]
	mov	w26, #1
	mov	x24, #0
	mov	x21, #0
	cbz	x0, LBB0_25
; %bb.1:
	cbz	x19, LBB0_25
; %bb.2:
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
Lloh8:
	adrp	x8, _genrsa_cb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _genrsa_cb@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x28, _bio_err@GOTPAGE
Lloh12:
	ldr	x28, [x28, _bio_err@GOTPAGEOFF]
	ldr	w2, [x28]
	mov	x0, x19
	bl	_BN_GENCB_set
Lloh13:
	adrp	x26, _genrsa_options@GOTPAGE
Lloh14:
	ldr	x26, [x26, _genrsa_options@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	x0, x27
	mov	x1, x22
	bl	_opt_init
	mov	x24, x0
	mov	x22, #0
	mov	x23, #0
	mov	x21, #0
Lloh15:
	adrp	x27, lJTI0_0@PAGE
Lloh16:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_opt_arg
	mov	x23, x0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_opt_next
	sub	w8, w0, #128
	cmp	w8, #10
	b.hi	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #128
	bl	_opt_rand
	cbnz	w0, LBB0_4
	b	LBB0_22
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_opt_arg
	add	x1, sp, #40
	bl	_opt_int
	cbnz	w0, LBB0_4
	b	LBB0_22
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_opt_arg
	mov	x22, x0
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x25, [x20]
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_opt_arg
	mov	w1, #0
	bl	_setup_engine
	mov	x21, x0
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_opt_unknown
	add	x1, sp, #48
	bl	_opt_cipher
	cbnz	w0, LBB0_4
	b	LBB0_22
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #3
	b	LBB0_4
LBB0_13:
	ldr	w0, [x26]
	bl	_opt_help
	mov	x23, #0
	mov	w26, #0
	mov	x24, #0
	mov	w28, #1
	b	LBB0_24
LBB0_14:
	bl	_opt_num_rest
	mov	x26, x0
	bl	_opt_rest
	cmp	w26, #1
	b.ne	LBB0_18
; %bb.15:
	ldr	x0, [x0]
	add	x1, sp, #44
	bl	_opt_int
	ldr	w8, [sp, #44]
	cmp	w0, #0
	ccmp	w8, #1, #8, ne
	b.lt	LBB0_22
; %bb.16:
Lloh17:
	adrp	x9, _OPENSSL_RSA_MAX_MODULUS_BITS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _OPENSSL_RSA_MAX_MODULUS_BITS@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_28
; %bb.17:
	ldr	w0, [x28]
	stp	x9, x8, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BIO_printf
	b	LBB0_28
LBB0_18:
	b.lt	LBB0_28
; %bb.19:
	ldr	w0, [x28]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_BIO_printf
LBB0_20:
	ldr	w0, [x28]
	str	x24, [sp]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
LBB0_21:
	bl	_BIO_printf
LBB0_22:
	mov	x23, #0
	mov	w28, #0
	mov	x24, #0
LBB0_23:
	mov	w26, #1
LBB0_24:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
LBB0_25:
	bl	_BN_free
	mov	x0, x19
	bl	_BN_GENCB_free
	mov	x0, x23
	bl	_RSA_free
	mov	x0, x24
	bl	_BIO_free_all
	mov	x0, x21
	bl	_release_engine
	ldr	x0, [sp, #32]
	bl	_OPENSSL_free
	tbnz	w28, #0, LBB0_27
; %bb.26:
Lloh26:
	adrp	x8, _bio_err@GOTPAGE
Lloh27:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_ERR_print_errors
LBB0_27:
	mov	x0, x26
	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_28:
	add	x3, sp, #32
	mov	x0, #0
	mov	x1, x23
	mov	x2, #0
	bl	_app_passwd
	cbz	w0, LBB0_32
; %bb.29:
Lloh29:
	adrp	x8, _FORMAT_PEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _FORMAT_PEM@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	w26, #1
	mov	x0, x22
	mov	w2, #1
	bl	_bio_open_owner
	mov	x24, x0
	cbz	x0, LBB0_33
; %bb.30:
	ldr	w0, [x28]
	ldp	w9, w8, [sp, #40]
	stp	x8, x9, [sp]
Lloh32:
	adrp	x1, l_.str.4@PAGE
Lloh33:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_BIO_printf
	cbz	x21, LBB0_34
; %bb.31:
	mov	x0, x21
	bl	_RSA_new_method
	b	LBB0_35
LBB0_32:
	ldr	w0, [x28]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_21
LBB0_33:
	mov	x23, #0
	mov	w28, #0
	b	LBB0_24
LBB0_34:
	bl	_RSA_new
LBB0_35:
	mov	x23, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x23, LBB0_42
; %bb.36:
	mov	x20, x0
	mov	x1, x25
	bl	_BN_set_word
	cbz	w0, LBB0_43
; %bb.37:
	ldp	w2, w1, [sp, #40]
	mov	x0, x23
	mov	x3, x20
	mov	x4, x19
	bl	_RSA_generate_multi_prime_key
	cbz	w0, LBB0_44
; %bb.38:
	add	x2, sp, #56
	mov	x0, x23
	mov	x1, #0
	mov	x3, #0
	bl	_RSA_get0_key
	ldr	x0, [sp, #56]
	bl	_BN_bn2hex
	mov	x25, x0
	ldr	x0, [sp, #56]
	bl	_BN_bn2dec
	mov	x26, x0
	cbz	x25, LBB0_41
; %bb.39:
	cbz	x26, LBB0_41
; %bb.40:
	ldr	w0, [x28]
	stp	x26, x25, [sp]
Lloh36:
	adrp	x1, l_.str.5@PAGE
Lloh37:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_BIO_printf
LBB0_41:
	mov	x0, x25
	bl	_OPENSSL_free
	mov	x0, x26
	bl	_OPENSSL_free
	ldr	x8, [sp, #32]
	stp	x8, x22, [sp, #64]
	mov	w0, #1
	bl	_assert
	ldr	x2, [sp, #48]
Lloh38:
	adrp	x8, _password_callback@GOTPAGE
Lloh39:
	ldr	x8, [x8, _password_callback@GOTPAGEOFF]
Lloh40:
	ldr	x5, [x8]
	add	x6, sp, #64
	mov	x0, x24
	mov	x1, x23
	mov	x3, #0
	mov	w4, #0
	bl	_PEM_write_bio_RSAPrivateKey
	cmp	w0, #0
	cset	w28, ne
	cset	w26, eq
	b	LBB0_24
LBB0_42:
	mov	w28, #0
	mov	w26, #1
	b	LBB0_25
LBB0_43:
	mov	w28, #0
	mov	w26, #1
	mov	x0, x20
	b	LBB0_25
LBB0_44:
	mov	w28, #0
	b	LBB0_23
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
                                        ; -- End function
	.comm	_DEFBITS,4,2                    ; @DEFBITS
	.comm	_DEFPRIMES,4,2                  ; @DEFPRIMES
	.comm	_RSA_F4,8,3                     ; @RSA_F4
	.comm	_genrsa_cb,4,2                  ; @genrsa_cb
	.comm	_bio_err,4,2                    ; @bio_err
	.comm	_genrsa_options,4,2             ; @genrsa_options
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Use -help for summary.\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"Extra arguments given.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Error getting password\n"

	.comm	_FORMAT_PEM,4,2                 ; @FORMAT_PEM
l_.str.4:                               ; @.str.4
	.asciz	"Generating RSA private key, %d bit long modulus (%d primes)\n"

l_.str.5:                               ; @.str.5
	.asciz	"e is %s (0x%s)\n"

	.comm	_password_callback,8,3          ; @password_callback
.subsections_via_symbols
