	.file	"extr_ip_vs_sh.c_ip_vs_sh_schedule.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ip_vs_sh_schedule(): Scheduling...\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"no destination available"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"SH: source IP address %s --> server %s:%d\n"
	.text
	.p2align 4
	.type	ip_vs_sh_schedule, @function
ip_vs_sh_schedule:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rdx
	lea	r13, 4[r12]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	ip_vs_iph_inverse@PLT
	lea	rsi, .LC0[rip]
	mov	edi, 6
	test	rax, rax
	cmove	r13, r12
	call	IP_VS_DBG@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	ecx, edx
	and	ecx, DWORD PTR IP_VS_SVC_F_SCHED_SH_PORT[rip]
	jne	.L14
.L4:
	test	DWORD PTR IP_VS_SVC_F_SCHED_SH_FALLBACK[rip], edx
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdx, r13
	mov	rdi, rbp
	je	.L5
	call	ip_vs_sh_get_fallback@PLT
	mov	r12, rax
.L6:
	test	r12, r12
	je	.L15
	mov	edi, DWORD PTR [r12]
	call	ntohs@PLT
	mov	edi, DWORD PTR 8[r12]
	lea	rsi, 4[r12]
	mov	ebx, eax
	call	IP_VS_DBG_ADDR@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	rsi, r13
	mov	r14d, eax
	call	IP_VS_DBG_ADDR@PLT
	mov	r8d, ebx
	mov	ecx, r14d
	mov	edi, 6
	mov	edx, eax
	lea	rsi, .LC2[rip]
	call	IP_VS_DBG_BUF@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	ip_vs_sh_get@PLT
	mov	r12, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rsi, r12
	mov	rdi, r14
	call	ip_vs_sh_get_port@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	ecx, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	ip_vs_scheduler_err@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ip_vs_sh_schedule, .-ip_vs_sh_schedule
	.comm	IP_VS_SVC_F_SCHED_SH_PORT,4,4
	.comm	IP_VS_SVC_F_SCHED_SH_FALLBACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ip_vs_sh.c_ip_vs_sh_schedule.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ip_vs_sh_schedule(): Scheduling...\012\000"
	.align	2
.LC1:
	.ascii	"no destination available\000"
	.align	2
.LC2:
	.ascii	"SH: source IP address %s --> server %s:%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip_vs_sh_schedule, %function
ip_vs_sh_schedule:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	sub	sp, sp, #12
	mov	r0, r2
	mov	r4, r2
	mov	r7, r1
	bl	ip_vs_iph_inverse
	ldr	r1, .L16
	cmp	r0, #0
	mov	r0, #6
	moveq	r6, r4
	addne	r6, r4, #4
	bl	IP_VS_DBG
	ldr	r3, .L16+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	ands	r3, r2, r3
	bne	.L14
.L4:
	ldr	r0, .L16+8
	ldr	r1, [r5, #8]
	ldr	r0, [r0]
	tst	r2, r0
	mov	r2, r6
	mov	r0, r5
	beq	.L5
	bl	ip_vs_sh_get_fallback
	mov	r4, r0
.L6:
	cmp	r4, #0
	beq	.L15
	mov	r1, r6
	ldr	r0, [r5, #4]
	bl	IP_VS_DBG_ADDR
	add	r1, r4, #4
	mov	r5, r0
	ldr	r0, [r4, #8]
	bl	IP_VS_DBG_ADDR
	mov	r6, r0
	ldr	r0, [r4]
	bl	ntohs
	mov	r3, r6
	str	r0, [sp]
	mov	r2, r5
	mov	r0, #6
	ldr	r1, .L16+12
	bl	IP_VS_DBG_BUF
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	ip_vs_sh_get
	mov	r4, r0
	b	.L6
.L14:
	mov	r1, r4
	mov	r0, r7
	bl	ip_vs_sh_get_port
	ldr	r2, [r5]
	mov	r3, r0
	b	.L4
.L15:
	mov	r0, r5
	ldr	r1, .L16+16
	bl	ip_vs_scheduler_err
	b	.L1
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	IP_VS_SVC_F_SCHED_SH_PORT
	.word	IP_VS_SVC_F_SCHED_SH_FALLBACK
	.word	.LC2
	.word	.LC1
	.size	ip_vs_sh_schedule, .-ip_vs_sh_schedule
	.comm	IP_VS_SVC_F_SCHED_SH_PORT,4,4
	.comm	IP_VS_SVC_F_SCHED_SH_FALLBACK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
