	.file	"extr_ip_vs_ctl.c_ip_vs_genl_dump_daemons.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ip_vs_genl_dump_daemons, @function
ip_vs_genl_dump_daemons:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 4[rdi]
	call	sock_net@PLT
	mov	rdi, rax
	call	net_ipvs@PLT
	lea	r13, 4[rax]
	mov	rbx, rax
	mov	rdi, r13
	call	mutex_lock@PLT
	mov	eax, DWORD PTR [rbx]
	mov	esi, DWORD PTR IP_VS_STATE_MASTER[rip]
	test	eax, esi
	je	.L2
	mov	rdx, QWORD PTR [r12]
	mov	edx, DWORD PTR [rdx]
	test	edx, edx
	je	.L14
.L2:
	mov	esi, DWORD PTR IP_VS_STATE_BACKUP[rip]
	test	esi, eax
	je	.L4
.L16:
	mov	rax, QWORD PTR [r12]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	je	.L15
.L4:
	mov	rdi, r13
	call	mutex_unlock@PLT
	mov	eax, DWORD PTR 0[rbp]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	lea	rdx, 12[rbx]
	mov	rcx, r12
	mov	rdi, rbp
	call	ip_vs_genl_dump_daemon@PLT
	test	rax, rax
	js	.L4
	mov	rax, QWORD PTR [r12]
	mov	DWORD PTR [rax], 1
	mov	eax, DWORD PTR [rbx]
	mov	esi, DWORD PTR IP_VS_STATE_BACKUP[rip]
	test	esi, eax
	je	.L4
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L15:
	lea	rdx, 8[rbx]
	mov	rcx, r12
	mov	rdi, rbp
	call	ip_vs_genl_dump_daemon@PLT
	test	rax, rax
	js	.L4
	mov	rax, QWORD PTR [r12]
	mov	DWORD PTR 4[rax], 1
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	ip_vs_genl_dump_daemons, .-ip_vs_genl_dump_daemons
	.comm	IP_VS_STATE_MASTER,4,4
	.comm	IP_VS_STATE_BACKUP,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_ctl.c_ip_vs_genl_dump_daemons.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ip_vs_genl_dump_daemons, %function
ip_vs_genl_dump_daemons:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r0, #4]
	mov	r6, r1
	bl	sock_net
	bl	net_ipvs
	mov	r4, r0
	add	r7, r0, #4
	mov	r0, r7
	bl	mutex_lock
	ldr	r2, .L17
	ldr	r3, [r4]
	ldr	r1, [r2]
	tst	r3, r1
	beq	.L2
	ldr	r2, [r6]
	ldr	r2, [r2]
	cmp	r2, #0
	beq	.L14
.L2:
	ldr	r2, .L17+4
	ldr	r1, [r2]
	tst	r1, r3
	beq	.L4
.L16:
	ldr	r3, [r6]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L15
.L4:
	mov	r0, r7
	bl	mutex_unlock
	ldr	r0, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r3, r6
	mov	r0, r5
	add	r2, r4, #12
	bl	ip_vs_genl_dump_daemon
	cmp	r0, #0
	blt	.L4
	mov	r2, #1
	ldr	r3, [r6]
	str	r2, [r3]
	ldr	r2, .L17+4
	ldr	r3, [r4]
	ldr	r1, [r2]
	tst	r1, r3
	beq	.L4
	b	.L16
.L15:
	mov	r3, r6
	add	r2, r4, #8
	mov	r0, r5
	bl	ip_vs_genl_dump_daemon
	cmp	r0, #0
	movge	r2, #1
	ldrge	r3, [r6]
	strge	r2, [r3, #4]
	b	.L4
.L18:
	.align	2
.L17:
	.word	IP_VS_STATE_MASTER
	.word	IP_VS_STATE_BACKUP
	.size	ip_vs_genl_dump_daemons, .-ip_vs_genl_dump_daemons
	.comm	IP_VS_STATE_MASTER,4,4
	.comm	IP_VS_STATE_BACKUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
