	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_caph_cache_catpages
	xorl	%eax, %eax
	callq	_caph_enter
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_2:
	leaq	L_.str.1(%rip), %r14
	movq	_hflag@GOTPCREL(%rip), %r15
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	(%r15)
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_getopt
	cmpl	$104, %eax
	je	LBB0_32
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_3
LBB0_6:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	subl	%r13d, %ebx
	je	LBB0_28
## %bb.7:
	cmpl	$1, %ebx
	je	LBB0_21
## %bb.8:
	cmpl	$2, %ebx
	jne	LBB0_27
## %bb.9:
	movq	(%r12,%r13,8), %rdi
	cmpb	$45, (%rdi)
	je	LBB0_11
## %bb.10:
	movq	8(%r12,%r13,8), %rax
	cmpb	$45, (%rax)
	jne	LBB0_12
LBB0_11:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	movq	(%r12,%r13,8), %rdi
LBB0_12:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	$0, (%rbx)
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoumax
	movq	%rax, %r14
	cmpl	$0, (%rbx)
	je	LBB0_14
## %bb.13:
	movq	(%r12,%r13,8), %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_14:
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_16
## %bb.15:
	movq	(%r12,%r13,8), %rdx
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_16:
	movl	$0, (%rbx)
	movq	8(%r12,%r13,8), %rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoumax
	movq	%rax, %r15
	cmpl	$0, (%rbx)
	je	LBB0_18
## %bb.17:
	movq	8(%r12,%r13,8), %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_18:
	movq	-48(%rbp), %rax
	cmpb	$0, (%rax)
	je	LBB0_29
## %bb.19:
	movq	8(%r12,%r13,8), %rdx
	jmp	LBB0_20
LBB0_28:
	xorl	%eax, %eax
	callq	_read_num_buf
	movq	%rax, %r14
	movq	$-1, %r15
	jmp	LBB0_29
LBB0_21:
	movq	(%r12,%r13,8), %rdi
	cmpb	$45, (%rdi)
	jne	LBB0_23
## %bb.22:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
	movq	(%r12,%r13,8), %rdi
LBB0_23:
	movq	_errno@GOTPCREL(%rip), %rbx
	movl	$0, (%rbx)
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtoumax
	movq	%rax, %r14
	cmpl	$0, (%rbx)
	je	LBB0_25
## %bb.24:
	movq	(%r12,%r13,8), %rdx
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_err
LBB0_25:
	movq	-48(%rbp), %rax
	movq	$-1, %r15
	cmpb	$0, (%rax)
	je	LBB0_29
## %bb.26:
	movq	(%r12,%r13,8), %rdx
LBB0_20:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_29:
	cmpq	%r15, %r14
	jg	LBB0_30
	jmp	LBB0_31
LBB0_27:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_usage
	movq	$-1, %r15
LBB0_30:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_31:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_primes
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cap_enter"

L_.str.1:                               ## @.str.1
	.asciz	"h"

	.comm	_hflag,4,2                      ## @hflag
	.comm	_optind,8,3                     ## @optind
L_.str.2:                               ## @.str.2
	.asciz	"negative numbers aren't permitted."

	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	"%s"

L_.str.4:                               ## @.str.4
	.asciz	"%s: illegal numeric format."

L_.str.5:                               ## @.str.5
	.asciz	"start value must be less than stop value."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_caph_cache_catpages
	bl	_caph_enter
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x22, _hflag@GOTPAGE
Lloh5:
	ldr	x22, [x22, _hflag@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmp	w0, #104
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
	b	LBB0_4
LBB0_7:
Lloh6:
	adrp	x8, _optind@GOTPAGE
Lloh7:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x8]
	subs	w8, w20, w9
	b.eq	LBB0_21
; %bb.8:
	add	x21, x19, x9, lsl #3
	cmp	w8, #1
	b.eq	LBB0_22
; %bb.9:
	cmp	w8, #2
	b.ne	LBB0_30
; %bb.10:
	ldr	x0, [x21]
	ldrb	w8, [x0]
	cmp	w8, #45
	b.eq	LBB0_12
; %bb.11:
	ldr	x8, [x21, #8]
	ldrb	w8, [x8]
	cmp	w8, #45
	b.ne	LBB0_13
LBB0_12:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x0, [x21]
LBB0_13:
Lloh11:
	adrp	x22, _errno@GOTPAGE
Lloh12:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
	str	wzr, [x22]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoumax
	mov	x19, x0
	ldr	w8, [x22]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_15:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_17
; %bb.16:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.4@PAGE
Lloh16:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_17:
	str	wzr, [x22]
	ldr	x0, [x21, #8]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoumax
	mov	x20, x0
	ldr	w8, [x22]
	cbz	w8, LBB0_19
; %bb.18:
	ldr	x8, [x21, #8]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_19:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_29
; %bb.20:
	ldr	x8, [x21, #8]
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_29
LBB0_21:
	mov	x20, #-1
	bl	_read_num_buf
	mov	x19, x0
	b	LBB0_29
LBB0_22:
	ldr	x0, [x21]
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_24
; %bb.23:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x0, [x21]
LBB0_24:
Lloh23:
	adrp	x20, _errno@GOTPAGE
Lloh24:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	wzr, [x20]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtoumax
	mov	x19, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_26
; %bb.25:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_26:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_28
; %bb.27:
	ldr	x8, [x21]
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.4@PAGE
Lloh28:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_28:
	mov	x20, #-1
LBB0_29:
	cmp	x19, x20
	b.gt	LBB0_31
	b	LBB0_32
LBB0_30:
	bl	_usage
	mov	x19, #0
	mov	x20, #-1
LBB0_31:
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_32:
	mov	x0, x19
	mov	x1, x20
	bl	_primes
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cap_enter"

l_.str.1:                               ; @.str.1
	.asciz	"h"

	.comm	_hflag,4,2                      ; @hflag
	.comm	_optind,8,3                     ; @optind
l_.str.2:                               ; @.str.2
	.asciz	"negative numbers aren't permitted."

	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	"%s"

l_.str.4:                               ; @.str.4
	.asciz	"%s: illegal numeric format."

l_.str.5:                               ; @.str.5
	.asciz	"start value must be less than stop value."

.subsections_via_symbols
