// File: /workspace/github_c_makefile_star2_O0/lh3[P]minimap2/options.c
// Function: mm_mapopt_init
void mm_mapopt_init(mm_mapopt_t *opt)
{
	memset(opt, 0, sizeof(mm_mapopt_t));
	opt->seed = 11;
	opt->mid_occ_frac = 2e-4f;
	opt->min_mid_occ = 10;
	opt->max_mid_occ = 1000000;
	opt->sdust_thres = 0; // no SDUST masking
	opt->q_occ_frac = 0.01f;

	opt->min_cnt = 3;
	opt->min_chain_score = 40;
	opt->bw = 500, opt->bw_long = 20000;
	opt->max_gap = 5000;
	opt->max_gap_ref = -1;
	opt->max_chain_skip = 25;
	opt->max_chain_iter = 5000;
	opt->rmq_inner_dist = 1000;
	opt->rmq_size_cap = 100000;
	opt->rmq_rescue_size = 1000;
	opt->rmq_rescue_ratio = 0.1f;
	opt->chain_gap_scale = 0.8f;
	opt->chain_skip_scale = 0.0f;
	opt->max_max_occ = 4095;
	opt->occ_dist = 500;

	opt->mask_level = 0.5f;
	opt->mask_len = INT_MAX;
	opt->pri_ratio = 0.8f;
	opt->best_n = 5;

	opt->alt_drop = 0.15f;

	opt->a = 2, opt->b = 4, opt->q = 4, opt->e = 2, opt->q2 = 24, opt->e2 = 1;
	opt->transition = 0;
	opt->sc_ambi = 1;
	opt->zdrop = 400, opt->zdrop_inv = 200;
	opt->end_bonus = -1;
	opt->min_dp_max = opt->min_chain_score * opt->a;
	opt->min_ksw_len = 200;
	opt->anchor_ext_len = 20, opt->anchor_ext_shift = 6;
	opt->max_clip_ratio = 1.0f;
	opt->mini_batch_size = 500000000;
	opt->max_sw_mat = 100000000;
	opt->cap_kalloc = 500000000;

	opt->rank_min_len = 500;
	opt->rank_frac = 0.9f;

	opt->pe_ori = 0; // FF
	opt->pe_bonus = 33;

	opt->jump_min_match = 3;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
xorl %esi, %esi
movl $0x108, %edx            # imm = 0x108
callq 0x21b0
movq -0x8(%rbp), %rax
movl $0xb, 0x8(%rax)
movq -0x8(%rbp), %rax
movss 0x50085(%rip), %xmm0    # 0x56828
movss %xmm0, 0xc4(%rax)
movq -0x8(%rbp), %rax
movl $0xa, 0xcc(%rax)
movq -0x8(%rbp), %rax
movl $0xf4240, 0xd0(%rax)    # imm = 0xF4240
movq -0x8(%rbp), %rax
movl $0x0, 0xc(%rax)
movq -0x8(%rbp), %rax
movss 0x50046(%rip), %xmm0    # 0x56824
movss %xmm0, 0xc8(%rax)
movq -0x8(%rbp), %rax
movl $0x3, 0x30(%rax)
movq -0x8(%rbp), %rax
movl $0x28, 0x34(%rax)
movq -0x8(%rbp), %rax
movl $0x1f4, 0x14(%rax)      # imm = 0x1F4
movq -0x8(%rbp), %rax
movl $0x4e20, 0x18(%rax)     # imm = 0x4E20
movq -0x8(%rbp), %rax
movl $0x1388, 0x1c(%rax)     # imm = 0x1388
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x20(%rax) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl $0x19, 0x28(%rax)
movq -0x8(%rbp), %rax
movl $0x1388, 0x2c(%rax)     # imm = 0x1388
movq -0x8(%rbp), %rax
movl $0x3e8, 0x44(%rax)      # imm = 0x3E8
movq -0x8(%rbp), %rax
movl $0x186a0, 0x40(%rax)    # imm = 0x186A0
movq -0x8(%rbp), %rax
movl $0x3e8, 0x48(%rax)      # imm = 0x3E8
movq -0x8(%rbp), %rax
movss 0x4ffb5(%rip), %xmm0    # 0x56820
movss %xmm0, 0x4c(%rax)
movq -0x8(%rbp), %rax
movss 0x4ff9c(%rip), %xmm0    # 0x56818
movss %xmm0, 0x38(%rax)
movq -0x8(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x3c(%rax)
movq -0x8(%rbp), %rax
movl $0xfff, 0xdc(%rax)      # imm = 0xFFF
movq -0x8(%rbp), %rax
movl $0x1f4, 0xe0(%rax)      # imm = 0x1F4
movq -0x8(%rbp), %rax
movss 0x4ff67(%rip), %xmm0    # 0x5681c
movss %xmm0, 0x50(%rax)
movq -0x8(%rbp), %rax
movl $0x7fffffff, 0x54(%rax) # imm = 0x7FFFFFFF
movq -0x8(%rbp), %rax
movss 0x4ff47(%rip), %xmm0    # 0x56818
movss %xmm0, 0x58(%rax)
movq -0x8(%rbp), %rax
movl $0x5, 0x5c(%rax)
movq -0x8(%rbp), %rax
movss 0x4ff27(%rip), %xmm0    # 0x56814
movss %xmm0, 0x60(%rax)
movq -0x8(%rbp), %rax
movl $0x2, 0x64(%rax)
movq -0x8(%rbp), %rax
movl $0x4, 0x68(%rax)
movq -0x8(%rbp), %rax
movl $0x4, 0x6c(%rax)
movq -0x8(%rbp), %rax
movl $0x2, 0x70(%rax)
movq -0x8(%rbp), %rax
movl $0x18, 0x74(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x78(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x7c(%rax)
movq -0x8(%rbp), %rax
movl $0x1, 0x80(%rax)
movq -0x8(%rbp), %rax
movl $0x190, 0x90(%rax)      # imm = 0x190
movq -0x8(%rbp), %rax
movl $0xc8, 0x94(%rax)
movq -0x8(%rbp), %rax
movl $0xffffffff, 0x98(%rax) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rax
movl 0x34(%rax), %ecx
movq -0x8(%rbp), %rax
imull 0x64(%rax), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x9c(%rax)
movq -0x8(%rbp), %rax
movl $0xc8, 0xa0(%rax)
movq -0x8(%rbp), %rax
movl $0x14, 0xa4(%rax)
movq -0x8(%rbp), %rax
movl $0x6, 0xa8(%rax)
movq -0x8(%rbp), %rax
movss 0x4fe4a(%rip), %xmm0    # 0x56810
movss %xmm0, 0xac(%rax)
movq -0x8(%rbp), %rax
movq $0x1dcd6500, 0xe8(%rax) # imm = 0x1DCD6500
movq -0x8(%rbp), %rax
movq $0x5f5e100, 0xf0(%rax) # imm = 0x5F5E100
movq -0x8(%rbp), %rax
movq $0x1dcd6500, 0xf8(%rax) # imm = 0x1DCD6500
movq -0x8(%rbp), %rax
movl $0x1f4, 0xb0(%rax)      # imm = 0x1F4
movq -0x8(%rbp), %rax
movss 0x4fdf7(%rip), %xmm0    # 0x5680c
movss %xmm0, 0xb4(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0xb8(%rax)
movq -0x8(%rbp), %rax
movl $0x21, 0xbc(%rax)
movq -0x8(%rbp), %rax
movl $0x3, 0xc0(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)