	.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
	movl	$1, %edi
	callq	_srandom
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_N_BUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_setbuffer
	movq	_MEGABYTES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.1:
	leaq	L_.str(%rip), %r15
	leaq	L_.str.2(%rip), %r12
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	$3, %ecx
	movq	_MEGABYTES@GOTPCREL(%rip), %rax
	imull	$515, (%rax), %eax              ## imm = 0x203
	cmpl	%eax, %ecx
	jge	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_random
	movslq	%eax, %r13
	imulq	$1374389535, %r13, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$36, %rax
	addl	%ecx, %eax
	imull	$50, %eax, %eax
	subl	%eax, %r13d
	cmpl	$-24, %r13d
	jl	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$-25, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	callq	_printf
	incl	%r14d
	cmpl	%r14d, %r13d
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-23, %r13d
	leaq	L_.str.1(%rip), %r14
	jl	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	24(%r13), %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_printf
	decl	%ebx
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-25, %r13d
	jl	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$26, %r13d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_printf
	decl	%r13d
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.comm	_buf,4,2                        ## @buf
	.comm	_N_BUF,4,2                      ## @N_BUF
	.comm	_MEGABYTES,4,2                  ## @MEGABYTES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

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

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

.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	w0, #1
	bl	_srandom
Lloh0:
	adrp	x8, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _buf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _buf@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _N_BUF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _N_BUF@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_setbuffer
Lloh9:
	adrp	x23, _MEGABYTES@GOTPAGE
Lloh10:
	ldr	x23, [x23, _MEGABYTES@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	w24, #0
	mov	w25, #34079
	movk	w25, #20971, lsl #16
Lloh11:
	adrp	x19, l_.str@PAGE
Lloh12:
	add	x19, x19, l_.str@PAGEOFF
	mov	w26, #50
Lloh13:
	adrp	x20, l_.str.1@PAGE
Lloh14:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	w27, #515
Lloh15:
	adrp	x21, l_.str.2@PAGE
Lloh16:
	add	x21, x21, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w24, w24, #3
	ldr	w8, [x23]
	mul	w8, w8, w27
	cmp	w24, w8
	b.ge	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	bl	_random
	smull	x8, w0, w25
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w9
	msub	w28, w8, w26, w0
	cmn	w28, #24
	b.lt	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #-25
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_printf
	add	w22, w22, #1
	cmp	w28, w22
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmn	w28, #23
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w28, #24
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_printf
	subs	w22, w22, #1
	b.ne	LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w28, #25
	b.lt	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w28, #26
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_printf
	subs	w22, w22, #1
	b.ne	LBB0_11
	b	LBB0_2
LBB0_12:
Lloh17:
	adrp	x8, _stdout@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_fflush
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.comm	_buf,4,2                        ; @buf
	.comm	_N_BUF,4,2                      ; @N_BUF
	.comm	_MEGABYTES,4,2                  ; @MEGABYTES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

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

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

.subsections_via_symbols
