	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_open_vpaths               ## -- Begin function vxge_open_vpaths
	.p2align	4, 0x90
_vxge_open_vpaths:                      ## @vxge_open_vpaths
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	leaq	-104(%rbp), %r14
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	104(%rax,%rbx), %edi
	callq	_vxge_assert
	movq	8(%r15), %rax
	movl	16(%rax,%rbx), %ecx
	movl	%ecx, -48(%rbp)
	movq	_vxge_xmit_compl@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -52(%rbp)
	movq	_vxge_tx_term@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -56(%rbp)
	movl	$4, -72(%rbp)
	leaq	72(%rax,%rbx), %rcx
	movq	%rcx, -64(%rbp)
	movq	_vxge_rx_1b_compl@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -80(%rbp)
	movq	_vxge_rx_initial_replenish@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -84(%rbp)
	movq	_vxge_rx_term@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -88(%rbp)
	movl	$4, -104(%rbp)
	leaq	24(%rax,%rbx), %rcx
	movq	%rcx, -96(%rbp)
	movq	16(%r15), %rcx
	movq	%rcx, 64(%rax,%rbx)
	movl	60(%r15), %ecx
	movl	%ecx, 56(%rax,%rbx)
	movl	64(%r15), %edi
	leaq	(%rax,%rbx), %rdx
	addq	$8, %rdx
	movq	%r14, %rsi
	callq	_vxge_hw_vpath_open
	cmpl	(%r13), %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax
	movq	8(%r15), %rcx
	movq	%rax, 96(%rcx,%rbx)
	movq	-96(%rbp), %rax
	movq	%rax, 48(%rcx,%rbx)
	movl	44(%r15), %eax
	movl	%eax, 88(%rcx,%rbx)
	movq	16(%r15), %rax
	movq	%rax, 80(%rcx,%rbx)
	movl	60(%r15), %eax
	movl	%eax, 76(%rcx,%rbx)
	movl	40(%r15), %eax
	movl	%eax, 72(%rcx,%rbx)
	movq	$0, 40(%rcx,%rbx)
	movl	56(%r15), %eax
	movl	%eax, 32(%rcx,%rbx)
	movl	$1, (%rcx,%rbx)
	movq	8(%rcx,%rbx), %rax
	movq	48(%r15), %rdx
	movq	%rax, (%rdx,%r12,8)
	movl	36(%r15), %eax
	movl	%eax, 28(%rcx,%rbx)
	movl	32(%r15), %eax
	movl	%eax, 24(%rcx,%rbx)
	incl	28(%r15)
	movq	8(%rcx,%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_vxge_mBIT
	orl	%eax, 4(%r15)
	incq	%r12
	movslq	(%r15), %rax
	addq	$112, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_4:
	movq	_VXGE_HW_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_5
LBB0_6:
	incl	24(%r15)
	movq	_VXGE_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	8(%r15), %rcx
	movq	16(%r15), %rdx
	movl	(%rdx), %edx
	movl	16(%rcx,%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%eax, %r8d
	callq	_vxge_debug_init
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_vxge_close_vpaths
	movq	_EPERM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vxge_xmit_compl,4,2            ## @vxge_xmit_compl
	.comm	_vxge_tx_term,4,2               ## @vxge_tx_term
	.comm	_vxge_rx_1b_compl,4,2           ## @vxge_rx_1b_compl
	.comm	_vxge_rx_initial_replenish,4,2  ## @vxge_rx_initial_replenish
	.comm	_vxge_rx_term,4,2               ## @vxge_rx_term
	.comm	_VXGE_HW_OK,4,2                 ## @VXGE_HW_OK
	.comm	_VXGE_ERR,4,2                   ## @VXGE_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: vpath: %d failed to open with status: %d"

	.comm	_EPERM,4,2                      ## @EPERM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vxge_open_vpaths               ; -- Begin function vxge_open_vpaths
	.p2align	2
_vxge_open_vpaths:                      ; @vxge_open_vpaths
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _VXGE_HW_OK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VXGE_HW_OK@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x22, #0
	mov	w20, #104
Lloh2:
	adrp	x24, _vxge_tx_term@GOTPAGE
Lloh3:
	ldr	x24, [x24, _vxge_tx_term@GOTPAGEOFF]
Lloh4:
	adrp	x25, _vxge_rx_1b_compl@GOTPAGE
Lloh5:
	ldr	x25, [x25, _vxge_rx_1b_compl@GOTPAGEOFF]
	mov	w26, #4
Lloh6:
	adrp	x27, _vxge_rx_initial_replenish@GOTPAGE
Lloh7:
	ldr	x27, [x27, _vxge_rx_initial_replenish@GOTPAGEOFF]
	mov	w28, #1
Lloh8:
	adrp	x23, _vxge_rx_term@GOTPAGE
Lloh9:
	ldr	x23, [x23, _vxge_rx_term@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20]
	bl	_vxge_assert
	ldp	x8, x9, [x19, #8]
	add	x8, x8, x20
	ldur	w10, [x8, #-88]
	str	w10, [sp, #56]
Lloh10:
	adrp	x10, _vxge_xmit_compl@GOTPAGE
Lloh11:
	ldr	x10, [x10, _vxge_xmit_compl@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	ldr	w11, [x24]
	stp	w11, w10, [sp, #48]
	sub	x10, x8, #32
	str	x10, [sp, #40]
	ldr	w10, [x25]
	str	w26, [sp, #32]
	str	w10, [sp, #24]
	ldr	w10, [x27]
	ldr	w11, [x23]
	stp	w11, w10, [sp, #16]
	sub	x10, x8, #80
	str	x10, [sp, #8]
	str	w26, [sp]
	stur	x9, [x8, #-40]
	ldr	w9, [x19, #60]
	stur	w9, [x8, #-48]
	ldr	w0, [x19, #64]
	sub	x2, x8, #96
	mov	x1, sp
	bl	_vxge_hw_vpath_open
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #40]
	ldr	x9, [x19, #8]
	add	x9, x9, x20
	stur	x8, [x9, #-8]
	ldr	x8, [sp, #8]
	stur	x8, [x9, #-56]
	ldr	w8, [x19, #44]
	stur	w8, [x9, #-16]
	ldr	x8, [x19, #16]
	stur	x8, [x9, #-24]
	ldr	w8, [x19, #60]
	stur	w8, [x9, #-28]
	ldr	w8, [x19, #40]
	stur	w8, [x9, #-32]
	stur	xzr, [x9, #-64]
	ldr	w8, [x19, #56]
	stur	w8, [x9, #-72]
	stur	w28, [x9, #-104]
	ldur	x8, [x9, #-96]
	ldr	x10, [x19, #48]
	str	x8, [x10, x22, lsl #3]
	ldr	d0, [x19, #32]
	stur	d0, [x9, #-80]
	ldr	w8, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	ldur	x8, [x9, #-96]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_vxge_mBIT
	ldp	w9, w8, [x19]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	orr	w8, w8, w0
	str	w8, [x19, #4]
	add	x22, x22, #1
	add	x20, x20, #112
	cmp	x22, x9
	b.lt	LBB0_2
LBB0_4:
	ldr	w0, [x21]
	b	LBB0_6
LBB0_5:
	mov	x4, x0
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
Lloh13:
	adrp	x8, _VXGE_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VXGE_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x9, x8, [x19, #8]
	ldr	w2, [x8]
	add	x8, x9, x20
	ldur	w3, [x8, #-88]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vxge_debug_init
	mov	x0, x19
	mov	w1, #0
	bl	_vxge_close_vpaths
Lloh18:
	adrp	x8, _EPERM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_vxge_xmit_compl,4,2            ; @vxge_xmit_compl
	.comm	_vxge_tx_term,4,2               ; @vxge_tx_term
	.comm	_vxge_rx_1b_compl,4,2           ; @vxge_rx_1b_compl
	.comm	_vxge_rx_initial_replenish,4,2  ; @vxge_rx_initial_replenish
	.comm	_vxge_rx_term,4,2               ; @vxge_rx_term
	.comm	_VXGE_HW_OK,4,2                 ; @VXGE_HW_OK
	.comm	_VXGE_ERR,4,2                   ; @VXGE_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: vpath: %d failed to open with status: %d"

	.comm	_EPERM,4,2                      ; @EPERM
.subsections_via_symbols
