// File: /workspace/github_cpp_makefile_star2_O3/chhylp123[P]hifiasm/anchor.cpp
// Function: recalu_minimizer(unsigned long, anchor1_t*, asg16_v*, long*, long*, long*, long*, long*, unsigned long, unsigned long, tiny_queue_t*, All_reads*, UC_Read*, char*, unsigned long, unsigned long)
uint64_t recalu_minimizer(uint64_t rid, anchor1_t *z, asg16_v *sc, int64_t *iok, int64_t *ink, int64_t *ick, int64_t *str_s, int64_t *str_e, uint64_t mz_k, uint64_t mz_h, tiny_queue_t *tq, All_reads *rref, UC_Read *tu, char *qstr, uint64_t qs, uint64_t qe)
{
	int64_t id = z->srt>>33; char *str = NULL; uint64_t rpos, rspan;
	int64_t ok = *iok, nk = *ink, ck = *ick, cn = sc->n, s0, e0, s1, e1, os, oe, ots, ote, ol, wo[2], wn[2], weo[2], wen[2], ovlp, len = Get_READ_LENGTH((*rref), id); uint16_t op, bq, bt; uint32_t cl;
	e0 = ((uint32_t)z->srt) + 1; s0 = e0 - z->other_off; s1 = e1 = -1; weo[0] = weo[1] = wen[0] = wen[1] = -1;
	if(e0 <= s0) return 0;

	///debug
	// ok = nk = ck = 0;

	if((ck < 0) || (ck > cn)) {//(*ck) == cn is allowed
        ck = ok = nk = 0;
    }

	// if(id == 1/**s0 == 10260 && e0 == 10334**/) {
	// 	fprintf(stderr, "\n\n-0-qk::%ld,\ttk::%ld,\tck::%ld,\ts0::%ld,\te0::%ld\n", ok, nk, ck, s0, e0);
	// }

	while (ck > 0 && ok >= s0) {///x -> t; y -> p; first insertion and then match/mismatch
        --ck;
        op = sc->a[ck]>>14;
        // ol = (((op == 1) || (op == 2))?(sc->a[ck]&(0xfff)):(sc->a[ck]&(0x3fff)));
		if((op == 2) || (op == 3)) {
            ol = sc->a[ck]&(0xfff);
        } else if(op == 1) {
            ol = sc->a[ck]&(0x3ff);
        } else {
            ol = sc->a[ck]&(0x3fff);
        }
        if(op != 2) ok -= ol;
        if(op != 3) nk -= ol;
    }

	// char cm[4]; cm[0] = 'M'; cm[1] = 'S'; cm[2] = 'I'; cm[3] = 'D';  
	// if(id == 1/**s0 == 10260 && e0 == 10334**/) {
	// 	fprintf(stderr, "-1-qk::%ld,\ttk::%ld,\tck::%ld\n", ok, nk, ck);
	// }

	while (ck < cn && ok < e0) { ///[s0, e0)
        wo[0] = ok; wn[0] = nk; 
        // ck = pop_trace_bp(sc, ck, &op, &b, &cl);
		ck = pop_trace_bp_f(sc, ck, &op, &bq, &bt, &cl);
        if(op != 2) ok += cl;
        if(op != 3) nk += cl;
        wo[1] = ok; wn[1] = nk;  

		os = ((s0 >= wo[0])? s0 : wo[0]);
		oe = ((e0 <= wo[1])? e0 : wo[1]);
		// os = MAX(s0, wo[0]); oe = MIN(e0, wo[1]);
        ovlp = ((oe>os)? (oe-os):0);
		// if(id == 1/**s0 == 10260 && e0 == 10334**/) {
		// 	fprintf(stderr, "%u%c(q::[%ld,%ld))(t::[%ld,%ld))(ck::%ld)\n", cl, cm[op], wo[0], wo[1], wn[0], wn[1], ck);
		// }

		if(op != 2) {
			if(!ovlp) continue;
		} else {///wo[0] == wo[1]
			if(wo[0] < s0 || wo[0] >= e0) continue;
		}

		if(op < 2) {
            ots = os - wo[0] + wn[0]; ote = oe - wo[0] + wn[0];
        } else {///op == 2: more y; p == 3: more x
            ots = wn[0]; ote = wn[1];
        } 

		if(s1 == -1) s1 = ots;
		e1 = ote;

        if((op == 0) && (ovlp > 0) && (ovlp > weo[1] - weo[0])) {
			weo[0] = os; weo[1] = oe;
			wen[0] = ots; wen[1] = ote;
        }
    }

	while (ck < cn && ok <= e0) { ///[s0, e0)
        wo[0] = ok; wn[0] = nk; 
        // pop_trace_bp(sc, ck, &op, &b, &cl);
		pop_trace_bp_f(sc, ck, &op, &bq, &bt, &cl);
		if(op != 2) break;
		// ck = pop_trace_bp(sc, ck, &op, &b, &cl);
		ck = pop_trace_bp_f(sc, ck, &op, &bq, &bt, &cl);
        // if(op != 2) ok += cl;
        // if(op != 3) nk += cl;
		nk += cl;
        wo[1] = ok; wn[1] = nk;  

		// if(id == 1/**s0 == 10260 && e0 == 10334**/) {
		// 	fprintf(stderr, "%u%c(q::[%ld,%ld))(t::[%ld,%ld))(ck::%ld)\n", cl, cm[op], wo[0], wo[1], wn[0], wn[1], ck);
		// }

		if(wo[0] >= s0 && wo[0] <= e0) {
			ots = wn[0]; ote = wn[1];
			if(s1 == -1) s1 = ots;
			e1 = ote;
		}
    }

	assert(wen[1] <= len);
	assert(e1 <= len);

	*iok = ok; *ink = nk; *ick = ck; 

	if(weo[0] == s0 && weo[1] == e0) {
		z->srt >>= 32; z->srt <<= 32; z->srt |= ((uint64_t)(wen[1]-1));
		///debug
		// char sstr[256]; recover_UC_Read_sub_region(sstr, wen[0], wen[1] - wen[0], 0, rref, id);
		// if(recalu_minimizer0(sstr, wen[1] - wen[0], !(asm_opt.flag & HA_F_NO_HPC), mz_k, mz_h, tq, &rpos, &rspan) && (rpos + 1 == ((uint64_t)(wen[1] - wen[0]))) && (((uint64_t)(wen[1] - wen[0])) == rspan)) {
		// 	// fprintf(stderr, "-0-[M::%s]\n", __func__);
		// } else {
		// 	// if(((z->srt>>32)&1) == 0) {
		// 		fprintf(stderr, "-1-[M::%s]\trid::%lu\ttid::%ld\t%c\trg1::[%ld,%ld)\trg0::[%ld,%ld)\tspan::%ld\n", __func__, rid, id, "+-"[(z->srt>>32)&1], wen[0], wen[1], s0, e0, e0 - s0);
		// 		fprintf(stderr, "tstr::%.*s\n", ((uint32_t)(wen[1] - wen[0])), sstr);
		// 		fprintf(stderr, "qstr::%.*s\n", ((uint32_t)(qe - qs)), qstr + qs);
		// 		exit(1);
		// 	// }
		// }
		// if(rid == 3196 && id == 3199) fprintf(stderr, "-full-[M::%s]\n", __func__);
		return 1;
	}

	if(e1 <= s1) return 0;

	

	if(s1 >= (*str_s) && e1 <= (*str_e)) {
		str = tu->seq + s1 - (*str_s);
	} else {
		if(s1 >= (*str_s) && (s1 < (*str_e)) && (e1 > (*str_e))) {
			UC_Read_resize((*tu), (e1 - (*str_s))); 
			recover_UC_Read_sub_region(tu->seq + (*str_e) - (*str_s), (*str_e), e1 - (*str_e), 0, rref, id);
			str = tu->seq + s1 - (*str_s); (*str_e) = e1;
		} else {
			UC_Read_resize((*tu), (e1 - s1)); 
			recover_UC_Read_sub_region(tu->seq, s1, e1 - s1, 0, rref, id);
			str = tu->seq; (*str_s) = s1; (*str_e) = e1;
		}
	}

	if(recalu_minimizer0(str, e1 - s1, !(asm_opt.flag & HA_F_NO_HPC), mz_k, mz_h, tq, &rpos, &rspan)) {
		rpos += s1;
		z->srt >>= 32; z->srt <<= 32; z->srt |= rpos; z->other_off = rspan;
		// fprintf(stderr, "-1-[M::%s]\trid::%lu\ttid::%ld\t%c\trg1::[%ld,%ld)\trg0::[%ld,%ld)\tspan::%ld\n", __func__, rid, id, "+-"[(z->srt>>32)&1], s1, e1, s0, e0, e0 - s0);
		// if(rid == 3196 && id == 3199) fprintf(stderr, "-part-[M::%s]\n", __func__);
		return 1;
	}
	// fprintf(stderr, "-0-[M::%s]\trid::%lu\ttid::%ld\t%c\trg1::[%ld,%ld)\trg0::[%ld,%ld)\tspan::%ld\n", __func__, rid, id, "+-"[(z->srt>>32)&1], s1, e1, s0, e0, e0 - s0);

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl 0xc(%rsi), %eax
testq %rax, %rax
je 0x131451
movq 0xf8(%rsp), %rdi
movq %rsi, 0x58(%rsp)
movq (%rsi), %r11
movq %r11, %r13
shrq $0x21, %r13
movq (%r9), %rsi
movq (%rdx), %r10
incl %r11d
movq %r11, 0x30(%rsp)
subq %rax, %r11
testq %rsi, %rsi
sets %al
cmpq %r10, %rsi
setg %bl
xorl %r12d, %r12d
orb %al, %bl
movq %rsi, %rax
cmovneq %r12, %rax
movq 0x18(%rdi), %rdi
movq (%r8), %r14
cmovneq %r12, %r14
cmoveq (%rcx), %r12
testq %rax, %rax
movq %r11, 0x28(%rsp)
movq %r9, 0x78(%rsp)
movq %r8, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movq %rdi, 0x10(%rsp)
jle 0x130e03
cmpq %r11, %r12
jl 0x130e03
movq 0x10(%rdx), %rdi
movl $0xfff, %r9d            # imm = 0xFFF
xorl %r11d, %r11d
movq 0x28(%rsp), %rcx
movzwl -0x2(%rdi,%rsi,2), %ebp
movl %ebp, %edx
shrl $0xe, %edx
movl $0x3ff, %ebx            # imm = 0x3FF
cmpw $0x1, %dx
je 0x130dcf
movl $0x3fff, %ebx           # imm = 0x3FFF
testw %bp, %bp
cmovsl %r9d, %ebx
leaq -0x1(%rsi), %rax
andl %ebp, %ebx
cmpw $0x2, %dx
movq %rbx, %r15
cmoveq %r11, %r15
subq %r15, %r12
cmpw $0x3, %dx
cmoveq %r11, %rbx
subq %rbx, %r14
cmpq $0x2, %rsi
jb 0x130e03
movq %rax, %rsi
cmpq %rcx, %r12
jge 0x130db5
movq %r13, 0x50(%rsp)
movq 0x10(%rsp), %rcx
movq (%rcx,%r13,8), %rcx
movq %rcx, 0x80(%rsp)
movq $-0x1, 0x48(%rsp)
movw $0xffff, %dx            # imm = 0xFFFF
movq $-0x1, 0x40(%rsp)
movq $-0x1, 0x38(%rsp)
movq $-0x1, 0x20(%rsp)
movq $-0x1, 0x18(%rsp)
movq %r12, 0x10(%rsp)
movq %r14, %r8
cmpq %r10, %rax
jge 0x131098
movq 0x10(%rsp), %rcx
cmpq 0x30(%rsp), %rcx
jge 0x131098
movq 0x60(%rsp), %rcx
movq 0x10(%rcx), %r13
movl %eax, %ecx
movzwl (%r13,%rcx,2), %r11d
movl %r11d, %r15d
shrl $0xe, %r15d
movw %dx, 0xc(%rsp)
movw %dx, 0xe(%rsp)
leal -0x2(%r15), %ecx
cmpl $0x2, %ecx
jae 0x130ea5
movw $0xfff, %si             # imm = 0xFFF
movw $0xc, %cx
leaq 0xc(%rsp), %rdi
jmp 0x130ec9
movw $0x3fff, %si            # imm = 0x3FFF
testl %r15d, %r15d
je 0x130ed8
movl %r11d, %ecx
shrl $0xc, %ecx
andl $0x3, %ecx
movw %cx, 0xc(%rsp)
movw $0x3ff, %si             # imm = 0x3FF
movw $0xa, %cx
leaq 0xe(%rsp), %rdi
movzwl %r11w, %r9d
shrl %cl, %r9d
andl $0x3, %r9d
movw %r9w, (%rdi)
movzwl %si, %ecx
andl %r11d, %ecx
incl %eax
cmpq %rax, %r10
jbe 0x130f61
movzwl 0xe(%rsp), %esi
movzwl 0xc(%rsp), %ebp
movzwl (%r13,%rax,2), %edi
movl %edi, %r9d
shrl $0xe, %r9d
cmpl %r15d, %r9d
jne 0x130f61
movzwl %r15w, %r9d
leal -0x2(%r9), %ebx
cmpl $0x2, %ebx
jae 0x130f1e
movl %edi, %ebx
shrl $0xc, %ebx
andl $0x3, %ebx
andl $0xfff, %edi            # imm = 0xFFF
jmp 0x130f2d
testl %r9d, %r9d
jne 0x130f35
andl $0x3fff, %edi           # imm = 0x3FFF
movw $0xffff, %bx            # imm = 0xFFFF
movl $0xffff, %r9d           # imm = 0xFFFF
jmp 0x130f4e
movl %edi, %ebx
shrl $0xc, %ebx
andl $0x3, %ebx
movl %edi, %r9d
shrl $0xa, %r9d
andl $0x3, %r9d
andl $0x3ff, %edi            # imm = 0x3FF
cmpl %esi, %r9d
jne 0x130f61
cmpw %bx, %bp
jne 0x130f61
addl %edi, %ecx
incl %eax
cmpq %rax, %r10
ja 0x130eef
cmpw $0x3, %r15w
je 0x13103d
movl %eax, %eax
movl %ecx, %r12d
leaq (%r8,%r12), %r13
cmpw $0x2, %r15w
jne 0x131058
movq %r13, %r8
movq 0x10(%rsp), %rcx
cmpq 0x28(%rsp), %rcx
jl 0x130e52
movq 0x10(%rsp), %rsi
movq %rsi, %r15
movq %r14, %r8
movq %rsi, %r12
xorl %edi, %edi
movq %r13, %r14
movq %r15, %rbx
movq 0x10(%rsp), %rcx
subq %rcx, %rbx
movq %rsi, %r9
subq %rcx, %r9
addq %r8, %rbx
testw %r11w, %r11w
movl $0x0, %ecx
cmovsq %rcx, %r9
cmovnsq %rbx, %r13
movq %r13, 0x20(%rsp)
addq %r8, %r9
movq 0x18(%rsp), %rcx
cmpq $-0x1, %rcx
cmoveq %r9, %rcx
movq %rcx, 0x18(%rsp)
movzwl %r11w, %r8d
cmpl $0x4000, %r8d           # imm = 0x4000
setb %r8b
testq %rdi, %rdi
setg %r9b
movq 0x38(%rsp), %rcx
movq %rcx, %r11
movq 0x40(%rsp), %r13
subq %r13, %r11
cmpq %r11, %rdi
setg %dil
andb %r9b, %dil
testb %r8b, %dil
cmovneq %r15, %rcx
movq %rcx, 0x38(%rsp)
cmovneq %rsi, %r13
movq %r13, 0x40(%rsp)
movq 0x48(%rsp), %rcx
cmovneq %rbx, %rcx
movq %rcx, 0x48(%rsp)
jmp 0x130e4a
movzwl 0xc(%rsp), %esi
movw %si, 0xe(%rsp)
movw $0xffff, 0xc(%rsp)      # imm = 0xFFFF
movl %eax, %eax
movl %ecx, %r12d
movq %r8, %r14
jmp 0x13105b
movq %r13, %r14
movq 0x10(%rsp), %rsi
addq %rsi, %r12
movq 0x28(%rsp), %rcx
cmpq %rsi, %rcx
cmovgq %rcx, %rsi
movq 0x30(%rsp), %rcx
cmpq %r12, %rcx
movq %r12, %r15
cmovlq %rcx, %r15
movq %r15, %rdi
subq %rsi, %rdi
jle 0x130e4a
movq %r14, %r13
je 0x130e4a
jmp 0x130fa6
cmpq %r10, %rax
movq 0x60(%rsp), %rdx
jge 0x131231
movq 0x10(%rsp), %rcx
cmpq 0x30(%rsp), %rcx
movq 0x18(%rsp), %r14
jg 0x13123e
movq 0x10(%rdx), %rdx
movl %eax, %ecx
movzwl (%rdx,%rcx,2), %r15d
movl %r15d, %r13d
shrl $0xe, %r13d
movw $0xffff, %cx            # imm = 0xFFFF
movw %cx, 0xc(%rsp)
movw %cx, 0xe(%rsp)
movw $0xc, %cx
leal -0x2(%r13), %edi
leaq 0xc(%rsp), %rsi
cmpl $0x2, %edi
jb 0x131109
testl %r13d, %r13d
je 0x131114
movl %r15d, %ecx
shrl $0xc, %ecx
andl $0x3, %ecx
movw %cx, 0xc(%rsp)
movw $0xa, %cx
leaq 0xe(%rsp), %rsi
movl %r15d, %edi
shrl %cl, %edi
andl $0x3, %edi
movw %di, (%rsi)
movq %r14, 0x18(%rsp)
leal 0x1(%rax), %ecx
cmpq %rcx, %r10
jbe 0x131195
movzwl 0xe(%rsp), %esi
movzwl 0xc(%rsp), %ebp
leal 0x2(%rax), %r14d
movzwl %r13w, %ebx
leal -0x2(%rbx), %r11d
movq %rcx, %rdi
movzwl (%rdx,%rdi,2), %edi
movl %edi, %r9d
shrl $0xe, %r9d
cmpw %r13w, %r9w
jne 0x131195
movl $0xffff, %r9d           # imm = 0xFFFF
cmpl $0x2, %r11d
jae 0x131162
shrl $0xc, %edi
andl $0x3, %edi
movl %edi, %r12d
jmp 0x13117f
movw $0xffff, %r12w          # imm = 0xFFFF
testl %ebx, %ebx
je 0x13117f
movl %edi, %r12d
shrl $0xc, %r12d
andl $0x3, %r12d
shrl $0xa, %edi
andl $0x3, %edi
movl %edi, %r9d
cmpl %esi, %r9d
jne 0x131195
cmpw %r12w, %bp
jne 0x131195
movl %r14d, %edi
incl %r14d
cmpq %rdi, %r10
ja 0x13113a
cmpw $0x2, %r13w
jne 0x131231
movl %r15d, %eax
shrl $0xc, %eax
andl $0x3, %eax
andl $0xfff, %r15d           # imm = 0xFFF
movw $0xffff, 0xe(%rsp)      # imm = 0xFFFF
movw %ax, 0xc(%rsp)
cmpq %rcx, %r10
movq 0x18(%rsp), %r14
jbe 0x1311f6
movzwl (%rdx,%rcx,2), %esi
movl %esi, %edi
andl $0xc000, %edi           # imm = 0xC000
negw %di
jno 0x1311f4
movl %esi, %edi
shrl $0xc, %edi
andl $0x3, %edi
cmpw %di, %ax
jne 0x1311f4
andl $0xfff, %esi            # imm = 0xFFF
addl %esi, %r15d
incl %ecx
cmpq %rcx, %r10
ja 0x1311c6
movl %ecx, %ecx
movl %r15d, %esi
addq %r8, %rsi
cmpq $-0x1, %r14
cmovneq %r14, %r8
movq 0x10(%rsp), %rax
cmpq 0x28(%rsp), %rax
cmovgeq %r8, %r14
movq 0x20(%rsp), %rax
cmovgeq %rsi, %rax
movq %rax, 0x20(%rsp)
movq %rsi, %r8
movq %rcx, %rax
cmpq %rcx, %r10
jg 0x1310bf
jmp 0x131244
movq %rax, %rcx
movq %r8, %rsi
movq 0x18(%rsp), %r14
jmp 0x131244
movq %rax, %rcx
movq %r8, %rsi
movq 0x48(%rsp), %r9
movq 0x80(%rsp), %rax
cmpq %rax, %r9
jg 0x131465
movq 0x20(%rsp), %r10
cmpq %rax, %r10
movq 0x78(%rsp), %rax
movq 0x70(%rsp), %rdx
movq 0x68(%rsp), %rdi
movq 0x28(%rsp), %r8
jg 0x131484
movq 0x10(%rsp), %r11
movq %r11, (%rdi)
movq %rsi, (%rdx)
movq %rcx, (%rax)
cmpq %r8, 0x40(%rsp)
jne 0x1312b7
movq 0x38(%rsp), %rax
cmpq 0x30(%rsp), %rax
jne 0x1312b7
movq 0x58(%rsp), %rcx
movl 0x4(%rcx), %eax
shlq $0x20, %rax
decq %r9
orq %rax, %r9
movq %r9, (%rcx)
jmp 0x13144a
movq %r10, %r13
subq %r14, %r13
jle 0x131451
movq 0xd0(%rsp), %r15
movq (%r15), %rcx
cmpq %rcx, %r14
jge 0x131333
movq 0x100(%rsp), %rbx
movq (%rbx), %rdi
cmpq %r13, 0x10(%rbx)
jge 0x1312f6
movq %r13, %rsi
callq 0x2370
movq %rax, %rdi
movq %rax, (%rbx)
movq %r13, 0x10(%rbx)
movq %r14, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
movq 0xf8(%rsp), %r8
movq 0x50(%rsp), %r9
callq 0x32ef8
movq (%rbx), %rdi
movq 0xd0(%rsp), %rax
movq %r14, (%rax)
movq 0xd8(%rsp), %rax
movq 0x20(%rsp), %rcx
movq %rcx, (%rax)
jmp 0x1313dc
movq 0xd8(%rsp), %rax
movq (%rax), %rsi
cmpq %rsi, %r10
jle 0x13138f
cmpq %rsi, %r14
jge 0x1312d3
movq %r14, %rbp
movq 0x100(%rsp), %r14
movq (%r14), %rdi
movq %r10, %rax
subq %rcx, %rax
cmpq %rax, 0x10(%r14)
jge 0x1313a2
movq %rax, %rsi
callq 0x2370
movq 0x20(%rsp), %r10
movq %rax, %rdi
movq %rax, (%r14)
movq (%r15), %rcx
movq %r10, %rax
subq %rcx, %rax
movq %rax, 0x10(%r14)
movq 0xd8(%rsp), %rbx
movq (%rbx), %rsi
jmp 0x1313aa
movq 0x100(%rsp), %rax
movq (%rax), %rdi
addq %r14, %rdi
subq %rcx, %rdi
jmp 0x1313dc
movq 0xd8(%rsp), %rbx
addq %rsi, %rdi
subq %rcx, %rdi
movq %r10, %rdx
subq %rsi, %rdx
xorl %ecx, %ecx
movq 0xf8(%rsp), %r8
movq 0x50(%rsp), %r9
movq %r10, %r12
callq 0x32ef8
movq (%r14), %rdi
movq %rbp, %r14
addq %rbp, %rdi
subq (%r15), %rdi
movq %r12, (%rbx)
leaq 0x164375(%rip), %rax    # 0x295758
movl (%rax), %edx
notl %edx
andl $0x1, %edx
leaq 0x88(%rsp), %rax
leaq 0x90(%rsp), %r10
movq %r13, %rsi
movq 0xe0(%rsp), %rcx
movq 0xe8(%rsp), %r8
movq 0xf0(%rsp), %r9
pushq %rax
pushq %r10
callq 0x13009f
addq $0x10, %rsp
testq %rax, %rax
je 0x131451
addq 0x90(%rsp), %r14
movq 0x58(%rsp), %rcx
movl 0x4(%rcx), %eax
shlq $0x20, %rax
orq %r14, %rax
movq %rax, (%rcx)
movl 0x88(%rsp), %eax
movl %eax, 0xc(%rcx)
movl $0x1, %eax
jmp 0x131453
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x109a5f(%rip), %rdi    # 0x23aecb
leaq 0x109790(%rip), %rsi    # 0x23ac03
leaq 0x109a5f(%rip), %rcx    # 0x23aed9
movl $0xa2c, %edx            # imm = 0xA2C
callq 0x2110
leaq 0x109b19(%rip), %rdi    # 0x23afa4
leaq 0x109771(%rip), %rsi    # 0x23ac03
leaq 0x109a40(%rip), %rcx    # 0x23aed9
movl $0xa2d, %edx            # imm = 0xA2D
callq 0x2110