	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$1, %edi
	jle	LBB0_1
## %bb.2:
	movq	8(%rsi), %rdi
	callq	_atoi
	movl	%eax, %ebx
	movl	$11, %edi
	callq	_srand
	testl	%ebx, %ebx
	jg	LBB0_3
	jmp	LBB0_5
LBB0_1:
	movl	$11, %edi
	callq	_srand
	movl	$500000, %ebx                   ## imm = 0x7A120
LBB0_3:
	movl	%ebx, %r15d
	shrl	$2, %r15d
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rand
	cltd
	idivl	%r15d
	imull	$271828183, %edx, %esi          ## imm = 0x1033C4D7
	movq	%r14, %rdi
	callq	_printf
	decl	%ebx
	jne	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u\n"

.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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cmp	w0, #1
	b.le	LBB0_2
; %bb.1:
	ldr	x0, [x1, #8]
	bl	_atoi
	mov	x19, x0
	mov	w0, #11
	bl	_srand
	cmp	w19, #1
	b.ge	LBB0_3
	b	LBB0_5
LBB0_2:
	mov	w0, #11
	bl	_srand
	mov	w19, #41248
	movk	w19, #7, lsl #16
LBB0_3:
	lsr	w21, w19, #2
	mov	w22, #50391
	movk	w22, #4147, lsl #16
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rand
	sdiv	w8, w0, w21
	msub	w8, w8, w21, w0
	mul	w1, w8, w22
	mov	x0, x20
	bl	_printf
	subs	w19, w19, #1
	b.ne	LBB0_4
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u\n"

.subsections_via_symbols
