	.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, %r12
	movl	%esi, %r14d
	movq	%rdi, %r15
	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	%r14d, %edx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_8
## %bb.1:
	movq	-168(%rbp), %rsi
	leaq	-208(%rbp), %rdx
	leaq	-176(%rbp), %rcx
	movq	%r15, %rdi
	callq	_getaddrinfo
	testl	%eax, %eax
	js	LBB0_16
## %bb.2:
	movq	-176(%rbp), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.3:
	movl	$-1, %r13d
	xorl	%edi, %edi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %edi
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	callq	_socket
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movl	%r13d, %edi
	callq	_connect
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r13d, %edi
	callq	_close
	movl	$-1, %r13d
	jmp	LBB0_4
LBB0_8:
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_9:
	movq	-176(%rbp), %rdi
LBB0_10:
	callq	_freeaddrinfo_null
	movq	-168(%rbp), %rdi
	callq	_free
	testl	%r13d, %r13d
	js	LBB0_17
## %bb.11:
	leaq	12(%r12), %rdi
	leaq	-160(%rbp), %r14
	movq	%r14, %rsi
	callq	_gid_to_wire_gid
	movl	(%r12), %edx
	movl	4(%r12), %ecx
	movl	8(%r12), %r8d
	leaq	L_.str.3(%rip), %rsi
	leaq	-112(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %r9
	callq	_sprintf
	movl	%r13d, %edi
	movq	%r15, %rsi
	movl	$52, %edx
	callq	_write
	cmpl	$52, %eax
	jne	LBB0_18
## %bb.12:
	leaq	-112(%rbp), %rsi
	movl	%r13d, %edi
	movl	$52, %edx
	callq	_read
	cmpl	$52, %eax
	jne	LBB0_20
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	movl	%r13d, %edi
	movl	$5, %edx
	callq	_write
	cmpl	$5, %eax
	jne	LBB0_20
## %bb.14:
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	%rax, %r12
	leaq	4(%rax), %rcx
	leaq	8(%rax), %r8
	leaq	L_.str.8(%rip), %rsi
	leaq	-112(%rbp), %rdi
	leaq	-160(%rbp), %r14
	movq	%rax, %rdx
	movq	%r14, %r9
	callq	_sscanf
	movq	%r12, %rsi
	addq	$12, %rsi
	movq	%r14, %rdi
	callq	_wire_gid_to_gid
	jmp	LBB0_22
LBB0_16:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%ebx, %edi
	movq	%rax, %rdx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	movq	-168(%rbp), %rdi
	callq	_free
	jmp	LBB0_23
LBB0_17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_23
LBB0_18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_22
LBB0_20:
	callq	_pp_client_exch_dest.cold.1
LBB0_21:
	xorl	%r12d, %r12d
LBB0_22:
	movl	%r13d, %edi
	callq	_close
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movq	%r12, %rax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function pp_client_exch_dest.cold.1
_pp_client_exch_dest.cold.1:            ## @pp_client_exch_dest.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.6(%rip), %rdi
	callq	_perror
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	popq	%rbp
	retq
	.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"

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	"done"

L_.str.6:                               ## @.str.6
	.asciz	"client read/write"

L_.str.7:                               ## @.str.7
	.asciz	"Couldn't read/write remote address\n"

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

	.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, #240
	.cfi_def_cfa_offset 240
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	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, #-56]
	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_16
; %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_21
LBB0_9:
	ldr	x0, [sp, #72]
LBB0_10:
	bl	_freeaddrinfo_null
	ldr	x0, [sp, #24]
	bl	_free
	tbnz	w19, #31, LBB0_17
; %bb.11:
	add	x0, x22, #12
	add	x1, sp, #83
	bl	_gid_to_wire_gid
	ldp	w2, w3, [x22]
	ldr	w4, [x22, #8]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	sub	x0, x29, #108
	add	x5, sp, #83
	bl	_sprintf
	sub	x1, x29, #108
	mov	x0, x19
	mov	w2, #52
	bl	_write
	cmp	w0, #52
	b.ne	LBB0_18
; %bb.12:
	sub	x1, x29, #108
	mov	x0, x19
	mov	w2, #52
	bl	_read
	cmp	w0, #52
	b.ne	LBB0_23
; %bb.13:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_write
	cmp	w0, #5
	b.ne	LBB0_23
; %bb.14:
	mov	w0, #16
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_20
; %bb.15:
	add	x3, x20, #4
	add	x4, x20, #8
Lloh15:
	adrp	x1, l_.str.8@PAGE
Lloh16:
	add	x1, x1, l_.str.8@PAGEOFF
	sub	x0, x29, #108
	add	x5, sp, #83
	mov	x2, x20
	bl	_sscanf
	add	x1, x20, #12
	add	x0, sp, #83
	bl	_wire_gid_to_gid
	b	LBB0_20
LBB0_16:
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
	bl	_gai_strerror
	stp	x20, x21, [sp, #8]
	str	x0, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	ldr	x0, [sp, #24]
	bl	_free
	mov	x20, #0
	b	LBB0_21
LBB0_17:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	stp	x20, x21, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	mov	x20, #0
	b	LBB0_21
LBB0_18:
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_19:
	mov	x20, #0
LBB0_20:
	mov	x0, x19
	bl	_close
LBB0_21:
	ldur	x8, [x29, #-56]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.22:
	mov	x0, x20
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_23:
	bl	_pp_client_exch_dest.cold.1
	b	LBB0_19
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function pp_client_exch_dest.cold.1
_pp_client_exch_dest.cold.1:            ; @pp_client_exch_dest.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
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_perror
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.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"

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	"done"

l_.str.6:                               ; @.str.6
	.asciz	"client read/write"

l_.str.7:                               ; @.str.7
	.asciz	"Couldn't read/write remote address\n"

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

	.no_dead_strip	_pp_client_exch_dest
.subsections_via_symbols
