	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addr_handler
_addr_handler:                          ## @addr_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_set_tos@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	movq	_RDMA_OPTION_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RDMA_OPTION_ID_TOS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_tos@GOTPCREL(%rip), %rcx
	movl	$4, %r8d
	callq	_rdma_set_option
	testl	%eax, %eax
	jne	LBB0_2
LBB0_3:
	movl	(%rbx), %edi
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_rdma_resolve_route
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	callq	_addr_handler.cold.1
	jmp	LBB0_5
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_perror
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function addr_handler.cold.1
_addr_handler.cold.1:                   ## @addr_handler.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	xorl	%eax, %eax
	popq	%rbp
	jmp	_connect_error                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_set_tos,8,3                    ## @set_tos
	.comm	_RDMA_OPTION_ID,4,2             ## @RDMA_OPTION_ID
	.comm	_RDMA_OPTION_ID_TOS,4,2         ## @RDMA_OPTION_ID_TOS
	.comm	_tos,4,2                        ## @tos
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"udaddy: set TOS option failed"

L_.str.1:                               ## @.str.1
	.asciz	"udaddy: resolve route failed"

	.no_dead_strip	_addr_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addr_handler
_addr_handler:                          ; @addr_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _set_tos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _set_tos@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _RDMA_OPTION_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_OPTION_ID@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _RDMA_OPTION_ID_TOS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RDMA_OPTION_ID_TOS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x3, _tos@GOTPAGE
Lloh10:
	ldr	x3, [x3, _tos@GOTPAGEOFF]
	mov	w4, #4
	bl	_rdma_set_option
	cbnz	w0, LBB0_5
LBB0_2:
	ldr	w0, [x19]
	mov	w1, #2000
	bl	_rdma_resolve_route
	mov	x19, x0
	cbnz	w0, LBB0_4
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_addr_handler.cold.1
	b	LBB0_3
LBB0_5:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_perror
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function addr_handler.cold.1
_addr_handler.cold.1:                   ; @addr_handler.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_connect_error
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_set_tos,8,3                    ; @set_tos
	.comm	_RDMA_OPTION_ID,4,2             ; @RDMA_OPTION_ID
	.comm	_RDMA_OPTION_ID_TOS,4,2         ; @RDMA_OPTION_ID_TOS
	.comm	_tos,4,2                        ; @tos
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"udaddy: set TOS option failed"

l_.str.1:                               ; @.str.1
	.asciz	"udaddy: resolve route failed"

	.no_dead_strip	_addr_handler
.subsections_via_symbols
