	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prime_main                     ## -- Begin function prime_main
	.p2align	4, 0x90
_prime_main:                            ## @prime_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -56(%rbp)
	movq	_prime_options@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	callq	_opt_init
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$20, %r12d
	movb	$1, %al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	LJTI0_0(%rip), %rbx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	movl	$0, -60(%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	$7, %eax
	ja	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -60(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r15d
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movl	%eax, %edi
	callq	_atoi
	movl	%eax, %r12d
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_opt_arg
	movl	%eax, %edi
	callq	_atoi
	movl	%eax, %r13d
	jmp	LBB0_1
LBB0_8:
	movl	(%r14), %edi
	callq	_opt_help
	xorl	%r13d, %r13d
	jmp	LBB0_28
LBB0_9:
	xorl	%eax, %eax
	callq	_opt_num_rest
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_opt_rest
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.10:
	testl	%r14d, %r14d
	je	LBB0_19
## %bb.11:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_25
LBB0_12:
	testl	%r14d, %r14d
	je	LBB0_24
## %bb.13:
	movq	%rax, %rbx
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_29
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	leaq	-56(%rbp), %rdi
	callq	_BN_dec2bn
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	leaq	-56(%rbp), %rdi
	callq	_BN_hex2bn
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%eax, %eax
	je	LBB0_31
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_bio_out@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	-56(%rbp), %rsi
	callq	_BN_print
	movl	(%r14), %r14d
	movq	(%rbx), %r15
	movq	-56(%rbp), %rdi
	xorl	%r13d, %r13d
	movl	%r12d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_is_prime_ex
	testq	%rax, %rax
	leaq	L_.str.9(%rip), %rcx
	leaq	L_.str.10(%rip), %rax
	cmoveq	%rax, %rcx
	movl	%r14d, %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	8(%rbx), %rsi
	addq	$8, %rbx
	testq	%rsi, %rsi
	jne	LBB0_14
	jmp	LBB0_28
LBB0_19:
	testl	%r13d, %r13d
	je	LBB0_30
## %bb.20:
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_36
## %bb.21:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	%r13d, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_BN_generate_prime_ex
	testl	%eax, %eax
	je	LBB0_32
## %bb.22:
	testb	$1, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_33
## %bb.23:
	movq	%rbx, %rdi
	callq	_BN_bn2dec
	jmp	LBB0_34
LBB0_24:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_25:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
LBB0_26:
	xorl	%eax, %eax
	callq	_BIO_printf
LBB0_27:
	movl	$1, %r13d
LBB0_28:
	movq	-56(%rbp), %rdi
	callq	_BN_free
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_29:
	xorl	%r13d, %r13d
	jmp	LBB0_28
LBB0_30:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_37
LBB0_31:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_26
LBB0_32:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_37
LBB0_33:
	movq	%rbx, %rdi
	callq	_BN_bn2hex
LBB0_34:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:
	movq	_bio_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_BIO_printf
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	jmp	LBB0_28
LBB0_36:
	movq	_bio_err@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
LBB0_37:
	xorl	%eax, %eax
	callq	_BIO_printf
	jmp	LBB0_27
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_25
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_prime_options,4,2              ## @prime_options
	.comm	_bio_err,4,2                    ## @bio_err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Use -help for summary.\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"%s: No prime specified\n"

L_.str.3:                               ## @.str.3
	.asciz	"Specify the number of bits.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Out of memory.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to generate prime.\n"

	.comm	_bio_out,4,2                    ## @bio_out
L_.str.6:                               ## @.str.6
	.asciz	"%s\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to process value (%s)\n"

L_.str.8:                               ## @.str.8
	.asciz	" (%s) %s prime\n"

L_.str.9:                               ## @.str.9
	.asciz	"is"

L_.str.10:                              ## @.str.10
	.asciz	"is not"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prime_main                     ; -- Begin function prime_main
	.p2align	2
_prime_main:                            ; @prime_main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	xzr, [sp, #24]
Lloh0:
	adrp	x23, _prime_options@GOTPAGE
Lloh1:
	ldr	x23, [x23, _prime_options@GOTPAGEOFF]
	ldr	w2, [x23]
	bl	_opt_init
	mov	x20, x0
	mov	w26, #0
	mov	w22, #0
	mov	w21, #0
	mov	w19, #20
	mov	w25, #1
Lloh2:
	adrp	x24, lJTI0_0@PAGE
Lloh3:
	add	x24, x24, lJTI0_0@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_opt_next
	sub	w8, w0, #128
	cmp	w8, #7
	b.hi	LBB0_1
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w21, #1
	b	LBB0_1
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w25, #0
	b	LBB0_1
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w26, #1
	b	LBB0_1
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_opt_arg
	bl	_atoi
	mov	x19, x0
	b	LBB0_1
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_opt_arg
	bl	_atoi
	mov	x22, x0
	b	LBB0_1
LBB0_8:
	ldr	w0, [x23]
	bl	_opt_help
	mov	w21, #0
	b	LBB0_29
LBB0_9:
	bl	_opt_num_rest
	mov	x24, x0
	bl	_opt_rest
	cbz	w26, LBB0_12
; %bb.10:
	cbz	w24, LBB0_20
; %bb.11:
Lloh4:
	adrp	x8, _bio_err@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_26
LBB0_12:
	cbz	w24, LBB0_25
; %bb.13:
	mov	x23, x0
	ldr	x1, [x0]
	cbz	x1, LBB0_30
; %bb.14:
Lloh9:
	adrp	x22, _bio_out@GOTPAGE
Lloh10:
	ldr	x22, [x22, _bio_out@GOTPAGEOFF]
Lloh11:
	adrp	x24, l_.str.9@PAGE
Lloh12:
	add	x24, x24, l_.str.9@PAGEOFF
Lloh13:
	adrp	x26, l_.str.10@PAGE
Lloh14:
	add	x26, x26, l_.str.10@PAGEOFF
Lloh15:
	adrp	x20, l_.str.8@PAGE
Lloh16:
	add	x20, x20, l_.str.8@PAGEOFF
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #24
	tbz	w25, #0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_BN_dec2bn
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	bl	_BN_hex2bn
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	cbz	w0, LBB0_32
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x22]
	ldr	x1, [sp, #24]
	bl	_BN_print
	ldr	w21, [x22]
	ldr	x27, [x23]
	ldr	x0, [sp, #24]
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_BN_is_prime_ex
	cmp	x0, #0
	csel	x8, x26, x24, eq
	stp	x27, x8, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_BIO_printf
	mov	w21, #0
	ldr	x1, [x23, #8]!
	cbnz	x1, LBB0_15
	b	LBB0_29
LBB0_20:
	cbz	w22, LBB0_31
; %bb.21:
	bl	_BN_new
	str	x0, [sp, #24]
	cbz	x0, LBB0_37
; %bb.22:
	mov	x19, x0
	mov	x1, x22
	mov	x2, x21
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_BN_generate_prime_ex
	cbz	w0, LBB0_33
; %bb.23:
	mov	x0, x19
	tbz	w25, #0, LBB0_34
; %bb.24:
	bl	_BN_bn2dec
	b	LBB0_35
LBB0_25:
Lloh17:
	adrp	x8, _bio_err@GOTPAGE
Lloh18:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_26:
	bl	_BIO_printf
LBB0_27:
Lloh22:
	adrp	x8, _bio_err@GOTPAGE
Lloh23:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
LBB0_28:
	bl	_BIO_printf
	mov	w21, #1
LBB0_29:
	ldr	x0, [sp, #24]
	bl	_BN_free
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_30:
	mov	w21, #0
	b	LBB0_29
LBB0_31:
Lloh27:
	adrp	x8, _bio_err@GOTPAGE
Lloh28:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_28
LBB0_32:
Lloh32:
	adrp	x8, _bio_err@GOTPAGE
Lloh33:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ldr	x8, [x23]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.7@PAGE
Lloh36:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_28
LBB0_33:
Lloh37:
	adrp	x8, _bio_err@GOTPAGE
Lloh38:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_28
LBB0_34:
	bl	_BN_bn2hex
LBB0_35:
	mov	x19, x0
	cbz	x0, LBB0_37
; %bb.36:
Lloh42:
	adrp	x8, _bio_out@GOTPAGE
Lloh43:
	ldr	x8, [x8, _bio_out@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	str	x19, [sp]
Lloh45:
	adrp	x1, l_.str.6@PAGE
Lloh46:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_BIO_printf
	mov	x0, x19
	bl	_OPENSSL_free
	mov	w21, #0
	b	LBB0_29
LBB0_37:
Lloh47:
	adrp	x8, _bio_err@GOTPAGE
Lloh48:
	ldr	x8, [x8, _bio_err@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_28
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_prime_options,4,2              ; @prime_options
	.comm	_bio_err,4,2                    ; @bio_err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Use -help for summary.\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"%s: No prime specified\n"

l_.str.3:                               ; @.str.3
	.asciz	"Specify the number of bits.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Out of memory.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to generate prime.\n"

	.comm	_bio_out,4,2                    ; @bio_out
l_.str.6:                               ; @.str.6
	.asciz	"%s\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to process value (%s)\n"

l_.str.8:                               ; @.str.8
	.asciz	" (%s) %s prime\n"

l_.str.9:                               ; @.str.9
	.asciz	"is"

l_.str.10:                              ; @.str.10
	.asciz	"is not"

.subsections_via_symbols
