569fc1:	8b 57 20             	mov    0x20(%edi),%edx
569fc4:	8b 4d 08             	mov    0x8(%ebp),%ecx
569fc7:	3b d1                	cmp    %ecx,%edx
569fc9:	74 ec                	je     0x569fb7
569fcb:	8b c7                	mov    %edi,%eax
569fcd:	8b 55 dc             	mov    -0x24(%ebp),%edx
569fd0:	2b c2                	sub    %edx,%eax
569fd2:	b9 48 00 00 00       	mov    $0x48,%ecx
569fd7:	99                   	cltd
569fd8:	f7 f9                	idiv   %ecx
569fda:	8b d8                	mov    %eax,%ebx
569fdc:	8b c6                	mov    %esi,%eax
569fde:	8b d3                	mov    %ebx,%edx
569fe0:	e8 e3 f7 ff ff       	call   0x5697c8
569fe5:	85 c0                	test   %eax,%eax
569fe7:	74 08                	je     0x569ff1
569fe9:	83 c8 ff             	or     $0xffffffff,%eax
569fec:	e9 b8 03 00 00       	jmp    0x56a3a9
569ff1:	8d 57 b8             	lea    -0x48(%edi),%edx
569ff4:	89 55 d8             	mov    %edx,-0x28(%ebp)
569ff7:	33 d2                	xor    %edx,%edx
569ff9:	8b 4d dc             	mov    -0x24(%ebp),%ecx
569ffc:	8b 01                	mov    (%ecx),%eax
569ffe:	89 45 c4             	mov    %eax,-0x3c(%ebp)
56a001:	c7 45 b4 01 00 00 00 	movl   $0x1,-0x4c(%ebp)
56a008:	89 55 bc             	mov    %edx,-0x44(%ebp)
56a00b:	8b 5d dc             	mov    -0x24(%ebp),%ebx
56a00e:	3b fb                	cmp    %ebx,%edi
56a010:	74 6f                	je     0x56a081
56a012:	8b 43 0c             	mov    0xc(%ebx),%eax
56a015:	85 c0                	test   %eax,%eax
56a017:	75 07                	jne    0x56a020
56a019:	8b 55 d8             	mov    -0x28(%ebp),%edx
56a01c:	3b da                	cmp    %edx,%ebx
56a01e:	75 57                	jne    0x56a077
56a020:	8b 4b 04             	mov    0x4(%ebx),%ecx
56a023:	8b 45 c4             	mov    -0x3c(%ebp),%eax
56a026:	2b c8                	sub    %eax,%ecx
56a028:	89 4d b8             	mov    %ecx,-0x48(%ebp)
56a02b:	8b 45 b8             	mov    -0x48(%ebp),%eax
56a02e:	e8 31 f5 00 00       	call   0x579564
56a033:	40                   	inc    %eax
56a034:	89 45 c0             	mov    %eax,-0x40(%ebp)
56a037:	8b 45 b4             	mov    -0x4c(%ebp),%eax
56a03a:	e8 f5 f4 00 00       	call   0x579534
56a03f:	8b 55 e4             	mov    -0x1c(%ebp),%edx
56a042:	8b 4a 10             	mov    0x10(%edx),%ecx
56a045:	03 c1                	add    %ecx,%eax
56a047:	8b 55 c0             	mov    -0x40(%ebp),%edx
56a04a:	2b d0                	sub    %eax,%edx
56a04c:	85 d2                	test   %edx,%edx
56a04e:	7e 07                	jle    0x56a057
56a050:	8b 4d c0             	mov    -0x40(%ebp),%ecx
56a053:	2b c8                	sub    %eax,%ecx
56a055:	eb 02                	jmp    0x56a059
56a057:	33 c9                	xor    %ecx,%ecx
56a059:	8b c1                	mov    %ecx,%eax
56a05b:	8b 55 bc             	mov    -0x44(%ebp),%edx
56a05e:	3b c2                	cmp    %edx,%eax
56a060:	7f 03                	jg     0x56a065
56a062:	8b 45 bc             	mov    -0x44(%ebp),%eax
56a065:	89 45 bc             	mov    %eax,-0x44(%ebp)
56a068:	8b 45 b8             	mov    -0x48(%ebp),%eax
56a06b:	01 45 c4             	add    %eax,-0x3c(%ebp)
56a06e:	c7 45 b4 01 00 00 00 	movl   $0x1,-0x4c(%ebp)
56a075:	eb 03                	jmp    0x56a07a
56a077:	ff 45 b4             	incl   -0x4c(%ebp)
56a07a:	83 c3 48             	add    $0x48,%ebx
56a07d:	3b fb                	cmp    %ebx,%edi
56a07f:	75 91                	jne    0x56a012
56a081:	8b 55 bc             	mov    -0x44(%ebp),%edx
56a084:	8b c6                	mov    %esi,%eax
56a086:	e8 11 f5 ff ff       	call   0x56959c
56a08b:	85 c0                	test   %eax,%eax
56a08d:	74 08                	je     0x56a097
56a08f:	83 c8 ff             	or     $0xffffffff,%eax
56a092:	e9 12 03 00 00       	jmp    0x56a3a9
56a097:	8b 55 e4             	mov    -0x1c(%ebp),%edx
56a09a:	8b 4d bc             	mov    -0x44(%ebp),%ecx
56a09d:	01 4a 10             	add    %ecx,0x10(%edx)
56a0a0:	8d 47 b8             	lea    -0x48(%edi),%eax
56a0a3:	89 45 d8             	mov    %eax,-0x28(%ebp)
56a0a6:	8b 55 dc             	mov    -0x24(%ebp),%edx
56a0a9:	8b 0a                	mov    (%edx),%ecx
56a0ab:	89 4d c4             	mov    %ecx,-0x3c(%ebp)
56a0ae:	c7 45 b4 01 00 00 00 	movl   $0x1,-0x4c(%ebp)
56a0b5:	8b 5d dc             	mov    -0x24(%ebp),%ebx
56a0b8:	3b fb                	cmp    %ebx,%edi
56a0ba:	0f 84 92 00 00 00    	je     0x56a152
56a0c0:	8b 43 0c             	mov    0xc(%ebx),%eax
56a0c3:	85 c0                	test   %eax,%eax
56a0c5:	75 07                	jne    0x56a0ce
56a0c7:	8b 55 d8             	mov    -0x28(%ebp),%edx
56a0ca:	3b da                	cmp    %edx,%ebx
56a0cc:	75 76                	jne    0x56a144
56a0ce:	8b 4b 04             	mov    0x4(%ebx),%ecx
56a0d1:	8b 45 c4             	mov    -0x3c(%ebp),%eax
56a0d4:	2b c8                	sub    %eax,%ecx
56a0d6:	89 4d b8             	mov    %ecx,-0x48(%ebp)
56a0d9:	8b 45 b4             	mov    -0x4c(%ebp),%eax
56a0dc:	e8 53 f4 00 00       	call   0x579534
56a0e1:	8b 55 e4             	mov    -0x1c(%ebp),%edx
56a0e4:	8b 4a 10             	mov    0x10(%edx),%ecx
56a0e7:	03 c1                	add    %ecx,%eax
56a0e9:	50                   	push   %eax
56a0ea:	8b 45 b8             	mov    -0x48(%ebp),%eax
56a0ed:	e8 72 f4 00 00       	call   0x579564
56a0f2:	5a                   	pop    %edx
56a0f3:	3b d0                	cmp    %eax,%edx
56a0f5:	7f 17                	jg     0x56a10e
56a0f7:	68 6f 01 00 00       	push   $0x16f
56a0fc:	68 03 fb 69 00       	push   $0x69fb03
56a101:	68 bf fa 69 00       	push   $0x69fabf
56a106:	e8 35 0a ff ff       	call   0x55ab40
56a10b:	83 c4 0c             	add    $0xc,%esp
56a10e:	8b 45 b4             	mov    -0x4c(%ebp),%eax
56a111:	e8 1e f4 00 00       	call   0x579534
56a116:	8b d0                	mov    %eax,%edx
56a118:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
56a11b:	8b 41 10             	mov    0x10(%ecx),%eax
56a11e:	03 d0                	add    %eax,%edx
56a120:	8b 4d b8             	mov    -0x48(%ebp),%ecx
56a123:	8b c6                	mov    %esi,%eax
56a125:	e8 da 69 00 00       	call   0x570b04
56a12a:	40                   	inc    %eax
56a12b:	75 08                	jne    0x56a135
56a12d:	83 c8 ff             	or     $0xffffffff,%eax
56a130:	e9 74 02 00 00       	jmp    0x56a3a9
56a135:	8b 55 b8             	mov    -0x48(%ebp),%edx
56a138:	01 55 c4             	add    %edx,-0x3c(%ebp)
56a13b:	c7 45 b4 01 00 00 00 	movl   $0x1,-0x4c(%ebp)
56a142:	eb 03                	jmp    0x56a147
56a144:	ff 45 b4             	incl   -0x4c(%ebp)
56a147:	83 c3 48             	add    $0x48,%ebx
56a14a:	3b fb                	cmp    %ebx,%edi
56a14c:	0f 85 6e ff ff ff    	jne    0x56a0c0
56a152:	83 45 e4 3c          	addl   $0x3c,-0x1c(%ebp)
56a156:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
56a159:	8b 45 e0             	mov    -0x20(%ebp),%eax
56a15c:	3b c8                	cmp    %eax,%ecx
56a15e:	0f 85 2b fc ff ff    	jne    0x569d8f
56a164:	83 45 ec 24          	addl   $0x24,-0x14(%ebp)
56a168:	8b 55 ec             	mov    -0x14(%ebp),%edx
56a16b:	8b 4d e8             	mov    -0x18(%ebp),%ecx
56a16e:	3b d1                	cmp    %ecx,%edx
56a170:	0f 85 b0 fa ff ff    	jne    0x569c26
56a176:	33 d2                	xor    %edx,%edx
56a178:	8b c6                	mov    %esi,%eax
56a17a:	e8 cd 6d 00 00       	call   0x570f4c
56a17f:	8b c6                	mov    %esi,%eax
56a181:	e8 4e 67 00 00       	call   0x5708d4
56a186:	8b 55 a8             	mov    -0x58(%ebp),%edx
56a189:	f6 42 3c 04          	testb  $0x4,0x3c(%edx)
56a18d:	74 32                	je     0x56a1c1
56a18f:	b8 92 ff 00 00       	mov    $0xff92,%eax
56a194:	e8 47 be 00 00       	call   0x575fe0
56a199:	89 45 a4             	mov    %eax,-0x5c(%ebp)
56a19c:	85 c0                	test   %eax,%eax
56a19e:	75 08                	jne    0x56a1a8
56a1a0:	83 c8 ff             	or     $0xffffffff,%eax
56a1a3:	e9 01 02 00 00       	jmp    0x56a3a9
56a1a8:	8b 55 fc             	mov    -0x4(%ebp),%edx
56a1ab:	8b 52 10             	mov    0x10(%edx),%edx
56a1ae:	8b 4d a4             	mov    -0x5c(%ebp),%ecx
56a1b1:	8b 45 f8             	mov    -0x8(%ebp),%eax
56a1b4:	e8 2f bd 00 00       	call   0x575ee8
56a1b9:	8b 45 a4             	mov    -0x5c(%ebp),%eax
56a1bc:	e8 67 be 00 00       	call   0x576028
56a1c1:	8b 55 b0             	mov    -0x50(%ebp),%edx
56a1c4:	8b 45 f4             	mov    -0xc(%ebp),%eax
56a1c7:	8b 4a 2c             	mov    0x2c(%edx),%ecx
56a1ca:	8b d0                	mov    %eax,%edx
56a1cc:	c1 e0 07             	shl    $0x7,%eax
56a1cf:	03 c2                	add    %edx,%eax
56a1d1:	c1 e0 02             	shl    $0x2,%eax
56a1d4:	03 c8                	add    %eax,%ecx
56a1d6:	89 4d f0             	mov    %ecx,-0x10(%ebp)
56a1d9:	8b 55 10             	mov    0x10(%ebp),%edx
56a1dc:	8b 4d f0             	mov    -0x10(%ebp),%ecx
56a1df:	c1 e2 02             	shl    $0x2,%edx
56a1e2:	8b 41 04             	mov    0x4(%ecx),%eax
56a1e5:	8d 14 52             	lea    (%edx,%edx,2),%edx
56a1e8:	8d 14 92             	lea    (%edx,%edx,4),%edx
56a1eb:	03 c2                	add    %edx,%eax
56a1ed:	8b 50 30             	mov    0x30(%eax),%edx
56a1f0:	8b 48 34             	mov    0x34(%eax),%ecx
56a1f3:	c1 e2 02             	shl    $0x2,%edx
56a1f6:	8d 14 d2             	lea    (%edx,%edx,8),%edx
56a1f9:	03 ca                	add    %edx,%ecx
56a1fb:	89 4d e8             	mov    %ecx,-0x18(%ebp)
56a1fe:	8b 40 34             	mov    0x34(%eax),%eax
56a201:	89 45 ec             	mov    %eax,-0x14(%ebp)
56a204:	8b 45 e8             	mov    -0x18(%ebp),%eax
56a207:	8b 4d ec             	mov    -0x14(%ebp),%ecx
56a20a:	3b c8                	cmp    %eax,%ecx
56a20c:	0f 84 95 01 00 00    	je     0x56a3a7
56a212:	8b 55 ec             	mov    -0x14(%ebp),%edx
56a215:	8b 4a 04             	mov    0x4(%edx),%ecx
56a218:	85 c9                	test   %ecx,%ecx
56a21a:	0f 84 75 01 00 00    	je     0x56a395
56a220:	8b 45 ec             	mov    -0x14(%ebp),%eax
56a223:	8b 4d 0c             	mov    0xc(%ebp),%ecx
56a226:	8b 10                	mov    (%eax),%edx
56a228:	8b c1                	mov    %ecx,%eax
56a22a:	8d 0c 48             	lea    (%eax,%ecx,2),%ecx
56a22d:	8d 0c 88             	lea    (%eax,%ecx,4),%ecx
56a230:	c1 e1 02             	shl    $0x2,%ecx
56a233:	03 d1                	add    %ecx,%edx
56a235:	89 55 ac             	mov    %edx,-0x54(%ebp)
56a238:	8b 55 ac             	mov    -0x54(%ebp),%edx
56a23b:	8b 4a 1c             	mov    0x1c(%edx),%ecx
56a23e:	85 c9                	test   %ecx,%ecx
56a240:	0f 84 4f 01 00 00    	je     0x56a395
56a246:	8b 45 ac             	mov    -0x54(%ebp),%eax
56a249:	8b 4d ac             	mov    -0x54(%ebp),%ecx
56a24c:	8b 50 1c             	mov    0x1c(%eax),%edx
56a24f:	8b 41 18             	mov    0x18(%ecx),%eax
56a252:	c1 e0 02             	shl    $0x2,%eax
56a255:	8d 04 40             	lea    (%eax,%eax,2),%eax
56a258:	8d 04 80             	lea    (%eax,%eax,4),%eax
56a25b:	03 d0                	add    %eax,%edx
56a25d:	89 55 e0             	mov    %edx,-0x20(%ebp)
56a260:	8b 55 ac             	mov    -0x54(%ebp),%edx
56a263:	8b 4a 1c             	mov    0x1c(%edx),%ecx
56a266:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
56a269:	8b 45 e4             	mov    -0x1c(%ebp),%eax
56a26c:	8b 55 e0             	mov    -0x20(%ebp),%edx
56a26f:	3b c2                	cmp    %edx,%eax
56a271:	0f 84 1e 01 00 00    	je     0x56a395
56a277:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
56a27a:	8b 59 28             	mov    0x28(%ecx),%ebx
56a27d:	85 db                	test   %ebx,%ebx
56a27f:	0f 84 fe 00 00 00    	je     0x56a383
56a285:	8b 43 20             	mov    0x20(%ebx),%eax
56a288:	8b 55 08             	mov    0x8(%ebp),%edx
56a28b:	3b c2                	cmp    %edx,%eax
56a28d:	74 35                	je     0x56a2c4
56a28f:	8b 4b 20             	mov    0x20(%ebx),%ecx
56a292:	85 c9                	test   %ecx,%ecx
56a294:	0f 8c e9 00 00 00    	jl     0x56a383
56a29a:	8b 43 20             	mov    0x20(%ebx),%eax
56a29d:	8b 55 08             	mov    0x8(%ebp),%edx
56a2a0:	3b c2                	cmp    %edx,%eax
56a2a2:	0f 8f db 00 00 00    	jg     0x56a383
56a2a8:	68 9a 01 00 00       	push   $0x19a
56a2ad:	68 36 fb 69 00       	push   $0x69fb36
56a2b2:	68 0f fb 69 00       	push   $0x69fb0f
56a2b7:	e8 84 08 ff ff       	call   0x55ab40
56a2bc:	83 c4 0c             	add    $0xc,%esp
56a2bf:	e9 bf 00 00 00       	jmp    0x56a383
56a2c4:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
56a2c7:	8b 55 e4             	mov    -0x1c(%ebp),%edx
56a2ca:	8b 41 04             	mov    0x4(%ecx),%eax
56a2cd:	8b 0a                	mov    (%edx),%ecx
56a2cf:	c1 e1 03             	shl    $0x3,%ecx
56a2d2:	8d 0c c9             	lea    (%ecx,%ecx,8),%ecx
56a2d5:	03 c1                	add    %ecx,%eax
56a2d7:	89 45 d4             	mov    %eax,-0x2c(%ebp)
56a2da:	89 5d dc             	mov    %ebx,-0x24(%ebp)
56a2dd:	8b 7d dc             	mov    -0x24(%ebp),%edi
56a2e0:	eb 03                	jmp    0x56a2e5
56a2e2:	83 c7 48             	add    $0x48,%edi
56a2e5:	8b 45 d4             	mov    -0x2c(%ebp),%eax
56a2e8:	3b f8                	cmp    %eax,%edi
56a2ea:	74 0a                	je     0x56a2f6
56a2ec:	8b 57 20             	mov    0x20(%edi),%edx
56a2ef:	8b 4d 08             	mov    0x8(%ebp),%ecx
56a2f2:	3b d1                	cmp    %ecx,%edx
56a2f4:	74 ec                	je     0x56a2e2
56a2f6:	8d 47 b8             	lea    -0x48(%edi),%eax
56a2f9:	89 45 d8             	mov    %eax,-0x28(%ebp)
56a2fc:	8b c7                	mov    %edi,%eax
56a2fe:	8b 55 dc             	mov    -0x24(%ebp),%edx
56a301:	2b c2                	sub    %edx,%eax
56a303:	b9 48 00 00 00       	mov    $0x48,%ecx
56a308:	99                   	cltd
56a309:	f7 f9                	idiv   %ecx
56a30b:	8b d8                	mov    %eax,%ebx
56a30d:	8b 45 dc             	mov    -0x24(%ebp),%eax
56a310:	8b 10                	mov    (%eax),%edx
56a312:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
56a315:	8b 41 14             	mov    0x14(%ecx),%eax
56a318:	33 c9                	xor    %ecx,%ecx
56a31a:	e8 49 e8 00 00       	call   0x578b68
56a31f:	8b 55 e4             	mov    -0x1c(%ebp),%edx
56a322:	8b 42 14             	mov    0x14(%edx),%eax
56a325:	e8 ce e8 00 00       	call   0x578bf8
56a32a:	8b 55 dc             	mov    -0x24(%ebp),%edx
56a32d:	8b 0a                	mov    (%edx),%ecx
56a32f:	3b c1                	cmp    %ecx,%eax
56a331:	74 17                	je     0x56a34a
56a333:	68 a8 01 00 00       	push   $0x1a8
56a338:	68 74 fb 69 00       	push   $0x69fb74
56a33d:	68 42 fb 69 00       	push   $0x69fb42
56a342:	e8 f9 07 ff ff       	call   0x55ab40
56a347:	83 c4 0c             	add    $0xc,%esp
56a34a:	8b 45 d8             	mov    -0x28(%ebp),%eax
56a34d:	8b 55 dc             	mov    -0x24(%ebp),%edx
56a350:	8b 48 04             	mov    0x4(%eax),%ecx
56a353:	8b 02                	mov    (%edx),%eax
56a355:	8b 55 e4             	mov    -0x1c(%ebp),%edx
56a358:	2b c8                	sub    %eax,%ecx
56a35a:	8b 45 f8             	mov    -0x8(%ebp),%eax
56a35d:	8b 52 14             	mov    0x14(%edx),%edx
56a360:	e8 c3 eb 00 00       	call   0x578f28
56a365:	85 c0                	test   %eax,%eax
56a367:	74 05                	je     0x56a36e
56a369:	83 c8 ff             	or     $0xffffffff,%eax
56a36c:	eb 3b                	jmp    0x56a3a9
56a36e:	8b 55 d4             	mov    -0x2c(%ebp),%edx
56a371:	3b fa                	cmp    %edx,%edi
56a373:	75 02                	jne    0x56a377
56a375:	33 ff                	xor    %edi,%edi
56a377:	8b 45 e4             	mov    -0x1c(%ebp),%eax
56a37a:	89 78 28             	mov    %edi,0x28(%eax)
56a37d:	8b 55 e4             	mov    -0x1c(%ebp),%edx
56a380:	01 5a 08             	add    %ebx,0x8(%edx)
56a383:	83 45 e4 3c          	addl   $0x3c,-0x1c(%ebp)
56a387:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
56a38a:	8b 45 e0             	mov    -0x20(%ebp),%eax
56a38d:	3b c8                	cmp    %eax,%ecx
56a38f:	0f 85 e2 fe ff ff    	jne    0x56a277
56a395:	83 45 ec 24          	addl   $0x24,-0x14(%ebp)
56a399:	8b 55 ec             	mov    -0x14(%ebp),%edx
56a39c:	8b 4d e8             	mov    -0x18(%ebp),%ecx
56a39f:	3b d1                	cmp    %ecx,%edx
56a3a1:	0f 85 6b fe ff ff    	jne    0x56a212
56a3a7:	33 c0                	xor    %eax,%eax
56a3a9:	5f                   	pop    %edi
56a3aa:	5e                   	pop    %esi
56a3ab:	5b                   	pop    %ebx
56a3ac:	8b e5                	mov    %ebp,%esp
56a3ae:	5d                   	pop    %ebp
56a3af:	c2 0c 00             	ret    $0xc
56a3b2:	90                   	nop
56a3b3:	90                   	nop
56a3b4:	53                   	push   %ebx
56a3b5:	56                   	push   %esi
56a3b6:	57                   	push   %edi
56a3b7:	83 c4 ec             	add    $0xffffffec,%esp
56a3ba:	8b 40 0c             	mov    0xc(%eax),%eax
56a3bd:	8b 58 28             	mov    0x28(%eax),%ebx
56a3c0:	8b 50 2c             	mov    0x2c(%eax),%edx
56a3c3:	8b f3                	mov    %ebx,%esi
56a3c5:	8b ca                	mov    %edx,%ecx
56a3c7:	c1 e3 07             	shl    $0x7,%ebx
56a3ca:	03 de                	add    %esi,%ebx
56a3cc:	c1 e3 02             	shl    $0x2,%ebx
56a3cf:	03 cb                	add    %ebx,%ecx
56a3d1:	89 4c 24 04          	mov    %ecx,0x4(%esp)