	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_channel_connect_to_path        ## -- Begin function channel_connect_to_path
	.p2align	4, 0x90
_channel_connect_to_path:               ## @channel_connect_to_path
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	movq	(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_1
## %bb.8:
	cmpq	$0, 8(%r12)
	je	LBB0_13
## %bb.9:
	movq	_PORT_STREAMLOCAL@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r12), %rdi
	addq	%r14, %rdi
	movl	(%r15), %edx
	movq	%r13, %rsi
	callq	_open_match
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	addq	$4, %r14
	cmpq	8(%r12), %rbx
	jb	LBB0_10
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_1
LBB0_14:
	movl	$1, %eax
LBB0_1:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, 16(%r12)
	je	LBB0_5
## %bb.2:
	xorl	%r15d, %r15d
	movq	_PORT_STREAMLOCAL@GOTPCREL(%rip), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rdi
	addq	%r15, %rdi
	movl	(%rbx), %edx
	movq	%r13, %rsi
	callq	_open_match
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	addq	$4, %r15
	cmpq	16(%r12), %r14
	jb	LBB0_3
	jmp	LBB0_7
LBB0_5:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_7
## %bb.6:
	movq	_PORT_STREAMLOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_connect_to                     ## TAILCALL
LBB0_7:
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_logit
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_STREAMLOCAL,4,2           ## @PORT_STREAMLOCAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received request to connect to path %.100s, but the request was denied."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_channel_connect_to_path        ; -- Begin function channel_connect_to_path
	.p2align	2
_channel_connect_to_path:               ; @channel_connect_to_path
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x24, [x0]
	ldr	x25, [x24]
Lloh0:
	adrp	x23, _PORT_STREAMLOCAL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PORT_STREAMLOCAL@GOTPAGEOFF]
	cbnz	x25, LBB0_6
; %bb.1:
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x26, #0
	mov	x27, #0
	mov	w25, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #32]
	add	x0, x8, x26
	ldr	w2, [x23]
	mov	x1, x20
	bl	_open_match
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x27, #1
	ldr	x8, [x24, #8]
	add	x26, x26, #4
	cmp	x27, x8
	b.lo	LBB0_3
LBB0_5:
	mov	x25, #0
LBB0_6:
	ldr	x8, [x24, #16]
	cbz	x8, LBB0_10
; %bb.7:
	mov	x26, #0
	mov	x27, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #24]
	add	x0, x8, x26
	ldr	w2, [x23]
	mov	x1, x20
	bl	_open_match
	cbnz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x27, x27, #1
	ldr	x8, [x24, #16]
	add	x26, x26, #4
	cmp	x27, x8
	b.lo	LBB0_8
	b	LBB0_12
LBB0_10:
	cbz	x25, LBB0_12
; %bb.11:
	ldr	w2, [x23]
	mov	x0, x22
	mov	x1, x20
	mov	x3, x21
	mov	x4, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_connect_to
LBB0_12:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_logit
	mov	x0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_STREAMLOCAL,4,2           ; @PORT_STREAMLOCAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received request to connect to path %.100s, but the request was denied."

.subsections_via_symbols
