// File: /workspace/github_c_makefile_star2_O3/wahern[P]cqueues/src/lib/dns.c
// Function: dns_soa_print
size_t dns_soa_print(void *_dst, size_t lim, struct dns_soa *soa) {
	struct dns_buf dst = DNS_B_INTO(_dst, lim);

	dns_b_puts(&dst, soa->mname);
	dns_b_putc(&dst, ' ');
	dns_b_puts(&dst, soa->rname);
	dns_b_putc(&dst, ' ');
	dns_b_fmtju(&dst, soa->serial, 0);
	dns_b_putc(&dst, ' ');
	dns_b_fmtju(&dst, soa->refresh, 0);
	dns_b_putc(&dst, ' ');
	dns_b_fmtju(&dst, soa->retry, 0);
	dns_b_putc(&dst, ' ');
	dns_b_fmtju(&dst, soa->expire, 0);
	dns_b_putc(&dst, ' ');
	dns_b_fmtju(&dst, soa->minimum, 0);

	return dns_b_strllen(&dst);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
leaq (%rdi,%rsi), %r14
movq %rdx, %rdi
callq 0xf560
movq %rax, %r13
cmpq %rax, %r15
movq %rax, %rbp
cmovbq %r15, %rbp
movq %rbx, %rdi
movq %r12, 0x8(%rsp)
movq %r12, %rsi
movq %rbp, %rdx
callq 0xfa60
leaq (%rbx,%rbp), %r12
xorl %eax, %eax
subq %r15, %r13
cmovaeq %r13, %rax
cmpq %r15, %rbp
movq %rbx, 0x10(%rsp)
jge 0x2976b
movb $0x20, (%r12)
incq %r12
jmp 0x2976e
incq %rax
movq %rax, (%rsp)
movq 0x8(%rsp), %rax
leaq 0x100(%rax), %r13
movq %r13, %rdi
callq 0xf560
movq %rax, %rbp
movq %r14, %rbx
subq %r12, %rbx
cmpq %rax, %rbx
movq %rax, %r15
cmovbq %rbx, %r15
movq %r12, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0xfa60
addq %r12, %r15
xorl %ecx, %ecx
subq %rbx, %rbp
cmovaeq %rbp, %rcx
addq (%rsp), %rcx
cmpq %r14, %r15
jae 0x297c5
movb $0x20, (%r15)
incq %r15
jmp 0x297c8
incq %rcx
movq 0x8(%rsp), %r12
movl 0x200(%r12), %esi
xorl %r9d, %r9d
movabsq $-0x3333333333333333, %r8 # imm = 0xCCCCCCCCCCCCCCCD
movq %rsi, %rdi
movq 0x10(%rsp), %rbx
incq %r9
movq %rdi, %rax
mulq %r8
shrq $0x3, %rdx
cmpq $0x9, %rdi
movq %rdx, %rdi
ja 0x297ea
movq %r14, %rax
subq %r15, %rax
xorl %edi, %edi
subq %rax, %r9
cmovaeq %r9, %rdi
movl $0x1, %r10d
movq %r15, %r9
cmpq %r10, %rdi
jae 0x29843
cmpq %r14, %r9
jae 0x29840
movq %rsi, %rax
mulq %r8
shrl $0x2, %edx
andl $-0x2, %edx
leal (%rdx,%rdx,4), %eax
movl %esi, %edx
subl %eax, %edx
orb $0x30, %dl
movb %dl, (%r9)
incq %r9
jmp 0x29843
incq %rcx
movq %rsi, %rax
mulq %r8
shrq $0x3, %rdx
incq %r10
cmpq $0x9, %rsi
movq %rdx, %rsi
ja 0x29818
cmpq %r9, %r15
jae 0x29882
incq %r15
movq %r9, %rax
movb -0x1(%rax), %dl
movb -0x1(%r15), %sil
movb %sil, -0x1(%rax)
decq %rax
movb %dl, -0x1(%r15)
leaq 0x1(%r15), %rdx
cmpq %rax, %r15
movq %rdx, %r15
jb 0x29864
cmpq %r14, %r9
jae 0x29890
movb $0x20, (%r9)
incq %r9
jmp 0x29893
incq %rcx
movl 0x204(%r12), %esi
xorl %r10d, %r10d
movq %rsi, %rdi
incq %r10
movq %rdi, %rax
mulq %r8
shrq $0x3, %rdx
cmpq $0x9, %rdi
movq %rdx, %rdi
ja 0x298a1
movq %r14, %rax
subq %r9, %rax
xorl %edi, %edi
subq %rax, %r10
cmovaeq %r10, %rdi
movl $0x1, %r11d
movq %r9, %r10
cmpq %r11, %rdi
jae 0x298fa
cmpq %r14, %r10
jae 0x298f7
movq %rsi, %rax
mulq %r8
shrl $0x2, %edx
andl $-0x2, %edx
leal (%rdx,%rdx,4), %eax
movl %esi, %edx
subl %eax, %edx
orb $0x30, %dl
movb %dl, (%r10)
incq %r10
jmp 0x298fa
incq %rcx
movq %rsi, %rax
mulq %r8
shrq $0x3, %rdx
incq %r11
cmpq $0x9, %rsi
movq %rdx, %rsi
ja 0x298cf
cmpq %r10, %r9
jae 0x29939
incq %r9
movq %r10, %rax
movb -0x1(%rax), %dl
movb -0x1(%r9), %sil
movb %sil, -0x1(%rax)
decq %rax
movb %dl, -0x1(%r9)
leaq 0x1(%r9), %rdx
cmpq %rax, %r9
movq %rdx, %r9
jb 0x2991b
cmpq %r14, %r10
jae 0x29947
movb $0x20, (%r10)
incq %r10
jmp 0x2994a
incq %rcx
movl 0x208(%r12), %esi
xorl %r9d, %r9d
movq %rsi, %rdi
incq %r9
movq %rdi, %rax
mulq %r8
shrq $0x3, %rdx
cmpq $0x9, %rdi
movq %rdx, %rdi
ja 0x29958
movq %r14, %rax
subq %r10, %rax
xorl %edi, %edi
subq %rax, %r9
cmovaeq %r9, %rdi
movl $0x1, %r11d
movq %r10, %r9
cmpq %r11, %rdi
jae 0x299b1
cmpq %r14, %r9
jae 0x299ae
movq %rsi, %rax
mulq %r8
shrl $0x2, %edx
andl $-0x2, %edx
leal (%rdx,%rdx,4), %eax
movl %esi, %edx
subl %eax, %edx
orb $0x30, %dl
movb %dl, (%r9)
incq %r9
jmp 0x299b1
incq %rcx
movq %rsi, %rax
mulq %r8
shrq $0x3, %rdx
incq %r11
cmpq $0x9, %rsi
movq %rdx, %rsi
ja 0x29986
cmpq %r9, %r10
jae 0x299f0
incq %r10
movq %r9, %rax
movb -0x1(%rax), %dl
movb -0x1(%r10), %sil
movb %sil, -0x1(%rax)
decq %rax
movb %dl, -0x1(%r10)
leaq 0x1(%r10), %rdx
cmpq %rax, %r10
movq %rdx, %r10
jb 0x299d2
cmpq %r14, %r9
jae 0x299fe
movb $0x20, (%r9)
incq %r9
jmp 0x29a01
incq %rcx
movl 0x20c(%r12), %esi
xorl %r10d, %r10d
movq %rsi, %rdi
incq %r10
movq %rdi, %rax
mulq %r8
shrq $0x3, %rdx
cmpq $0x9, %rdi
movq %rdx, %rdi
ja 0x29a0f
movq %r14, %rax
subq %r9, %rax
xorl %edi, %edi
subq %rax, %r10
cmovaeq %r10, %rdi
movl $0x1, %r11d
movq %r9, %r10
cmpq %r11, %rdi
jae 0x29a68
cmpq %r14, %r10
jae 0x29a65
movq %rsi, %rax
mulq %r8
shrl $0x2, %edx
andl $-0x2, %edx
leal (%rdx,%rdx,4), %eax
movl %esi, %edx
subl %eax, %edx
orb $0x30, %dl
movb %dl, (%r10)
incq %r10
jmp 0x29a68
incq %rcx
movq %rsi, %rax
mulq %r8
shrq $0x3, %rdx
incq %r11
cmpq $0x9, %rsi
movq %rdx, %rsi
ja 0x29a3d
cmpq %r10, %r9
jae 0x29aa7
incq %r9
movq %r10, %rax
movb -0x1(%rax), %dl
movb -0x1(%r9), %sil
movb %sil, -0x1(%rax)
decq %rax
movb %dl, -0x1(%r9)
leaq 0x1(%r9), %rdx
cmpq %rax, %r9
movq %rdx, %r9
jb 0x29a89
cmpq %r14, %r10
jae 0x29ab5
movb $0x20, (%r10)
incq %r10
jmp 0x29ab8
incq %rcx
movl 0x210(%r12), %esi
xorl %r11d, %r11d
movq %rsi, %rdi
incq %r11
movq %rdi, %rax
mulq %r8
shrq $0x3, %rdx
cmpq $0x9, %rdi
movq %rdx, %rdi
ja 0x29ac6
movq %r14, %rax
subq %r10, %rax
xorl %r9d, %r9d
subq %rax, %r11
cmovaeq %r11, %r9
movl $0x1, %r11d
movq %r10, %rdi
cmpq %r11, %r9
jae 0x29b1f
cmpq %r14, %rdi
jae 0x29b1c
movq %rsi, %rax
mulq %r8
shrl $0x2, %edx
andl $-0x2, %edx
leal (%rdx,%rdx,4), %eax
movl %esi, %edx
subl %eax, %edx
orb $0x30, %dl
movb %dl, (%rdi)
incq %rdi
jmp 0x29b1f
incq %rcx
movq %rsi, %rax
mulq %r8
shrq $0x3, %rdx
incq %r11
cmpq $0x9, %rsi
movq %rdx, %rsi
ja 0x29af5
cmpq %rdi, %r10
jae 0x29b5e
incq %r10
movq %rdi, %rax
movb -0x1(%rax), %dl
movb -0x1(%r10), %sil
movb %sil, -0x1(%rax)
decq %rax
movb %dl, -0x1(%r10)
leaq 0x1(%r10), %rdx
cmpq %rax, %r10
movq %rdx, %r10
jb 0x29b40
cmpq %r14, %rdi
jae 0x29b6e
movb $0x0, (%rdi)
subq %rbx, %rdi
movq %rdi, %rax
jmp 0x29b8a
cmpq %rbx, %rdi
jbe 0x29b88
leaq -0x1(%rdi), %rax
cmpb $0x0, -0x1(%rdi)
je 0x29b83
incq %rcx
movb $0x0, (%rax)
subq %rbx, %rax
jmp 0x29b8a
xorl %eax, %eax
addq %rax, %rcx
movq %rcx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq