	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmbus_on_msg_dpc               ## -- Begin function vmbus_on_msg_dpc
	.p2align	4, 0x90
_vmbus_on_msg_dpc:                      ## @vmbus_on_msg_dpc
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	_VMBUS_MESSAGE_SINT@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$4, %rax
	movq	8(%rbx,%rax), %r14
	movq	_HVMSG_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jne	LBB0_1
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	addq	%rax, %rbx
	movq	(%rbx), %r15
	movq	%r15, %rdi
	callq	_trace_vmbus_on_msg_dpc
	movq	(%r15), %rdx
	movq	_CHANNELMSG_COUNT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jae	LBB0_2
## %bb.3:
	movq	_channel_message_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rdx
	movq	(%rax,%rdx), %rcx
	movq	_VMHT_BLOCKING@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_10
## %bb.4:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%rax, %r12
	movq	_vmbus_onmessage_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_INIT_WORK
	movq	%r12, %rdi
	addq	$4, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_memcpy
	movq	(%r15), %rax
	cmpq	$129, %rax
	je	LBB0_8
## %bb.6:
	cmpq	$128, %rax
	jne	LBB0_9
## %bb.7:
	movq	_vmbus_connection@GOTPCREL(%rip), %rax
	movl	4(%rax), %edi
	movq	%r12, %rsi
	callq	_schedule_work_on
	jmp	LBB0_11
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN_ONCE
	jmp	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	callq	*8(%rax,%rdx)
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmbus_signal_eom               ## TAILCALL
LBB0_8:
	movq	_vmbus_connection@GOTPCREL(%rip), %r15
	leaq	8(%r15), %rdi
	callq	_atomic_inc
	movl	(%r15), %esi
	movl	4(%r15), %edi
	movq	%r12, %rdx
	callq	_queue_work_on
	jmp	LBB0_11
LBB0_9:
	movq	_vmbus_connection@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_queue_work
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_VMBUS_MESSAGE_SINT,4,2         ## @VMBUS_MESSAGE_SINT
	.comm	_HVMSG_NONE,8,3                 ## @HVMSG_NONE
	.comm	_CHANNELMSG_COUNT,8,3           ## @CHANNELMSG_COUNT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown msgtype=%d\n"

	.comm	_channel_message_table,8,3      ## @channel_message_table
	.comm	_VMHT_BLOCKING,8,3              ## @VMHT_BLOCKING
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_vmbus_onmessage_work,4,2       ## @vmbus_onmessage_work
	.comm	_vmbus_connection,12,2          ## @vmbus_connection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vmbus_on_msg_dpc               ; -- Begin function vmbus_on_msg_dpc
	.p2align	2
_vmbus_on_msg_dpc:                      ; @vmbus_on_msg_dpc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _VMBUS_MESSAGE_SINT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VMBUS_MESSAGE_SINT@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	add	x19, x8, x9, lsl #4
	ldr	x20, [x19, #8]
Lloh3:
	adrp	x8, _HVMSG_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HVMSG_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x21, [x19]
	mov	x0, x21
	bl	_trace_vmbus_on_msg_dpc
	ldr	x2, [x21]
Lloh6:
	adrp	x8, _CHANNELMSG_COUNT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHANNELMSG_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x2, x8
	b.hs	LBB0_8
; %bb.3:
Lloh9:
	adrp	x8, _channel_message_table@GOTPAGE
Lloh10:
	ldr	x8, [x8, _channel_message_table@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	lsl	x9, x2, #4
	ldr	x9, [x8, x9]
Lloh12:
	adrp	x10, _VMHT_BLOCKING@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VMHT_BLOCKING@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.4:
Lloh15:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kmalloc
	cbz	x0, LBB0_1
; %bb.5:
	mov	x22, x0
Lloh18:
	adrp	x8, _vmbus_onmessage_work@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vmbus_onmessage_work@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x22, #4
	mov	x1, x19
	mov	w2, #16
	bl	_memcpy
	ldr	x8, [x21]
	cmp	x8, #129
	b.eq	LBB0_11
; %bb.6:
	cmp	x8, #128
	b.ne	LBB0_12
; %bb.7:
Lloh21:
	adrp	x8, _vmbus_connection@GOTPAGE
Lloh22:
	ldr	x8, [x8, _vmbus_connection@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8, #4]
	mov	x1, x22
	bl	_schedule_work_on
	b	LBB0_10
LBB0_8:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
	b	LBB0_10
LBB0_9:
	add	x8, x8, x2, lsl #4
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_vmbus_signal_eom
LBB0_11:
Lloh26:
	adrp	x21, _vmbus_connection@GOTPAGE
Lloh27:
	ldr	x21, [x21, _vmbus_connection@GOTPAGEOFF]
	add	x0, x21, #8
	bl	_atomic_inc
	ldp	w1, w0, [x21]
	mov	x2, x22
	bl	_queue_work_on
	b	LBB0_10
LBB0_12:
Lloh28:
	adrp	x8, _vmbus_connection@GOTPAGE
Lloh29:
	ldr	x8, [x8, _vmbus_connection@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_queue_work
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_VMBUS_MESSAGE_SINT,4,2         ; @VMBUS_MESSAGE_SINT
	.comm	_HVMSG_NONE,8,3                 ; @HVMSG_NONE
	.comm	_CHANNELMSG_COUNT,8,3           ; @CHANNELMSG_COUNT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown msgtype=%d\n"

	.comm	_channel_message_table,8,3      ; @channel_message_table
	.comm	_VMHT_BLOCKING,8,3              ; @VMHT_BLOCKING
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_vmbus_onmessage_work,4,2       ; @vmbus_onmessage_work
	.comm	_vmbus_connection,12,2          ; @vmbus_connection
.subsections_via_symbols
