	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pp_client_exch_dest
_pp_client_exch_dest:                   ## @pp_client_exch_dest
	.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
	subq	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -208(%rbp)
	movaps	%xmm0, -192(%rbp)
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -196(%rbp)
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-168(%rbp), %rdi
	movl	%r15d, %edx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movq	-168(%rbp), %rsi
	leaq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	%r13, %rdi
	callq	_getaddrinfo
	testl	%eax, %eax
	js	LBB0_5
## %bb.3:
	movq	-176(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
## %bb.4:
	movl	$-1, %r12d
	xorl	%edi, %edi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %edi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	callq	_socket
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%r12d, %edi
	callq	_connect
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r12d, %edi
	callq	_close
	movl	$-1, %r12d
	jmp	LBB0_9
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_30
LBB0_10:
	movq	-176(%rbp), %rdi
LBB0_11:
	callq	_freeaddrinfo_null
	movq	-168(%rbp), %rdi
	callq	_free
	testl	%r12d, %r12d
	js	LBB0_14
## %bb.12:
	movq	_MAX_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%edi, %edi
	jle	LBB0_18
## %bb.13:
	addq	$12, %r14
	xorl	%ebx, %ebx
	leaq	-160(%rbp), %r15
	leaq	-112(%rbp), %r13
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_gid_to_wire_gid
	movl	-12(%r14), %edx
	movl	-8(%r14), %ecx
	movl	-4(%r14), %r8d
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %r9
	callq	_sprintf
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	$52, %edx
	callq	_write
	cmpl	$52, %eax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	movq	_MAX_QP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	addq	$16, %r14
	cmpq	%rdi, %rbx
	jl	LBB0_16
LBB0_18:
	shll	$4, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	%rax, %r14
	movq	_MAX_QP@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_27
## %bb.21:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %eax
	leaq	(%rax,%rbp), %rsi
	addq	$-112, %rsi
	movl	$52, %edx
	subl	%r13d, %edx
	movl	%r12d, %edi
	callq	_read
	testl	%eax, %eax
	js	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_24 Depth=2
	addl	%eax, %r13d
	cmpl	$51, %r13d
	jbe	LBB0_24
## %bb.26:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%r15, %rbx
	shlq	$4, %rbx
	leaq	(%r14,%rbx), %rdx
	leaq	(%r14,%rbx), %rcx
	addq	$4, %rcx
	leaq	8(%r14,%rbx), %r8
	leaq	-112(%rbp), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	-160(%rbp), %r13
	movq	%r13, %r9
	callq	_sscanf
	leaq	(%r14,%rbx), %rsi
	addq	$12, %rsi
	movq	%r13, %rdi
	callq	_wire_gid_to_gid
	incq	%r15
	movq	_MAX_QP@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jl	LBB0_22
LBB0_27:
	leaq	L_.str.8(%rip), %rsi
	movl	%r12d, %edi
	movl	$5, %edx
	callq	_write
	cmpl	$5, %eax
	je	LBB0_29
## %bb.28:
	leaq	L_.str.9(%rip), %rdi
	callq	_perror
	jmp	LBB0_29
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	movl	%ebx, %edi
	movq	%rax, %rdx
	movq	%r13, %rcx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	movq	-168(%rbp), %rdi
	callq	_free
	jmp	LBB0_30
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	movq	%r13, %rdx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_30
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_29
LBB0_19:
	xorl	%r14d, %r14d
	jmp	LBB0_29
LBB0_25:
	leaq	L_.str.5(%rip), %rdi
	callq	_perror
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%r13d, %edx
	movl	$52, %ecx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
LBB0_29:
	movl	%r12d, %edi
	callq	_close
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movq	%r14, %rax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s for %s:%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Couldn't connect to %s:%d\n"

	.comm	_MAX_QP,4,2                     ## @MAX_QP
L_.str.3:                               ## @.str.3
	.asciz	"%04x:%06x:%06x:%s"

L_.str.4:                               ## @.str.4
	.asciz	"Couldn't send local address\n"

L_.str.5:                               ## @.str.5
	.asciz	"client read"

L_.str.6:                               ## @.str.6
	.asciz	"%d/%d: Couldn't read remote address [%d]\n"

L_.str.7:                               ## @.str.7
	.asciz	"%x:%x:%x:%s"

L_.str.8:                               ## @.str.8
	.asciz	"done"

L_.str.9:                               ## @.str.9
	.asciz	"client write"

	.no_dead_strip	_pp_client_exch_dest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pp_client_exch_dest
_pp_client_exch_dest:                   ; @pp_client_exch_dest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
Lloh3:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _AF_UNSPEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AF_UNSPEC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #44]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	x2, x21
	bl	_asprintf
	tbnz	x0, #63, LBB0_8
; %bb.1:
	ldr	x1, [sp, #24]
	add	x2, sp, #32
	add	x3, sp, #72
	mov	x0, x20
	bl	_getaddrinfo
	tbnz	w0, #31, LBB0_24
; %bb.2:
	ldr	x23, [sp, #72]
	cbnz	x23, LBB0_5
; %bb.3:
	mov	x0, #0
	mov	w19, #-1
	b	LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x23, #24]
	cbz	x23, LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x23, #12]
	ldr	w2, [x23, #8]
	bl	_socket
	mov	x19, x0
	tbnz	w0, #31, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w2, w1, [x23]
	mov	x0, x19
	bl	_connect
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_close
	mov	w19, #-1
	b	LBB0_4
LBB0_8:
	mov	x20, #0
	b	LBB0_29
LBB0_9:
	ldr	x0, [sp, #72]
LBB0_10:
	bl	_freeaddrinfo_null
	ldr	x0, [sp, #24]
	bl	_free
	tbnz	w19, #31, LBB0_25
; %bb.11:
Lloh11:
	adrp	x23, _MAX_QP@GOTPAGE
Lloh12:
	ldr	x23, [x23, _MAX_QP@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.12:
	mov	x24, #0
	add	x20, x22, #12
Lloh13:
	adrp	x21, l_.str.3@PAGE
Lloh14:
	add	x21, x21, l_.str.3@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #83
	mov	x0, x20
	bl	_gid_to_wire_gid
	ldp	w2, w3, [x20, #-12]
	ldur	w4, [x20, #-4]
	add	x0, sp, #116
	add	x5, sp, #83
	mov	x1, x21
	bl	_sprintf
	add	x1, sp, #116
	mov	x0, x19
	mov	w2, #52
	bl	_write
	cmp	w0, #52
	b.ne	LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x23]
	add	x20, x20, #16
	cmp	x24, x8
	b.lt	LBB0_13
LBB0_15:
	lsl	w0, w8, #4
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_28
; %bb.16:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.17:
	mov	x24, #0
	add	x25, sp, #116
	mov	w26, #52
Lloh15:
	adrp	x21, l_.str.7@PAGE
Lloh16:
	add	x21, x21, l_.str.7@PAGEOFF
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	mov	w22, #0
LBB0_19:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x25, w22, uxtw
	sub	w2, w26, w22
	mov	x0, x19
	bl	_read
	tbnz	w0, #31, LBB0_27
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	add	w22, w0, w22
	cmp	w22, #51
	b.ls	LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x22, x20, x24, lsl #4
	add	x3, x22, #4
	add	x4, x22, #8
	add	x0, sp, #116
	add	x5, sp, #83
	mov	x1, x21
	mov	x2, x22
	bl	_sscanf
	add	x1, x22, #12
	add	x0, sp, #83
	bl	_wire_gid_to_gid
	add	x24, x24, #1
	ldrsw	x8, [x23]
	cmp	x24, x8
	b.lt	LBB0_18
LBB0_22:
Lloh17:
	adrp	x1, l_.str.8@PAGE
Lloh18:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_write
	cmp	w0, #5
	b.eq	LBB0_28
; %bb.23:
Lloh19:
	adrp	x0, l_.str.9@PAGE
Lloh20:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_perror
	b	LBB0_28
LBB0_24:
Lloh21:
	adrp	x8, _stderr@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh23:
	ldr	w19, [x8]
	bl	_gai_strerror
	stp	x20, x21, [sp, #8]
	str	x0, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	ldr	x0, [sp, #24]
	bl	_free
	mov	x20, #0
	b	LBB0_29
LBB0_25:
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	stp	x20, x21, [sp]
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	mov	x20, #0
	b	LBB0_29
LBB0_26:
Lloh31:
	adrp	x8, _stderr@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	mov	x20, #0
	b	LBB0_28
LBB0_27:
Lloh36:
	adrp	x0, l_.str.5@PAGE
Lloh37:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_perror
Lloh38:
	adrp	x8, _stderr@GOTPAGE
Lloh39:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	w8, #52
	stp	x8, x24, [sp, #8]
	str	x22, [sp]
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_28:
	mov	x0, x19
	bl	_close
LBB0_29:
	ldur	x8, [x29, #-88]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.30:
	mov	x0, x20
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s for %s:%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Couldn't connect to %s:%d\n"

	.comm	_MAX_QP,4,2                     ; @MAX_QP
l_.str.3:                               ; @.str.3
	.asciz	"%04x:%06x:%06x:%s"

l_.str.4:                               ; @.str.4
	.asciz	"Couldn't send local address\n"

l_.str.5:                               ; @.str.5
	.asciz	"client read"

l_.str.6:                               ; @.str.6
	.asciz	"%d/%d: Couldn't read remote address [%d]\n"

l_.str.7:                               ; @.str.7
	.asciz	"%x:%x:%x:%s"

l_.str.8:                               ; @.str.8
	.asciz	"done"

l_.str.9:                               ; @.str.9
	.asciz	"client write"

	.no_dead_strip	_pp_client_exch_dest
.subsections_via_symbols
