	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_rndfuns@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	cmpl	$1, %edi
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
                                        ## implicit-def: $r12d
	jmp	LBB0_9
LBB0_2:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.3:
	movq	8(%rsi), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	%r12d
	movq	%r12, %rax
	shlq	$4, %rax
	movq	8(%r15,%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_12
## %bb.7:
	movl	$1, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%r12d, %eax
LBB0_9:
	shlq	$4, %rax
	movq	(%r15,%rax), %r15
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %ebx
	xorl	%eax, %eax
	callq	*%r15
                                        ## kill: def $eax killed $eax def $rax
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	andl	$-4, %ecx
	subl	%ecx, %eax
	cltq
	incl	-64(%rbp,%rax,4)
	leal	1(%rbx), %r12d
	testl	$4194303, %ebx                  ## imm = 0x3FFFFF
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-64(%rbp), %edx
	movl	-60(%rbp), %ecx
	leal	(%rcx,%rdx), %eax
	movl	-56(%rbp), %r8d
	addl	%r8d, %eax
	movl	-52(%rbp), %r9d
	leal	(%r9,%rax), %esi
	addl	$3, %esi
                                        ## kill: def $eax killed $eax killed $rax
	addl	%r9d, %eax
	cmovnsl	%eax, %esi
	sarl	$2, %esi
	subl	%esi, %edx
	subl	%esi, %ecx
	subl	%esi, %r8d
	subl	%esi, %r9d
	movq	%r14, %rdi
	movl	%r12d, %esi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_printf
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_rndfuns,8,3                    ## @rndfuns
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d: %ld %ld %ld %ld\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:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stp	xzr, xzr, [sp, #8]
Lloh3:
	adrp	x8, _rndfuns@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rndfuns@GOTPAGEOFF]
Lloh5:
	ldr	x21, [x8]
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x8, #0
                                        ; implicit-def: $w19
	b	LBB0_9
LBB0_2:
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_6
; %bb.3:
	mov	w19, #0
	ldr	x20, [x1, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x20
	bl	_strcasecmp
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
	add	x8, x21, w19, uxtw #4
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_4
LBB0_6:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.7:
	mov	w0, #1
	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
	add	sp, sp, #96
	ret
LBB0_8:
	mov	w8, w19
LBB0_9:
	lsl	x8, x8, #4
	ldr	x21, [x21, x8]
	add	x22, sp, #8
Lloh9:
	adrp	x20, l_.str@PAGE
Lloh10:
	add	x20, x20, l_.str@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x23, x19
	blr	x21
	negs	w8, w0
	and	w8, w8, #0x3
	and	w9, w0, #0x3
	csneg	w8, w9, w8, mi
	sbfiz	x8, x8, #2, #32
	ldr	w9, [x22, x8]
	add	w9, w9, #1
	str	w9, [x22, x8]
	add	w19, w19, #1
	tst	w23, #0x3fffff
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldp	w8, w9, [sp, #8]
	ldp	w10, w11, [sp, #16]
	add	w12, w9, w8
	add	w12, w12, w10
	add	w12, w12, w11
	add	w13, w12, #3
	cmp	w12, #0
	csel	w12, w13, w12, lt
	asr	w12, w12, #2
	sub	w2, w8, w12
	sub	w3, w9, w12
	sub	w4, w10, w12
	sub	w5, w11, w12
	mov	x0, x20
	mov	x1, x19
	bl	_printf
	b	LBB0_10
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_rndfuns,8,3                    ; @rndfuns
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d: %ld %ld %ld %ld\n"

.subsections_via_symbols
