	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vtscsi_init_queue
_pci_vtscsi_init_queue:                 ## @pci_vtscsi_init_queue
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXCOMLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%rbx, 32(%r13)
	movq	(%rbx), %rax
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movslq	%r14d, %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	$8, %rax
	movq	%rax, 24(%r13)
	leaq	16(%r13), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	leaq	12(%r13), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	leaq	8(%r13), %rdi
	xorl	%esi, %esi
	callq	_pthread_cond_init
	leaq	4(%r13), %rdi
	callq	_STAILQ_INIT
	movq	%r13, %rdi
	callq	_LIST_INIT
	movq	_VTSCSI_THR_PER_Q@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	movl	$16, %esi
	callq	_calloc
	movq	%rax, %r14
	movq	%r13, 8(%rax)
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	_pci_vtscsi_proc@GOTPCREL(%rip), %rdx
	movq	%rax, %rcx
	callq	_pthread_create
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	leaq	L_.str(%rip), %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_snprintf
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_pthread_set_name_np
	movq	_vsw_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_LIST_INSERT_HEAD
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_1
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXCOMLEN,4,2                  ## @MAXCOMLEN
	.comm	_VTSCSI_THR_PER_Q,4,2           ## @VTSCSI_THR_PER_Q
	.comm	_pci_vtscsi_proc,4,2            ## @pci_vtscsi_proc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vtscsi:%d-%d"

	.comm	_vsw_link,4,2                   ## @vsw_link
	.no_dead_strip	_pci_vtscsi_init_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vtscsi_init_queue
_pci_vtscsi_init_queue:                 ; @pci_vtscsi_init_queue
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXCOMLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXCOMLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w21, w8, #1
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	ldr	x8, [x0]
	add	w9, w2, #2
	add	x8, x8, w9, sxtw #2
	stp	x8, x0, [x1, #24]
	add	x0, x1, #16
	mov	x1, #0
	bl	_pthread_mutex_init
	add	x0, x20, #12
	mov	x1, #0
	bl	_pthread_mutex_init
	add	x0, x20, #8
	mov	x1, #0
	bl	_pthread_cond_init
	add	x0, x20, #4
	bl	_STAILQ_INIT
	mov	x0, x20
	bl	_LIST_INIT
Lloh8:
	adrp	x27, _VTSCSI_THR_PER_Q@GOTPAGE
Lloh9:
	ldr	x27, [x27, _VTSCSI_THR_PER_Q@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, #0
Lloh10:
	adrp	x24, _pci_vtscsi_proc@GOTPAGE
Lloh11:
	ldr	x24, [x24, _pci_vtscsi_proc@GOTPAGEOFF]
Lloh12:
	adrp	x28, _vsw_link@GOTPAGE
Lloh13:
	ldr	x28, [x28, _vsw_link@GOTPAGEOFF]
Lloh14:
	adrp	x25, l_.str@PAGE
Lloh15:
	add	x25, x25, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	mov	w1, #16
	bl	_calloc
	mov	x26, x0
	str	x20, [x0, #8]
	mov	x1, #0
	mov	x2, x24
	mov	x3, x0
	bl	_pthread_create
	mov	x0, x22
	mov	x1, x21
	mov	x2, x25
	mov	x3, x19
	mov	x4, x23
	bl	_snprintf
	ldr	w0, [x26]
	mov	x1, x22
	bl	_pthread_set_name_np
	ldr	w2, [x28]
	mov	x0, x20
	mov	x1, x26
	bl	_LIST_INSERT_HEAD
	add	w23, w23, #1
	ldr	w8, [x27]
	cmp	w23, w8
	b.lt	LBB0_2
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	sub	sp, x29, #80
	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
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXCOMLEN,4,2                  ; @MAXCOMLEN
	.comm	_VTSCSI_THR_PER_Q,4,2           ; @VTSCSI_THR_PER_Q
	.comm	_pci_vtscsi_proc,4,2            ; @pci_vtscsi_proc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vtscsi:%d-%d"

	.comm	_vsw_link,4,2                   ; @vsw_link
	.no_dead_strip	_pci_vtscsi_init_queue
.subsections_via_symbols
