	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_create_facilities          ## -- Begin function x25_create_facilities
	.p2align	4, 0x90
_x25_create_facilities:                 ## @x25_create_facilities
	.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
	movq	%rdi, %r14
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r12
	movq	%rdx, %r15
	leaq	1(%r14), %r13
	cmpl	$0, 8(%rsi)
	je	LBB0_5
## %bb.3:
	movq	_X25_MASK_REVERSE@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_X25_FAC_REVERSE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, 1(%r14)
	movb	8(%rsi), %al
	leaq	3(%r14), %r13
	movb	%al, 2(%r14)
LBB0_5:
	cmpl	$0, 4(%rsi)
	je	LBB0_8
## %bb.6:
	movq	_X25_MASK_THROUGHPUT@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_X25_FAC_THROUGHPUT@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r13)
	movb	4(%rsi), %al
	movb	%al, 1(%r13)
	addq	$2, %r13
LBB0_8:
	cmpb	$0, (%rsi)
	jne	LBB0_10
## %bb.9:
	cmpb	$0, 1(%rsi)
	je	LBB0_16
LBB0_10:
	movq	_X25_MASK_PACKET_SIZE@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_16
## %bb.11:
	movq	_X25_FAC_PACKET_SIZE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r13)
	movb	(%rsi), %al
	testb	%al, %al
	jne	LBB0_13
## %bb.12:
	movb	1(%rsi), %al
LBB0_13:
	movb	%al, 1(%r13)
	movb	1(%rsi), %al
	testb	%al, %al
	jne	LBB0_15
## %bb.14:
	movb	(%rsi), %al
LBB0_15:
	movb	%al, 2(%r13)
	addq	$3, %r13
LBB0_16:
	cmpb	$0, 2(%rsi)
	jne	LBB0_18
## %bb.17:
	cmpb	$0, 3(%rsi)
	je	LBB0_24
LBB0_18:
	movq	_X25_MASK_WINDOW_SIZE@GOTPCREL(%rip), %rax
	testq	%r12, (%rax)
	je	LBB0_24
## %bb.19:
	movq	_X25_FAC_WINDOW_SIZE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r13)
	movb	2(%rsi), %al
	testb	%al, %al
	jne	LBB0_21
## %bb.20:
	movb	3(%rsi), %al
LBB0_21:
	movb	%al, 1(%r13)
	movb	3(%rsi), %al
	testb	%al, %al
	jne	LBB0_23
## %bb.22:
	movb	2(%rsi), %al
LBB0_23:
	movb	%al, 2(%r13)
	addq	$3, %r13
LBB0_24:
	movq	_X25_MASK_CALLING_AE@GOTPCREL(%rip), %rax
	movq	_X25_MASK_CALLED_AE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	orq	(%rax), %rcx
	testq	%r12, %rcx
	je	LBB0_26
## %bb.25:
	movq	_X25_MARKER@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%r13)
	movq	_X25_DTE_SERVICES@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movb	%cl, 1(%r13)
	addq	$2, %r13
LBB0_26:
	movl	(%r15), %ebx
	testl	%ebx, %ebx
	je	LBB0_29
## %bb.27:
	testq	%r12, (%rax)
	je	LBB0_29
## %bb.28:
	incl	%ebx
	sarl	%ebx
	movq	_X25_FAC_CALLING_AE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r13)
	leal	1(%rbx), %eax
	movb	%al, 1(%r13)
	movb	(%r15), %al
	leaq	3(%r13), %rdi
	movb	%al, 2(%r13)
	movl	12(%r15), %esi
	movl	%ebx, %edx
	callq	_memcpy
	movq	_X25_MASK_CALLED_AE@GOTPCREL(%rip), %rdx
	addq	%rbx, %r13
	addq	$3, %r13
LBB0_29:
	movl	4(%r15), %eax
	testl	%eax, %eax
	je	LBB0_32
## %bb.30:
	testq	%r12, (%rdx)
	je	LBB0_32
## %bb.31:
	movl	%eax, %ecx
	andl	$1, %ecx
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	addl	%ecx, %ebx
	movq	_X25_FAC_CALLED_AE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r13)
	leal	1(%rbx), %eax
	movb	%al, 1(%r13)
	movb	4(%r15), %al
	leaq	3(%r13), %rdi
	movb	%al, 2(%r13)
	movl	8(%r15), %esi
	movl	%ebx, %edx
	callq	_memcpy
	addq	%rbx, %r13
	addq	$3, %r13
LBB0_32:
	subq	%r14, %r13
	movl	%r13d, %eax
	decb	%al
	jmp	LBB0_33
LBB0_1:
	movl	$1, %r13d
	xorl	%eax, %eax
LBB0_33:
	movb	%al, (%r14)
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X25_MASK_REVERSE,8,3           ## @X25_MASK_REVERSE
	.comm	_X25_FAC_REVERSE,4,2            ## @X25_FAC_REVERSE
	.comm	_X25_MASK_THROUGHPUT,8,3        ## @X25_MASK_THROUGHPUT
	.comm	_X25_FAC_THROUGHPUT,4,2         ## @X25_FAC_THROUGHPUT
	.comm	_X25_MASK_PACKET_SIZE,8,3       ## @X25_MASK_PACKET_SIZE
	.comm	_X25_FAC_PACKET_SIZE,4,2        ## @X25_FAC_PACKET_SIZE
	.comm	_X25_MASK_WINDOW_SIZE,8,3       ## @X25_MASK_WINDOW_SIZE
	.comm	_X25_FAC_WINDOW_SIZE,4,2        ## @X25_FAC_WINDOW_SIZE
	.comm	_X25_MASK_CALLING_AE,8,3        ## @X25_MASK_CALLING_AE
	.comm	_X25_MASK_CALLED_AE,8,3         ## @X25_MASK_CALLED_AE
	.comm	_X25_MARKER,4,2                 ## @X25_MARKER
	.comm	_X25_DTE_SERVICES,4,2           ## @X25_DTE_SERVICES
	.comm	_X25_FAC_CALLING_AE,4,2         ## @X25_FAC_CALLING_AE
	.comm	_X25_FAC_CALLED_AE,4,2          ## @X25_FAC_CALLED_AE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x25_create_facilities          ; -- Begin function x25_create_facilities
	.p2align	2
_x25_create_facilities:                 ; @x25_create_facilities
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	cbz	x3, LBB0_32
; %bb.1:
	mov	x21, x3
	mov	x20, x2
	add	x8, x19, #1
	ldr	w9, [x1, #8]
	cbz	w9, LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, _X25_MASK_REVERSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _X25_MASK_REVERSE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	tst	x9, x21
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _X25_FAC_REVERSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X25_FAC_REVERSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	strb	w8, [x19, #1]
	ldr	w9, [x1, #8]
	add	x8, x19, #3
	strb	w9, [x19, #2]
LBB0_4:
	ldr	w9, [x1, #4]
	cbz	w9, LBB0_7
; %bb.5:
Lloh6:
	adrp	x9, _X25_MASK_THROUGHPUT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _X25_MASK_THROUGHPUT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	tst	x9, x21
	b.eq	LBB0_7
; %bb.6:
Lloh9:
	adrp	x9, _X25_FAC_THROUGHPUT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _X25_FAC_THROUGHPUT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	strb	w9, [x8]
	ldr	w9, [x1, #4]
	strb	w9, [x8, #1]
	add	x8, x8, #2
LBB0_7:
	ldrb	w9, [x1]
	cbnz	w9, LBB0_9
; %bb.8:
	ldrb	w9, [x1, #1]
	cbz	w9, LBB0_15
LBB0_9:
Lloh12:
	adrp	x9, _X25_MASK_PACKET_SIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _X25_MASK_PACKET_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	tst	x9, x21
	b.eq	LBB0_15
; %bb.10:
Lloh15:
	adrp	x9, _X25_FAC_PACKET_SIZE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _X25_FAC_PACKET_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	strb	w9, [x8]
	ldrb	w9, [x1]
	cbnz	w9, LBB0_12
; %bb.11:
	ldrb	w9, [x1, #1]
LBB0_12:
	strb	w9, [x8, #1]
	ldrb	w9, [x1, #1]
	cbnz	w9, LBB0_14
; %bb.13:
	ldrb	w9, [x1]
LBB0_14:
	strb	w9, [x8, #2]
	add	x8, x8, #3
LBB0_15:
	ldrb	w9, [x1, #2]
	cbnz	w9, LBB0_17
; %bb.16:
	ldrb	w9, [x1, #3]
	cbz	w9, LBB0_23
LBB0_17:
Lloh18:
	adrp	x9, _X25_MASK_WINDOW_SIZE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _X25_MASK_WINDOW_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	tst	x9, x21
	b.eq	LBB0_23
; %bb.18:
Lloh21:
	adrp	x9, _X25_FAC_WINDOW_SIZE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _X25_FAC_WINDOW_SIZE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	strb	w9, [x8]
	ldrb	w9, [x1, #2]
	cbnz	w9, LBB0_20
; %bb.19:
	ldrb	w9, [x1, #3]
LBB0_20:
	strb	w9, [x8, #1]
	ldrb	w9, [x1, #3]
	cbnz	w9, LBB0_22
; %bb.21:
	ldrb	w9, [x1, #2]
LBB0_22:
	strb	w9, [x8, #2]
	add	x8, x8, #3
LBB0_23:
Lloh24:
	adrp	x9, _X25_MASK_CALLING_AE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _X25_MASK_CALLING_AE@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh26:
	adrp	x24, _X25_MASK_CALLED_AE@GOTPAGE
Lloh27:
	ldr	x24, [x24, _X25_MASK_CALLED_AE@GOTPAGEOFF]
	ldr	x11, [x24]
	orr	x10, x11, x10
	tst	x10, x21
	b.eq	LBB0_25
; %bb.24:
Lloh28:
	adrp	x10, _X25_MARKER@GOTPAGE
Lloh29:
	ldr	x10, [x10, _X25_MARKER@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	strb	w10, [x8]
Lloh31:
	adrp	x10, _X25_DTE_SERVICES@GOTPAGE
Lloh32:
	ldr	x10, [x10, _X25_DTE_SERVICES@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	strb	w10, [x8, #1]
	add	x8, x8, #2
LBB0_25:
	ldr	w10, [x20]
	cbz	w10, LBB0_28
; %bb.26:
	ldr	x9, [x9]
	tst	x9, x21
	b.eq	LBB0_28
; %bb.27:
	add	w9, w10, #1
	asr	w22, w9, #1
Lloh34:
	adrp	x9, _X25_FAC_CALLING_AE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _X25_FAC_CALLING_AE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	strb	w9, [x8]
	add	w9, w22, #1
	strb	w9, [x8, #1]
	ldr	w9, [x20]
	add	x23, x8, #3
	strb	w9, [x8, #2]
	ldr	w1, [x20, #12]
	mov	x0, x23
	mov	x2, x22
	bl	_memcpy
	add	x8, x23, x22
LBB0_28:
	ldr	w9, [x20, #4]
	cbz	w9, LBB0_31
; %bb.29:
	ldr	x10, [x24]
	tst	x10, x21
	b.eq	LBB0_31
; %bb.30:
	and	w10, w9, #0x1
	cmp	w9, #0
	cinc	w9, w9, lt
	add	w21, w10, w9, asr #1
Lloh37:
	adrp	x9, _X25_FAC_CALLED_AE@GOTPAGE
Lloh38:
	ldr	x9, [x9, _X25_FAC_CALLED_AE@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	strb	w9, [x8]
	add	w9, w21, #1
	strb	w9, [x8, #1]
	ldr	w9, [x20, #4]
	add	x22, x8, #3
	strb	w9, [x8, #2]
	ldr	w1, [x20, #8]
	mov	x0, x22
	mov	x2, x21
	bl	_memcpy
	add	x8, x22, x21
LBB0_31:
	sub	w0, w8, w19
	sub	w8, w0, #1
	b	LBB0_33
LBB0_32:
	mov	w8, #0
	mov	w0, #1
LBB0_33:
	strb	w8, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_X25_MASK_REVERSE,8,3           ; @X25_MASK_REVERSE
	.comm	_X25_FAC_REVERSE,4,2            ; @X25_FAC_REVERSE
	.comm	_X25_MASK_THROUGHPUT,8,3        ; @X25_MASK_THROUGHPUT
	.comm	_X25_FAC_THROUGHPUT,4,2         ; @X25_FAC_THROUGHPUT
	.comm	_X25_MASK_PACKET_SIZE,8,3       ; @X25_MASK_PACKET_SIZE
	.comm	_X25_FAC_PACKET_SIZE,4,2        ; @X25_FAC_PACKET_SIZE
	.comm	_X25_MASK_WINDOW_SIZE,8,3       ; @X25_MASK_WINDOW_SIZE
	.comm	_X25_FAC_WINDOW_SIZE,4,2        ; @X25_FAC_WINDOW_SIZE
	.comm	_X25_MASK_CALLING_AE,8,3        ; @X25_MASK_CALLING_AE
	.comm	_X25_MASK_CALLED_AE,8,3         ; @X25_MASK_CALLED_AE
	.comm	_X25_MARKER,4,2                 ; @X25_MARKER
	.comm	_X25_DTE_SERVICES,4,2           ; @X25_DTE_SERVICES
	.comm	_X25_FAC_CALLING_AE,4,2         ; @X25_FAC_CALLING_AE
	.comm	_X25_FAC_CALLED_AE,4,2          ; @X25_FAC_CALLED_AE
.subsections_via_symbols
