	.file	"extr_fdfs_server_id_func.c_fdfs_get_storage_id_by_ip.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fdfs_get_storage_id_by_ip
	.type	fdfs_get_storage_id_by_ip, @function
fdfs_get_storage_id_by_ip:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 56
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR fdfs_cmp_group_name_and_ip[rip]
	mov	edx, DWORD PTR g_storage_ids_by_ip[rip]
	mov	ecx, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 8[rsp], rsi
	mov	esi, DWORD PTR g_storage_ids_by_ip[rip+4]
	mov	QWORD PTR [rsp], rdi
	mov	rdi, rsp
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 16[rsp], 0
	call	bsearch@PLT
	xor	r8d, r8d
	test	rax, rax
	je	.L1
	mov	r8, QWORD PTR 16[rax]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	mov	rax, r8
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fdfs_get_storage_id_by_ip, .-fdfs_get_storage_id_by_ip
	.comm	g_storage_ids_by_ip,8,8
	.comm	fdfs_cmp_group_name_and_ip,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_fdfs_server_id_func.c_fdfs_get_storage_id_by_ip.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fdfs_get_storage_id_by_ip
	.syntax unified
	.arm
	.fpu softvfp
	.type	fdfs_get_storage_id_by_ip, %function
fdfs_get_storage_id_by_ip:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	lr, r1
	mov	ip, #0
	ldr	r2, .L8
	ldr	r3, .L8+4
	ldr	r1, [r2]
	sub	sp, sp, #32
	ldr	r2, [r3]
	str	lr, [sp, #16]
	str	r1, [sp]
	ldr	lr, .L8+8
	str	r0, [sp, #12]
	ldr	r1, [r3, #4]
	add	r0, sp, #12
	mov	r3, #16
	ldr	lr, [lr]
	str	lr, [sp, #28]
	mov	lr,#0
	str	ip, [sp, #24]
	str	ip, [sp, #20]
	bl	bsearch
	ldr	r3, .L8+8
	cmp	r0, #0
	ldrne	r0, [r0, #8]
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #32
	@ sp needed
	pop	{r4, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	fdfs_cmp_group_name_and_ip
	.word	g_storage_ids_by_ip
	.word	.LC0
	.size	fdfs_get_storage_id_by_ip, .-fdfs_get_storage_id_by_ip
	.comm	g_storage_ids_by_ip,8,4
	.comm	fdfs_cmp_group_name_and_ip,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
