	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function run_client
_run_client:                            ## @run_client
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_src_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dst_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_test@GOTPCREL(%rip), %r14
	leaq	8(%r14), %r8
	movq	_hints@GOTPCREL(%rip), %rcx
	callq	_get_rdma_addr
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_printf
LBB0_16:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	movq	_connections@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movl	(%rax,%rbx,4), %edi
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	movl	$2000, %ecx                     ## imm = 0x7D0
	callq	_rdma_resolve_addr
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_7:
	xorl	%eax, %eax
	callq	_connect_events
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.8:
	movq	_message_count@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.9:
	leaq	L_str.8(%rip), %rdi
	callq	_puts
	cmpl	$0, (%r15)
	jle	LBB0_14
## %bb.10:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	%r13, %rdi
	xorl	%esi, %esi
	callq	_post_sends
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	addq	$4, %r13
	cmpq	%rax, %rbx
	jl	LBB0_12
LBB0_14:
	leaq	L_str.9(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	callq	_poll_cqs
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	leaq	L_str.10(%rip), %rdi
	callq	_puts
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_13:
	movl	%eax, %r12d
	jmp	LBB0_16
LBB0_6:
	movl	%eax, %r12d
	callq	_run_client.cold.1
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function run_client.cold.1
_run_client.cold.1:                     ## @run_client.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.3(%rip), %rdi
	callq	_perror
	xorl	%eax, %eax
	popq	%rbp
	jmp	_connect_error                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_src_addr,4,2                   ## @src_addr
	.comm	_dst_addr,4,2                   ## @dst_addr
	.comm	_port,4,2                       ## @port
	.comm	_hints,4,2                      ## @hints
	.comm	_test,16,3                      ## @test
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"udaddy: getaddrinfo error: %s\n"

	.comm	_connections,4,2                ## @connections
L_.str.3:                               ## @.str.3
	.asciz	"udaddy: failure getting addr"

	.comm	_message_count,8,3              ## @message_count
L_str:                                  ## @str
	.asciz	"udaddy: starting client"

L_str.7:                                ## @str.7
	.asciz	"udaddy: connecting"

L_str.8:                                ## @str.8
	.asciz	"initiating data transfers"

L_str.9:                                ## @str.9
	.asciz	"receiving data transfers"

L_str.10:                               ## @str.10
	.asciz	"data transfers complete"

	.no_dead_strip	_run_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function run_client
_run_client:                            ; @run_client
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x8, _src_addr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _src_addr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _dst_addr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dst_addr@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _port@GOTPAGE
Lloh9:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x20, _test@GOTPAGE
Lloh12:
	ldr	x20, [x20, _test@GOTPAGEOFF]
Lloh13:
	adrp	x3, _hints@GOTPAGE
Lloh14:
	ldr	x3, [x3, _hints@GOTPAGEOFF]
	add	x4, x20, #8
	bl	_get_rdma_addr
	cbz	w0, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_gai_strerror
	str	x0, [sp]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_3:
Lloh17:
	adrp	x0, l_str.7@PAGE
Lloh18:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
Lloh19:
	adrp	x21, _connections@GOTPAGE
Lloh20:
	ldr	x21, [x21, _connections@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x20]
	ldr	w0, [x8, x22, lsl #2]
	ldp	w2, w1, [x9]
	mov	w3, #2000
	bl	_rdma_resolve_addr
	cbnz	w0, LBB0_16
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_7:
	bl	_connect_events
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.8:
Lloh21:
	adrp	x8, _message_count@GOTPAGE
Lloh22:
	ldr	x8, [x8, _message_count@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.9:
Lloh24:
	adrp	x0, l_str.8@PAGE
Lloh25:
	add	x0, x0, l_str.8@PAGEOFF
	bl	_puts
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.10:
	mov	x22, #0
	mov	x23, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x0, x8, x22
	mov	w1, #0
	bl	_post_sends
	cbnz	w0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_11
LBB0_13:
Lloh26:
	adrp	x0, l_str.9@PAGE
Lloh27:
	add	x0, x0, l_str.9@PAGEOFF
	bl	_puts
	bl	_poll_cqs
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.14:
Lloh28:
	adrp	x0, l_str.10@PAGE
Lloh29:
	add	x0, x0, l_str.10@PAGEOFF
	bl	_puts
	b	LBB0_2
LBB0_15:
	mov	x19, x0
	b	LBB0_2
LBB0_16:
	mov	x19, x0
	bl	_run_client.cold.1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function run_client.cold.1
_run_client.cold.1:                     ; @run_client.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
Lloh30:
	adrp	x0, l_.str.3@PAGE
Lloh31:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_perror
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_connect_error
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_src_addr,4,2                   ; @src_addr
	.comm	_dst_addr,4,2                   ; @dst_addr
	.comm	_port,4,2                       ; @port
	.comm	_hints,4,2                      ; @hints
	.comm	_test,16,3                      ; @test
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"udaddy: getaddrinfo error: %s\n"

	.comm	_connections,4,2                ; @connections
l_.str.3:                               ; @.str.3
	.asciz	"udaddy: failure getting addr"

	.comm	_message_count,8,3              ; @message_count
l_str:                                  ; @str
	.asciz	"udaddy: starting client"

l_str.7:                                ; @str.7
	.asciz	"udaddy: connecting"

l_str.8:                                ; @str.8
	.asciz	"initiating data transfers"

l_str.9:                                ; @str.9
	.asciz	"receiving data transfers"

l_str.10:                               ; @str.10
	.asciz	"data transfers complete"

	.no_dead_strip	_run_client
.subsections_via_symbols
