	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_descriptors_assert             ## -- Begin function descriptors_assert
	.p2align	4, 0x90
_descriptors_assert:                    ## @descriptors_assert
	.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	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movb	$0, -304(%rbp)
	movq	__SC_OPEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sysconf
	cmpq	$-1, %rax
	movl	%ebx, -308(%rbp)                ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	testq	%rax, %rax
	jns	LBB0_3
	jmp	LBB0_57
LBB0_1:
	movl	%ebx, %edi
	callq	_pjdlog_init
	movl	8(%r15), %ebx
	movq	(%r15), %rdi
	callq	_role2str
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pjdlog_prefix_set
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_pjdlog_errno
	xorl	%eax, %eax
	callq	_pjdlog_fini
	movl	$16384, %r12d                   ## imm = 0x4000
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_10
LBB0_56:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jl	LBB0_57
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	leaq	-320(%rbp), %rsi
	callq	_fstat
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EBADF@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	-320(%rbp), %r14
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpq	%rax, %rbx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rcx, %rbx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpq	%rdx, %rbx
	je	LBB0_9
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r15), %rdi
	callq	_proto_descriptor
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jne	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_S_ISSOCK
	testl	%eax, %eax
	jne	LBB0_56
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	40(%r15), %rdi
	callq	_proto_descriptor
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jne	LBB0_28
## %bb.24:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_25
## %bb.26:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_S_ISSOCK
	testl	%eax, %eax
	jne	LBB0_56
	jmp	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
	movq	_HAST_ROLE_PRIMARY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r15), %rdi
	callq	_proto_descriptor
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jne	LBB0_30
## %bb.42:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_S_ISSOCK
	testl	%eax, %eax
	jne	LBB0_56
	jmp	LBB0_45
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
LBB0_31:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_HAST_ROLE_SECONDARY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_35
## %bb.32:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_4 Depth=1
	callq	_proto_descriptor
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jne	LBB0_34
## %bb.46:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_56
	jmp	LBB0_47
LBB0_34:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
	movq	_HAST_ROLE_SECONDARY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_35:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rcx, %rax
	jne	LBB0_38
LBB0_36:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r15), %rdi
	callq	_proto_descriptor
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jne	LBB0_37
## %bb.48:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_49
## %bb.50:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_S_ISSOCK
	testl	%eax, %eax
	jne	LBB0_56
	jmp	LBB0_51
LBB0_37:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rax
	movq	_HAST_ROLE_SECONDARY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_38:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rcx, %rax
	jne	LBB0_54
## %bb.39:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r15), %rdi
	callq	_proto_descriptor
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jne	LBB0_54
## %bb.40:                              ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_41
## %bb.52:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_S_ISSOCK
	testl	%eax, %eax
	jne	LBB0_56
	jmp	LBB0_53
LBB0_54:                                ##   in Loop: Header=BB0_4 Depth=1
	testq	%r13, %r13
	jne	LBB0_56
## %bb.55:
	movq	%r14, %rdi
	callq	_dtype2str
	leaq	L_.str.18(%rip), %rdx
	jmp	LBB0_14
LBB0_13:
	callq	_strerror
	leaq	L_.str.2(%rip), %rdx
LBB0_14:
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%ebx, %ecx
	movq	%rax, %r8
	jmp	LBB0_15
LBB0_10:
	cmpq	%rcx, %rbx
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.6(%rip), %rdx
	cmoveq	%rcx, %rdx
	cmpq	%rax, %rbx
	leaq	L_.str.4(%rip), %r8
	cmovneq	%rdx, %r8
	leaq	L_.str.3(%rip), %rdx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%ebx, %ecx
LBB0_15:
	xorl	%eax, %eax
	callq	_snprintf
	cmpb	$0, -304(%rbp)
	jne	LBB0_58
	jmp	LBB0_59
LBB0_18:
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_19
LBB0_21:
	movq	%r14, %rdi
	callq	_dtype2str
	movq	%rax, %r14
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_dtype2str
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_22
LBB0_25:
	leaq	L_.str.9(%rip), %rdx
LBB0_19:
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_57:
	cmpb	$0, -304(%rbp)
	je	LBB0_59
LBB0_58:
	movl	-308(%rbp), %edi                ## 4-byte Reload
	callq	_pjdlog_init
	movl	8(%r15), %ebx
	movq	(%r15), %rdi
	callq	_role2str
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pjdlog_prefix_set
	leaq	L_.str.19(%rip), %rdi
	leaq	-304(%rbp), %rsi
	callq	_PJDLOG_ABORT
LBB0_59:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_61
## %bb.60:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	%r14, %rdi
	callq	_dtype2str
	movq	%rax, %r14
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_dtype2str
	leaq	L_.str.10(%rip), %rdx
LBB0_22:
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	%ebx, %ecx
	movq	%r14, %r8
	movq	%rax, %r9
	xorl	%eax, %eax
	callq	_snprintf
	cmpb	$0, -304(%rbp)
	jne	LBB0_58
	jmp	LBB0_59
LBB0_43:
	leaq	L_.str.11(%rip), %rdx
	jmp	LBB0_19
LBB0_45:
	movq	%r14, %rdi
	callq	_dtype2str
	movq	%rax, %r14
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_dtype2str
	leaq	L_.str.12(%rip), %rdx
	jmp	LBB0_22
LBB0_49:
	leaq	L_.str.14(%rip), %rdx
	jmp	LBB0_19
LBB0_51:
	movq	%r14, %rdi
	callq	_dtype2str
	movq	%rax, %r14
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_dtype2str
	leaq	L_.str.15(%rip), %rdx
	jmp	LBB0_22
LBB0_47:
	leaq	L_.str.13(%rip), %rdx
	jmp	LBB0_19
LBB0_41:
	leaq	L_.str.16(%rip), %rdx
	jmp	LBB0_19
LBB0_53:
	movq	%r14, %rdi
	callq	_dtype2str
	movq	%rax, %r14
	movq	_S_IFSOCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_dtype2str
	leaq	L_.str.17(%rip), %rdx
	jmp	LBB0_22
LBB0_61:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	__SC_OPEN_MAX,4,2               ## @_SC_OPEN_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%s] (%s) "

	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"sysconf(_SC_OPEN_MAX) failed"

	.comm	_errno,8,3                      ## @errno
	.comm	_EBADF,8,3                      ## @EBADF
L_.str.2:                               ## @.str.2
	.asciz	"Unable to fstat descriptor %d: %s"

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
L_.str.3:                               ## @.str.3
	.asciz	"Descriptor %d (%s) is closed, but should be open."

L_.str.4:                               ## @.str.4
	.asciz	"stdin"

L_.str.5:                               ## @.str.5
	.asciz	"stdout"

L_.str.6:                               ## @.str.6
	.asciz	"stderr"

L_.str.7:                               ## @.str.7
	.asciz	"Descriptor %d (event) is closed, but should be open."

L_.str.8:                               ## @.str.8
	.asciz	"Descriptor %d (event) is %s, but should be %s."

	.comm	_S_IFSOCK,8,3                   ## @S_IFSOCK
L_.str.9:                               ## @.str.9
	.asciz	"Descriptor %d (ctrl) is closed, but should be open."

L_.str.10:                              ## @.str.10
	.asciz	"Descriptor %d (ctrl) is %s, but should be %s."

	.comm	_HAST_ROLE_PRIMARY,8,3          ## @HAST_ROLE_PRIMARY
L_.str.11:                              ## @.str.11
	.asciz	"Descriptor %d (conn) is closed, but should be open."

L_.str.12:                              ## @.str.12
	.asciz	"Descriptor %d (conn) is %s, but should be %s."

	.comm	_HAST_ROLE_SECONDARY,8,3        ## @HAST_ROLE_SECONDARY
L_.str.13:                              ## @.str.13
	.asciz	"Descriptor %d (conn) is open, but should be closed."

L_.str.14:                              ## @.str.14
	.asciz	"Descriptor %d (remote in) is closed, but should be open."

L_.str.15:                              ## @.str.15
	.asciz	"Descriptor %d (remote in) is %s, but should be %s."

L_.str.16:                              ## @.str.16
	.asciz	"Descriptor %d (remote out) is closed, but should be open."

L_.str.17:                              ## @.str.17
	.asciz	"Descriptor %d (remote out) is %s, but should be %s."

L_.str.18:                              ## @.str.18
	.asciz	"Descriptor %d is open (%s), but should be closed."

L_.str.19:                              ## @.str.19
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_descriptors_assert             ; -- Begin function descriptors_assert
	.p2align	2
_descriptors_assert:                    ; @descriptors_assert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #400
	.cfi_def_cfa_offset 400
	stp	x28, x27, [sp, #304]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #320]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #336]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #352]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #368]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #384]            ; 16-byte Folded Spill
	add	x29, sp, #384
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	strb	wzr, [sp, #32]
Lloh3:
	adrp	x8, __SC_OPEN_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, __SC_OPEN_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_sysconf
	cmn	x0, #1
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	b.eq	LBB0_2
; %bb.1:
	mov	x22, x0
	tbz	x0, #63, LBB0_3
	b	LBB0_52
LBB0_2:
	mov	x0, x20
	bl	_pjdlog_init
	ldr	w21, [x19, #8]
	ldr	x0, [x19]
	bl	_role2str
	mov	x2, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_pjdlog_prefix_set
Lloh8:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pjdlog_errno
	bl	_pjdlog_fini
	mov	w22, #16384
LBB0_3:
	mov	x21, #0
Lloh13:
	adrp	x25, _STDIN_FILENO@GOTPAGE
Lloh14:
	ldr	x25, [x25, _STDIN_FILENO@GOTPAGEOFF]
Lloh15:
	adrp	x26, _STDOUT_FILENO@GOTPAGE
Lloh16:
	ldr	x26, [x26, _STDOUT_FILENO@GOTPAGEOFF]
Lloh17:
	adrp	x27, _STDERR_FILENO@GOTPAGE
Lloh18:
	ldr	x27, [x27, _STDERR_FILENO@GOTPAGEOFF]
Lloh19:
	adrp	x28, _errno@GOTPAGE
Lloh20:
	ldr	x28, [x28, _errno@GOTPAGEOFF]
Lloh21:
	adrp	x20, _EBADF@GOTPAGE
Lloh22:
	ldr	x20, [x20, _EBADF@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_39
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	cmp	x22, x21
	b.lt	LBB0_52
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #24
	mov	x0, x21
	bl	_fstat
	mov	x24, x0
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x28]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_38
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [sp, #24]
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x26]
	ldr	w10, [x27]
	cmp	x21, x8
	ccmp	x21, x9, #4, ne
	ccmp	x21, x10, #4, ne
	b.eq	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #48]
	bl	_proto_descriptor
	cmp	x21, w0, uxtw
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_40
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_S_ISSOCK
	cbnz	w0, LBB0_5
	b	LBB0_41
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #40]
	bl	_proto_descriptor
	cmp	x21, w0, uxtw
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_42
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_S_ISSOCK
	cbnz	w0, LBB0_5
	b	LBB0_43
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
Lloh23:
	adrp	x9, _HAST_ROLE_PRIMARY@GOTPAGE
Lloh24:
	ldr	x9, [x9, _HAST_ROLE_PRIMARY@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #32]
	bl	_proto_descriptor
	cmp	x21, w0, uxtw
	b.ne	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_44
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_S_ISSOCK
	cbnz	w0, LBB0_5
	b	LBB0_45
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh26:
	adrp	x9, _HAST_ROLE_SECONDARY@GOTPAGE
Lloh27:
	ldr	x9, [x9, _HAST_ROLE_SECONDARY@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_proto_descriptor
	cmp	x21, w0, uxtw
	b.ne	LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_5
	b	LBB0_48
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
Lloh29:
	adrp	x9, _HAST_ROLE_SECONDARY@GOTPAGE
Lloh30:
	ldr	x9, [x9, _HAST_ROLE_SECONDARY@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x8, x9
	b.ne	LBB0_32
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #24]
	bl	_proto_descriptor
	cmp	x21, w0, uxtw
	b.ne	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_46
; %bb.30:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_S_ISSOCK
	cbnz	w0, LBB0_5
	b	LBB0_47
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
Lloh32:
	adrp	x9, _HAST_ROLE_SECONDARY@GOTPAGE
Lloh33:
	ldr	x9, [x9, _HAST_ROLE_SECONDARY@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x8, x9
	b.ne	LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x19, #16]
	bl	_proto_descriptor
	cmp	x21, w0, uxtw
	b.ne	LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_49
; %bb.35:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_S_ISSOCK
	cbnz	w0, LBB0_5
	b	LBB0_50
LBB0_36:                                ;   in Loop: Header=BB0_6 Depth=1
	cbnz	x24, LBB0_5
; %bb.37:
	mov	x0, x23
	bl	_dtype2str
	str	x0, [sp]
Lloh35:
	adrp	x2, l_.str.18@PAGE
Lloh36:
	add	x2, x2, l_.str.18@PAGEOFF
	b	LBB0_51
LBB0_38:
	bl	_strerror
	str	x0, [sp]
Lloh37:
	adrp	x2, l_.str.2@PAGE
Lloh38:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_51
LBB0_39:
Lloh39:
	adrp	x10, l_.str.6@PAGE
Lloh40:
	add	x10, x10, l_.str.6@PAGEOFF
Lloh41:
	adrp	x11, l_.str.5@PAGE
Lloh42:
	add	x11, x11, l_.str.5@PAGEOFF
	cmp	x21, x9
	csel	x9, x11, x10, eq
Lloh43:
	adrp	x10, l_.str.4@PAGE
Lloh44:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	x21, x8
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh45:
	adrp	x2, l_.str.3@PAGE
Lloh46:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_51
LBB0_40:
Lloh47:
	adrp	x2, l_.str.7@PAGE
Lloh48:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_51
LBB0_41:
	mov	x0, x23
	bl	_dtype2str
	mov	x22, x0
Lloh49:
	adrp	x8, _S_IFSOCK@GOTPAGE
Lloh50:
	ldr	x8, [x8, _S_IFSOCK@GOTPAGEOFF]
Lloh51:
	ldr	x0, [x8]
	bl	_dtype2str
	stp	x22, x0, [sp]
Lloh52:
	adrp	x2, l_.str.8@PAGE
Lloh53:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_51
LBB0_42:
Lloh54:
	adrp	x2, l_.str.9@PAGE
Lloh55:
	add	x2, x2, l_.str.9@PAGEOFF
	b	LBB0_51
LBB0_43:
	mov	x0, x23
	bl	_dtype2str
	mov	x22, x0
Lloh56:
	adrp	x8, _S_IFSOCK@GOTPAGE
Lloh57:
	ldr	x8, [x8, _S_IFSOCK@GOTPAGEOFF]
Lloh58:
	ldr	x0, [x8]
	bl	_dtype2str
	stp	x22, x0, [sp]
Lloh59:
	adrp	x2, l_.str.10@PAGE
Lloh60:
	add	x2, x2, l_.str.10@PAGEOFF
	b	LBB0_51
LBB0_44:
Lloh61:
	adrp	x2, l_.str.11@PAGE
Lloh62:
	add	x2, x2, l_.str.11@PAGEOFF
	b	LBB0_51
LBB0_45:
	mov	x0, x23
	bl	_dtype2str
	mov	x22, x0
Lloh63:
	adrp	x8, _S_IFSOCK@GOTPAGE
Lloh64:
	ldr	x8, [x8, _S_IFSOCK@GOTPAGEOFF]
Lloh65:
	ldr	x0, [x8]
	bl	_dtype2str
	stp	x22, x0, [sp]
Lloh66:
	adrp	x2, l_.str.12@PAGE
Lloh67:
	add	x2, x2, l_.str.12@PAGEOFF
	b	LBB0_51
LBB0_46:
Lloh68:
	adrp	x2, l_.str.14@PAGE
Lloh69:
	add	x2, x2, l_.str.14@PAGEOFF
	b	LBB0_51
LBB0_47:
	mov	x0, x23
	bl	_dtype2str
	mov	x22, x0
Lloh70:
	adrp	x8, _S_IFSOCK@GOTPAGE
Lloh71:
	ldr	x8, [x8, _S_IFSOCK@GOTPAGEOFF]
Lloh72:
	ldr	x0, [x8]
	bl	_dtype2str
	stp	x22, x0, [sp]
Lloh73:
	adrp	x2, l_.str.15@PAGE
Lloh74:
	add	x2, x2, l_.str.15@PAGEOFF
	b	LBB0_51
LBB0_48:
Lloh75:
	adrp	x2, l_.str.13@PAGE
Lloh76:
	add	x2, x2, l_.str.13@PAGEOFF
	b	LBB0_51
LBB0_49:
Lloh77:
	adrp	x2, l_.str.16@PAGE
Lloh78:
	add	x2, x2, l_.str.16@PAGEOFF
	b	LBB0_51
LBB0_50:
	mov	x0, x23
	bl	_dtype2str
	mov	x22, x0
Lloh79:
	adrp	x8, _S_IFSOCK@GOTPAGE
Lloh80:
	ldr	x8, [x8, _S_IFSOCK@GOTPAGEOFF]
Lloh81:
	ldr	x0, [x8]
	bl	_dtype2str
	stp	x22, x0, [sp]
Lloh82:
	adrp	x2, l_.str.17@PAGE
Lloh83:
	add	x2, x2, l_.str.17@PAGEOFF
LBB0_51:
	add	x0, sp, #32
	mov	w1, #256
	mov	x3, x21
	bl	_snprintf
LBB0_52:
	ldrb	w8, [sp, #32]
	cbz	w8, LBB0_54
; %bb.53:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	bl	_pjdlog_init
	ldr	w20, [x19, #8]
	ldr	x0, [x19]
	bl	_role2str
	mov	x2, x0
Lloh84:
	adrp	x0, l_.str@PAGE
Lloh85:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_pjdlog_prefix_set
Lloh86:
	adrp	x0, l_.str.19@PAGE
Lloh87:
	add	x0, x0, l_.str.19@PAGEOFF
	add	x1, sp, #32
	bl	_PJDLOG_ABORT
LBB0_54:
	ldur	x8, [x29, #-96]
Lloh88:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh89:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh90:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.55:
	ldp	x29, x30, [sp, #384]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #368]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #352]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #336]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #320]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #304]            ; 16-byte Folded Reload
	add	sp, sp, #400
	ret
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	__SC_OPEN_MAX,4,2               ; @_SC_OPEN_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%s] (%s) "

	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"sysconf(_SC_OPEN_MAX) failed"

	.comm	_errno,8,3                      ; @errno
	.comm	_EBADF,8,3                      ; @EBADF
l_.str.2:                               ; @.str.2
	.asciz	"Unable to fstat descriptor %d: %s"

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
l_.str.3:                               ; @.str.3
	.asciz	"Descriptor %d (%s) is closed, but should be open."

l_.str.4:                               ; @.str.4
	.asciz	"stdin"

l_.str.5:                               ; @.str.5
	.asciz	"stdout"

l_.str.6:                               ; @.str.6
	.asciz	"stderr"

l_.str.7:                               ; @.str.7
	.asciz	"Descriptor %d (event) is closed, but should be open."

l_.str.8:                               ; @.str.8
	.asciz	"Descriptor %d (event) is %s, but should be %s."

	.comm	_S_IFSOCK,8,3                   ; @S_IFSOCK
l_.str.9:                               ; @.str.9
	.asciz	"Descriptor %d (ctrl) is closed, but should be open."

l_.str.10:                              ; @.str.10
	.asciz	"Descriptor %d (ctrl) is %s, but should be %s."

	.comm	_HAST_ROLE_PRIMARY,8,3          ; @HAST_ROLE_PRIMARY
l_.str.11:                              ; @.str.11
	.asciz	"Descriptor %d (conn) is closed, but should be open."

l_.str.12:                              ; @.str.12
	.asciz	"Descriptor %d (conn) is %s, but should be %s."

	.comm	_HAST_ROLE_SECONDARY,8,3        ; @HAST_ROLE_SECONDARY
l_.str.13:                              ; @.str.13
	.asciz	"Descriptor %d (conn) is open, but should be closed."

l_.str.14:                              ; @.str.14
	.asciz	"Descriptor %d (remote in) is closed, but should be open."

l_.str.15:                              ; @.str.15
	.asciz	"Descriptor %d (remote in) is %s, but should be %s."

l_.str.16:                              ; @.str.16
	.asciz	"Descriptor %d (remote out) is closed, but should be open."

l_.str.17:                              ; @.str.17
	.asciz	"Descriptor %d (remote out) is %s, but should be %s."

l_.str.18:                              ; @.str.18
	.asciz	"Descriptor %d is open (%s), but should be closed."

l_.str.19:                              ; @.str.19
	.asciz	"%s"

.subsections_via_symbols
