	.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, %rbx
	movl	%edi, %r14d
	movq	_rcsid@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %r15
	movq	%r15, %rsi
	callq	_strstr
	movl	%eax, %edi
	callq	_assert
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_strstr
                                        ## kill: def $eax killed $eax def $rax
	leal	2(%rax), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_strtod
	movl	%eax, %r12d
	cmpl	$2, %r14d
	jl	LBB0_16
## %bb.1:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %r12d
	movl	$1, %r13d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r13,8), %r14
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r13,8), %rdi
	cmpb	$45, (%rdi)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r13,8), %r15
	jmp	LBB0_8
LBB0_9:
	testq	%r14, %r14
	je	LBB0_10
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_15
## %bb.12:
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_freopen
	testq	%rax, %rax
	je	LBB0_13
LBB0_15:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	testq	%r15, %r15
	jne	LBB0_18
	jmp	LBB0_21
LBB0_10:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_16:
	leaq	L_.str.4(%rip), %r14
	testq	%r15, %r15
	je	LBB0_21
LBB0_18:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_freopen
	testq	%rax, %rax
	je	LBB0_20
LBB0_21:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	_stdin@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_read_int
	cvttss2si	-44(%rbp), %ecx         ## 4-byte Folded Reload
	movslq	%eax, %r15
	imulq	$1374389535, %r15, %rbx         ## imm = 0x51EB851F
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$37, %rbx
	addl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	%ecx, %ebx
	sete	%dil
	callq	_assert
	movl	(%r12), %edi
	callq	_rcc_read_program
	movl	%eax, %r12d
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str.8(%rip), %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_printf
	imull	$100, %ebx, %eax
	subl	%eax, %r15d
	leaq	L_.str.9(%rip), %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_printf
	movl	%r12d, %edi
	callq	_do_program
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_time
	movq	%rbx, %rdi
	callq	_ctime
	leaq	L_.str.10(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_str.12(%rip), %rdi
	callq	_puts
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rcx
	jmp	LBB0_14
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rcx
LBB0_14:
	callq	_fprintf
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_rcsid,4,2                      ## @rcsid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	",v"

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

L_.str.2:                               ## @.str.2
	.asciz	"rb"

	.comm	_stdin,4,2                      ## @stdin
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"%s: can't read `%s'\n"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.4:                               ## @.str.4
	.asciz	"Standard Input"

L_.str.5:                               ## @.str.5
	.asciz	"w"

	.comm	_stdout,4,2                     ## @stdout
L_.str.6:                               ## @.str.6
	.asciz	"%s: can't write `%s'\n"

L_.str.8:                               ## @.str.8
	.asciz	"<html><head><title>%s</title>\n<link rev=made href=\"mailto:drh@microsoft.com\">\n</head><body>\n<h1>%s</h1>\n"

L_.str.9:                               ## @.str.9
	.asciz	"<p>version = %d.%d</p>"

L_.str.10:                              ## @.str.10
	.asciz	"<hr><address>%s</address>\n"

	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	__O_BINARY,4,2                  ## @_O_BINARY
L_str:                                  ## @str
	.asciz	"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\""

L_str.12:                               ## @str.12
	.asciz	"</body></html>"

.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, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x21, _rcsid@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rcsid@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
	mov	x1, x20
	bl	_strstr
	bl	_assert
	ldr	w0, [x21]
	mov	x1, x20
	bl	_strstr
	add	w0, w0, #2
	mov	x1, #0
	bl	_strtod
	mov	x22, x0
	mov	x21, #0
Lloh4:
	adrp	x24, _stdin@GOTPAGE
Lloh5:
	ldr	x24, [x24, _stdin@GOTPAGEOFF]
	cmp	w23, #2
	b.lt	LBB0_14
; %bb.1:
	mov	x21, #0
	mov	x20, #0
	mov	w8, w23
	lsl	x25, x8, #3
	mov	w26, #8
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x19, x26]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #8
	cmp	x25, x26
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, x26]
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x20, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x21, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x19, x26]
	b	LBB0_3
LBB0_9:
	cbz	x20, LBB0_14
; %bb.10:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.11:
	ldr	w2, [x24]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_freopen
	cbz	x0, LBB0_19
LBB0_12:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.13:
	cbnz	x21, LBB0_15
	b	LBB0_17
LBB0_14:
Lloh14:
	adrp	x20, l_.str.4@PAGE
Lloh15:
	add	x20, x20, l_.str.4@PAGEOFF
	cbz	x21, LBB0_17
LBB0_15:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.16:
Lloh18:
	adrp	x8, _stdout@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_freopen
	cbz	x0, LBB0_18
LBB0_17:
	scvtf	s8, w22
	ldr	w0, [x24]
	bl	_read_int
	mov	x19, x0
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #37
	fcvtzs	w10, s8
	add	w22, w8, w9
	cmp	w22, w10
	cset	w0, eq
	bl	_assert
	ldr	w0, [x24]
	bl	_rcc_read_program
	mov	x21, x0
Lloh23:
	adrp	x0, l_str@PAGE
Lloh24:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	stp	x20, x20, [sp]
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	mov	w8, #100
	msub	w8, w22, w8, w19
	stp	x22, x8, [sp]
Lloh27:
	adrp	x0, l_.str.9@PAGE
Lloh28:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	mov	x0, x21
	bl	_do_program
	add	x0, sp, #28
	bl	_time
	add	x0, sp, #28
	bl	_ctime
	str	x0, [sp]
Lloh29:
	adrp	x0, l_.str.10@PAGE
Lloh30:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_printf
Lloh31:
	adrp	x0, l_str.12@PAGE
Lloh32:
	add	x0, x0, l_str.12@PAGEOFF
	bl	_puts
Lloh33:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	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	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_18:
Lloh36:
	adrp	x8, _stderr@GOTPAGE
Lloh37:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh39:
	adrp	x1, l_.str.6@PAGE
Lloh40:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x3, x21
	b	LBB0_20
LBB0_19:
Lloh41:
	adrp	x8, _stderr@GOTPAGE
Lloh42:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh44:
	adrp	x1, l_.str.3@PAGE
Lloh45:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x3, x20
LBB0_20:
	bl	_fprintf
Lloh46:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_rcsid,4,2                      ; @rcsid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",v"

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

l_.str.2:                               ; @.str.2
	.asciz	"rb"

	.comm	_stdin,4,2                      ; @stdin
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"%s: can't read `%s'\n"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.4:                               ; @.str.4
	.asciz	"Standard Input"

l_.str.5:                               ; @.str.5
	.asciz	"w"

	.comm	_stdout,4,2                     ; @stdout
l_.str.6:                               ; @.str.6
	.asciz	"%s: can't write `%s'\n"

l_.str.8:                               ; @.str.8
	.asciz	"<html><head><title>%s</title>\n<link rev=made href=\"mailto:drh@microsoft.com\">\n</head><body>\n<h1>%s</h1>\n"

l_.str.9:                               ; @.str.9
	.asciz	"<p>version = %d.%d</p>"

l_.str.10:                              ; @.str.10
	.asciz	"<hr><address>%s</address>\n"

	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	__O_BINARY,4,2                  ; @_O_BINARY
l_str:                                  ; @str
	.asciz	"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\""

l_str.12:                               ; @str.12
	.asciz	"</body></html>"

.subsections_via_symbols
