	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_dir_link
_parse_dir_link:                        ## @parse_dir_link
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movl	%edi, %r15d
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	callq	_parse_guid
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	leaq	-40(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_parse_guid
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movl	$1, %r14d
	testq	%r12, %r12
	je	LBB0_13
## %bb.3:
	leal	3(%r15), %eax
	cmpl	$6, %eax
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	16(%r12), %rax
	movslq	8(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$-40, %rax
	jmp	LBB0_12
LBB0_6:
	movq	16(%r12), %rax
	movslq	8(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$-24, %rax
	jmp	LBB0_12
LBB0_11:
	movq	16(%r12), %rax
	movslq	8(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$-8, %rax
	jmp	LBB0_12
LBB0_10:
	movq	(%r12), %rdi
	movq	_OSM_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %ecx
	callq	_OSM_LOG
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_5:
	movq	16(%r12), %rax
	movslq	8(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$-16, %rax
	jmp	LBB0_12
LBB0_7:
	movq	16(%r12), %rax
	movslq	8(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$-32, %rax
	jmp	LBB0_12
LBB0_9:
	movq	16(%r12), %rax
	movslq	8(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$-48, %rax
LBB0_12:
	movq	_PASSTHRU@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rax
	movq	%rcx, 32(%rax)
	movl	$-1, (%rax)
	movq	-48(%rbp), %rdx
	movq	%rdx, 24(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movq	%rcx, 72(%rax)
	movl	$-1, 40(%rax)
	movq	-40(%rbp), %rcx
	movq	%rcx, 64(%rax)
	movups	%xmm0, 48(%rax)
LBB0_13:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_OSM_LOG_ERROR,4,2              ## @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERR 4E0E: unknown link direction %d\n"

	.comm	_PASSTHRU,8,3                   ## @PASSTHRU
	.no_dead_strip	_parse_dir_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_dir_link
_parse_dir_link:                        ; @parse_dir_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_parse_guid
	cbz	w0, LBB0_14
; %bb.1:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x21
	bl	_parse_guid
	cbz	w0, LBB0_14
; %bb.2:
	cbz	x19, LBB0_13
; %bb.3:
	add	w8, w20, #3
	cmp	w8, #6
	b.hi	LBB0_8
; %bb.4:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	mov	w10, #48
	madd	x8, x9, x10, x8
	sub	x8, x8, #40
	b	LBB0_12
LBB0_6:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	mov	w10, #48
	madd	x8, x9, x10, x8
	sub	x8, x8, #24
	b	LBB0_12
LBB0_7:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	mov	w10, #48
	madd	x8, x9, x10, x8
	sub	x8, x8, #8
	b	LBB0_12
LBB0_8:
	ldr	x0, [x19]
Lloh2:
	adrp	x8, _OSM_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x20
	bl	_OSM_LOG
	mov	w0, #0
	b	LBB0_14
LBB0_9:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	mov	w10, #48
	madd	x8, x9, x10, x8
	sub	x8, x8, #16
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	mov	w10, #48
	madd	x8, x9, x10, x8
	sub	x8, x8, #32
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	mov	w10, #48
	madd	x8, x9, x10, x8
	sub	x8, x8, #48
LBB0_12:
Lloh7:
	adrp	x9, _PASSTHRU@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PASSTHRU@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x8, [x8]
	mov	w10, #-1
	str	w10, [x8]
	ldr	x11, [sp, #8]
	stp	x11, x9, [x8, #24]
	stp	xzr, xzr, [x8, #8]
	str	w10, [x8, #40]
	ldr	x10, [sp]
	stp	x10, x9, [x8, #64]
	stp	xzr, xzr, [x8, #48]
LBB0_13:
	mov	w0, #1
LBB0_14:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
                                        ; -- End function
	.comm	_OSM_LOG_ERROR,4,2              ; @OSM_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERR 4E0E: unknown link direction %d\n"

	.comm	_PASSTHRU,8,3                   ; @PASSTHRU
	.no_dead_strip	_parse_dir_link
.subsections_via_symbols
