	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pci_vtblk_proc
_pci_vtblk_proc:                        ## @pci_vtblk_proc
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BLOCKIF_IOV_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	addl	$2, %r13d
	movq	%r13, %rax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	(,%r13,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	leaq	-112(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	movq	%rbx, %r8
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	callq	_vq_getchain
	movl	%eax, %r15d
	cmpl	$2, %eax
	setge	%dl
	movq	_BLOCKIF_IOV_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$2, %ecx
	cmpl	%ecx, %eax
	setle	%cl
	andb	%dl, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %r13
	movq	-112(%rbp), %r14
	shlq	$5, %r14
	movq	_VRING_DESC_F_WRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	andq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$8, (%r12)
	sete	%dil
	callq	_assert
	movq	8(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r13), %rdi
	addq	$16, %rdi
	leaq	16(%r12), %rsi
	leal	-2(%r15), %ebx
	movl	%ebx, %edx
	shll	$4, %edx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_memcpy
	movl	%ebx, (%r13,%r14)
	movq	_DEV_BSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	imull	(%rcx), %eax
	movl	%eax, 4(%r13,%r14)
	movslq	%r15d, %rbx
	leaq	-1(%rbx), %rax
	shlq	$4, %rax
	movq	8(%r12,%rax), %rcx
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, 24(%r13,%r14)
	movq	_VRING_DESC_F_WRITE@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	cmpl	$1, (%r12,%rax)
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	sete	%dil
	callq	_assert
	movl	(%r14), %edi
	andl	-8(%r12,%rbx,8), %edi
	callq	_assert
	movq	_VBH_FLAG_BARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	notl	%r13d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	andl	4(%rcx), %r13d
	cmpl	$3, %r15d
	jl	LBB0_1
## %bb.2:
	decl	%r15d
	movl	%r15d, %eax
	shlq	$3, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$8, %r15d
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$128, %r13d
	sete	%al
	movq	_VRING_DESC_F_WRITE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	(%r12,%r15), %rcx
	setne	%cl
	xorb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movslq	(%r14,%r15,2), %rax
	addq	%rax, %rbx
	addq	$8, %r15
	cmpq	%r15, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %r15
	movq	%rbx, 8(%rax,%rcx)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movslq	-12(%rax), %rdi
	callq	_DPRINTF
	addl	$-128, %r13d
	cmpl	$4, %r13d
	ja	LBB0_9
## %bb.5:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r13,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_blockif_flush
	jmp	LBB0_11
LBB0_9:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_pci_vtblk_done
	jmp	LBB0_12
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_blockif_write
	jmp	LBB0_11
LBB0_10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_blockif_read
LBB0_11:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rdi
	movl	16(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	24(%rbx), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r14d
	movl	16(%rbx), %edi
	movl	$4, %esi
	callq	_MIN
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_strncpy
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_vtblk_done
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_BLOCKIF_IOV_MAX,4,2            ## @BLOCKIF_IOV_MAX
	.comm	_VRING_DESC_F_WRITE,8,3         ## @VRING_DESC_F_WRITE
	.comm	_DEV_BSIZE,4,2                  ## @DEV_BSIZE
	.comm	_VBH_FLAG_BARRIER,4,2           ## @VBH_FLAG_BARRIER
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_pci_vtblk_proc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pci_vtblk_proc
_pci_vtblk_proc:                        ; @pci_vtblk_proc
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-88]
Lloh3:
	adrp	x21, _BLOCKIF_IOV_MAX@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BLOCKIF_IOV_MAX@GOTPAGEOFF]
	ldr	w9, [x21]
	add	w3, w9, #2
	lsl	x12, x3, #4
	mov	x9, x12
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x20, x9, x12
	mov	sp, x20
	lsl	x12, x3, #3
	mov	x9, x12
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0xffffffff0
	sub	x22, x9, x10
	mov	sp, x22
	sub	x1, x29, #96
	mov	x0, x8
	mov	x2, x20
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	x4, x22
	bl	_vq_getchain
	mov	x24, x0
	cmp	w0, #1
	ldr	w8, [x21]
	add	w8, w8, #2
	ccmp	w0, w8, #0, gt
	cset	w0, le
	bl	_assert
	ldr	x8, [x19, #8]
	ldur	x9, [x29, #-96]
	add	x21, x8, x9, lsl #5
	ldr	x8, [x22]
Lloh9:
	adrp	x25, _VRING_DESC_F_WRITE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _VRING_DESC_F_WRITE@GOTPAGEOFF]
	ldr	x9, [x25]
	tst	x9, x8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #8
	cset	w0, eq
	bl	_assert
	ldr	x27, [x20, #8]
	add	x0, x21, #16
	add	x23, x20, #16
	sub	w26, w24, #2
	lsl	w2, w26, #4
	mov	x1, x23
	bl	_memcpy
	str	w26, [x21]
	ldr	w8, [x27]
Lloh11:
	adrp	x9, _DEV_BSIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DEV_BSIZE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	mul	w8, w9, w8
	mov	x26, x21
	str	w8, [x26, #4]!
	sxtw	x8, w24
	sub	x28, x8, #1
	add	x8, x20, x28, lsl #4
	ldr	x9, [x8, #8]
	str	x9, [x21, #24]
	ldr	w8, [x8]
	cmp	w8, #1
	cset	w0, eq
	bl	_assert
	ldr	x8, [x22, x28, lsl #3]
	ldr	w9, [x25]
	and	w0, w9, w8
	bl	_assert
	ldr	w8, [x27, #4]
Lloh14:
	adrp	x9, _VBH_FLAG_BARRIER@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VBH_FLAG_BARRIER@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	bic	w27, w8, w9
	cmp	w24, #3
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
	mov	w8, w28
	add	x22, x22, #8
	sub	x28, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w27, #128
	cset	w8, eq
	ldr	x9, [x22], #8
	ldr	x10, [x25]
	tst	x10, x9
	cset	w9, ne
	eor	w0, w8, w9
	bl	_assert
	ldrsw	x8, [x23], #16
	add	x24, x24, x8
	subs	x28, x28, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x24, #0
LBB0_4:
	str	x24, [x21, #8]
	ldrsw	x0, [x26]
	bl	_DPRINTF
	sub	w8, w27, #128
	cmp	w8, #4
	b.hi	LBB0_7
; %bb.5:
Lloh17:
	adrp	x9, lJTI0_0@PAGE
Lloh18:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_blockif_flush
	b	LBB0_10
LBB0_7:
Lloh19:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_pci_vtblk_done
	b	LBB0_11
LBB0_8:
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_blockif_write
	b	LBB0_10
LBB0_9:
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_blockif_read
LBB0_10:
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
LBB0_11:
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.12:
	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_13:
	ldr	x0, [x20, #24]
	ldr	w2, [x20, #16]
	mov	w1, #0
	bl	_memset
	ldr	x22, [x20, #24]
	ldr	w19, [x19]
	ldr	w0, [x20, #16]
	mov	w1, #4
	bl	_MIN
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_strncpy
	mov	x0, x21
	mov	w1, #0
	bl	_pci_vtblk_done
	b	LBB0_11
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_13-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
                                        ; -- End function
	.comm	_BLOCKIF_IOV_MAX,4,2            ; @BLOCKIF_IOV_MAX
	.comm	_VRING_DESC_F_WRITE,8,3         ; @VRING_DESC_F_WRITE
	.comm	_DEV_BSIZE,4,2                  ; @DEV_BSIZE
	.comm	_VBH_FLAG_BARRIER,4,2           ; @VBH_FLAG_BARRIER
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_pci_vtblk_proc
.subsections_via_symbols
