	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vss_respond_to_host
_vss_respond_to_host:                   ## @vss_respond_to_host
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_vss_transaction@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_3
## %bb.1:
	movl	%edi, %eax
	movl	16(%rsi), %edx
	movq	8(%rsi), %rdi
	movl	4(%rsi), %ecx
	movl	$0, (%rsi)
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.4:
	movq	_recv_buffer@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%eax, 16(%rsi)
	movq	_ICMSGHDRFLAG_TRANSACTION@GOTPCREL(%rip), %r8
	movq	_ICMSGHDRFLAG_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r8), %eax
	movl	%eax, 20(%rsi)
	movq	_VM_PKT_DATA_INBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r9d, %r9d
	popq	%rbp
	jmp	_vmbus_sendpacket               ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_warn                        ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vss_transaction,24,3           ## @vss_transaction
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VSS: Transaction not active\n"

	.comm	_recv_buffer,8,3                ## @recv_buffer
	.comm	_ICMSGHDRFLAG_TRANSACTION,4,2   ## @ICMSGHDRFLAG_TRANSACTION
	.comm	_ICMSGHDRFLAG_RESPONSE,4,2      ## @ICMSGHDRFLAG_RESPONSE
	.comm	_VM_PKT_DATA_INBAND,4,2         ## @VM_PKT_DATA_INBAND
	.no_dead_strip	_vss_respond_to_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vss_respond_to_host
_vss_respond_to_host:                   ; @vss_respond_to_host
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _vss_transaction@GOTPAGE
Lloh1:
	ldr	x9, [x9, _vss_transaction@GOTPAGEOFF]
	ldr	w8, [x9]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w2, [x9, #16]
	ldr	x8, [x9, #8]
	ldr	w3, [x9, #4]
	str	wzr, [x9]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _ICMSGHDRFLAG_TRANSACTION@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ICMSGHDRFLAG_TRANSACTION@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _ICMSGHDRFLAG_RESPONSE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ICMSGHDRFLAG_RESPONSE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh8:
	adrp	x10, _recv_buffer@GOTPAGE
Lloh9:
	ldr	x10, [x10, _recv_buffer@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x10]
	stp	w0, w9, [x1, #16]
Lloh11:
	adrp	x9, _VM_PKT_DATA_INBAND@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VM_PKT_DATA_INBAND@GOTPAGEOFF]
Lloh13:
	ldr	w4, [x9]
	mov	x0, x8
	mov	w5, #0
	b	_vmbus_sendpacket
LBB0_3:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	b	_pr_warn
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_vss_transaction,24,3           ; @vss_transaction
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VSS: Transaction not active\n"

	.comm	_recv_buffer,8,3                ; @recv_buffer
	.comm	_ICMSGHDRFLAG_TRANSACTION,4,2   ; @ICMSGHDRFLAG_TRANSACTION
	.comm	_ICMSGHDRFLAG_RESPONSE,4,2      ; @ICMSGHDRFLAG_RESPONSE
	.comm	_VM_PKT_DATA_INBAND,4,2         ; @VM_PKT_DATA_INBAND
	.no_dead_strip	_vss_respond_to_host
.subsections_via_symbols
