	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function main
LCPI0_0:
	.quad	0x3fd0a3d70a3d70a4              ## double 0.26000000000000001
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %edi
	jl	LBB0_2
## %bb.1:
	movq	8(%rsi), %rdi
	callq	_printit
LBB0_2:
	movq	_LINELENGTH@GOTPCREL(%rip), %r15
	movslq	(%r15), %rdi
	callq	_malloc
	testq	%rax, %rax
	jne	LBB0_3
## %bb.25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_3:
	movq	%rax, %r13
	movq	_stdf@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sdl	(%rcx,%rbx,4), %xmm0
	callq	_log
	movl	%eax, %r14d
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_log
	addl	%r14d, %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$26, %rbx
	jne	LBB0_4
## %bb.5:
	leaq	-160(%rbp), %rdi
	movl	$104, %esi
	callq	_bzero
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	(%r15), %rdx
	movq	%r13, %rsi
	callq	_read
	testl	%eax, %eax
	js	LBB0_23
## %bb.6:
	movl	%eax, %r14d
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
LBB0_13:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	(%r12), %r13
	leaq	4(%r13), %rbx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	movabsq	$5675921253449092805, %r10      ## imm = 0x4EC4EC4EC4EC4EC5
	xorl	%r12d, %r12d
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	%r8, %rcx
	movq	%r9, %rsi
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rsi, %rax
	mulq	%r10
	shrq	$3, %rdx
	imulq	$-104, %rdx, %r15
	movq	%rcx, %rax
	mulq	%r10
	addq	%rbx, %r15
	shrq	$3, %rdx
	imulq	$-104, %rdx, %rax
	addq	%r13, %rax
	movl	(%rax,%r14,4), %eax
	imull	-160(%rbp,%r14,4), %eax
	addl	%edi, %eax
	movl	(%r15,%r14,4), %edi
	imull	-156(%rbp,%r14,4), %edi
	addl	%eax, %edi
	addq	$2, %r14
	addq	$2, %rsi
	addq	$2, %rcx
	cmpq	$26, %r14
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	testq	%r8, %r8
	cmovel	%edi, %r11d
	cmpl	%r11d, %edi
	cmovgl	%edi, %r11d
	cmovgl	%r8d, %r12d
	incq	%r8
	addq	$4, %rbx
	incq	%r9
	addq	$4, %r13
	cmpq	$26, %r8
	jne	LBB0_14
## %bb.17:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movl	%eax, %r15d
	testl	%eax, %eax
	jle	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%r15d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13,%rbx), %edi
	movl	%r12d, %esi
	callq	_ROTATE
	movl	%eax, %edi
	callq	_putchar
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	_LINELENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	cmpl	%edx, %r15d
	jl	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_read
	testl	%eax, %eax
	jns	LBB0_18
LBB0_23:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_7:
	movl	%r14d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	%ecx, %rax
	addq	%rbx, %rax
	incl	-160(%rbp,%rax,4)
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	testq	%r13, %r13
	je	LBB0_13
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movzbl	-1(%rax,%r13), %ebx
	decq	%r13
	movl	%ebx, %edi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	callq	_islower
	movl	$-97, %ecx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%ebx, %edi
	callq	_isupper
	movl	$-65, %ecx
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_12
LBB0_24:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_LINELENGTH,4,2                 ## @LINELENGTH
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"caesar: out of memory.\n"

	.comm	_stdf,8,3                       ## @stdf
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
L_.str.1:                               ## @.str.1
	.asciz	"caesar: %s\n"

	.comm	_errno,4,2                      ## @errno
.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, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x1, #8]
	bl	_printit
LBB0_2:
Lloh0:
	adrp	x22, _LINELENGTH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LINELENGTH@GOTPAGEOFF]
	ldrsw	x0, [x22]
	bl	_malloc
	cbnz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_4:
	mov	x19, x0
	mov	x21, #0
Lloh7:
	adrp	x24, _stdf@GOTPAGE
Lloh8:
	ldr	x24, [x24, _stdf@GOTPAGEOFF]
	ldr	x8, [x24]
	mov	x23, #28836
	movk	x23, #2621, lsl #16
	movk	x23, #41943, lsl #32
	movk	x23, #16336, lsl #48
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x8, x21]
	sshll.2d	v0, v0, #0
	scvtf	d0, d0
	bl	_log
	mov	x20, x0
	fmov	d0, x23
	bl	_log
	add	w9, w0, w20
	ldr	x8, [x24]
	str	w9, [x8, x21]
	add	x21, x21, #4
	cmp	x21, #104
	b.ne	LBB0_5
; %bb.6:
	add	x0, sp, #8
	mov	w1, #104
	bl	_bzero
Lloh9:
	adrp	x23, _STDIN_FILENO@GOTPAGE
Lloh10:
	ldr	x23, [x23, _STDIN_FILENO@GOTPAGEOFF]
	ldr	w0, [x23]
	ldrsw	x2, [x22]
	mov	x1, x19
	bl	_read
	tbz	w0, #31, LBB0_9
LBB0_7:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_8:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_9:
	mov	x20, x0
	cbnz	w0, LBB0_20
LBB0_10:
	mov	x8, #0
	mov	w21, #0
	mov	w10, #0
	ldr	x9, [x24]
	mov	x11, #20165
	movk	x11, #50412, lsl #16
	movk	x11, #60494, lsl #32
	movk	x11, #20164, lsl #48
	mov	x12, #-104
	add	x13, sp, #8
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x15, #0
	mov	w14, #0
	mov	x16, x8
	mov	x17, x9
LBB0_12:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	umulh	x0, x16, x11
	lsr	x0, x0, #3
	mul	x0, x0, x12
	ldr	w1, [x13, x15]
	ldr	w0, [x17, x0]
	madd	w14, w0, w1, w14
	add	x17, x17, #4
	add	x16, x16, #1
	add	x15, x15, #4
	cmp	x15, #104
	b.ne	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x8, #0
	csel	w10, w14, w10, eq
	cmp	w14, w10
	csel	w10, w14, w10, gt
	csel	w21, w8, w21, gt
	add	x8, x8, #1
	add	x9, x9, #4
	cmp	x8, #26
	b.ne	LBB0_11
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x23]
	mov	x1, x19
	bl	_read
	mov	x20, x0
	tbnz	w0, #31, LBB0_7
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w24, w20
	mov	x25, x19
LBB0_17:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x25], #1
	mov	x1, x21
	bl	_ROTATE
	bl	_putchar
	subs	x24, x24, #1
	b.ne	LBB0_17
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldrsw	x2, [x22]
	cmp	w20, w2
	b.ge	LBB0_14
; %bb.19:
	mov	w0, #0
	bl	_exit
LBB0_20:
	mov	w26, w20
	sub	x25, x19, #1
	add	x27, sp, #8
	b	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_24 Depth=1
	mov	w8, #-97
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	add	w8, w8, w21
	sbfiz	x8, x8, #2, #32
	ldr	w9, [x27, x8]
	add	w9, w9, #1
	str	w9, [x27, x8]
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	cbz	x26, LBB0_10
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w21, [x25, x26]
	sub	x26, x26, #1
	mov	x0, x21
	bl	_isascii
	cbz	x0, LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x21
	bl	_islower
	cbnz	x0, LBB0_21
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	x0, x21
	bl	_isupper
	cbz	x0, LBB0_23
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	w8, #-65
	b	LBB0_22
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_LINELENGTH,4,2                 ; @LINELENGTH
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"caesar: out of memory.\n"

	.comm	_stdf,8,3                       ; @stdf
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
l_.str.1:                               ; @.str.1
	.asciz	"caesar: %s\n"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
