	.file	"extr_udaddy.c_addr_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"udaddy: set TOS option failed"
.LC1:
	.string	"udaddy: resolve route failed"
	.text
	.p2align 4
	.type	addr_handler, @function
addr_handler:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR set_tos[rip], 0
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, DWORD PTR [rdi]
	jne	.L11
.L2:
	mov	esi, 2000
	call	rdma_resolve_route@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L12
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edx, DWORD PTR RDMA_OPTION_ID_TOS[rip]
	mov	esi, DWORD PTR RDMA_OPTION_ID[rip]
	mov	r8d, 4
	lea	rcx, tos[rip]
	call	rdma_set_option@PLT
	test	eax, eax
	jne	.L3
.L9:
	mov	edi, DWORD PTR [r12]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, .LC1[rip]
	call	perror@PLT
	xor	eax, eax
	call	connect_error@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	perror@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	addr_handler, .-addr_handler
	.comm	tos,4,4
	.comm	set_tos,8,8
	.comm	RDMA_OPTION_ID_TOS,4,4
	.comm	RDMA_OPTION_ID,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_udaddy.c_addr_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"udaddy: set TOS option failed\000"
	.align	2
.LC1:
	.ascii	"udaddy: resolve route failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	addr_handler, %function
addr_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L16
	mov	r4, r0
	ldr	r3, [r3]
	ldr	r0, [r0]
	cmp	r3, #0
	sub	sp, sp, #8
	bne	.L14
	mov	r1, #2000
	bl	rdma_resolve_route
	subs	r4, r0, #0
	bne	.L15
.L1:
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L14:
	mov	r1, #4
	ldr	r3, .L16+4
	ldr	r2, .L16+8
	str	r1, [sp]
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, .L16+12
	bl	rdma_set_option
	cmp	r0, #0
	bne	.L3
.L12:
	ldr	r0, [r4]
	mov	r1, #2000
	bl	rdma_resolve_route
	subs	r4, r0, #0
	beq	.L1
.L15:
	ldr	r0, .L16+16
	bl	perror
	bl	connect_error
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L3:
	ldr	r0, .L16+20
	bl	perror
	b	.L12
.L17:
	.align	2
.L16:
	.word	set_tos
	.word	RDMA_OPTION_ID
	.word	RDMA_OPTION_ID_TOS
	.word	tos
	.word	.LC1
	.word	.LC0
	.size	addr_handler, .-addr_handler
	.comm	tos,4,4
	.comm	set_tos,4,4
	.comm	RDMA_OPTION_ID_TOS,4,4
	.comm	RDMA_OPTION_ID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
