	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function version_resp
_version_resp:                          ## @version_resp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rsi)
	je	LBB0_1
## %bb.5:
	addq	$8, %rbx
	movq	%rbx, %rdi
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_complete                       ## TAILCALL
LBB0_1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	$0, (%rbx)
	leaq	-40(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_memset
	movq	_DM_VERSION_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	$20, -32(%rbp)
	movq	_trans_id@GOTPCREL(%rip), %rdi
	callq	_atomic_inc_return
	movl	%eax, -28(%rbp)
	movq	_DYNMEM_PROTOCOL_VERSION_WIN7@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	$1, -40(%rbp)
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	_VM_PKT_DATA_INBAND@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rsi
	movl	$20, %edx
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_vmbus_sendpacket
	testl	%eax, %eax
	je	LBB0_4
LBB0_3:
	movq	_DM_INIT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_complete
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM_VERSION_REQUEST,4,2         ## @DM_VERSION_REQUEST
	.comm	_trans_id,4,2                   ## @trans_id
	.comm	_DYNMEM_PROTOCOL_VERSION_WIN7,4,2 ## @DYNMEM_PROTOCOL_VERSION_WIN7
	.comm	_VM_PKT_DATA_INBAND,4,2         ## @VM_PKT_DATA_INBAND
	.comm	_DM_INIT_ERROR,4,2              ## @DM_INIT_ERROR
	.no_dead_strip	_version_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function version_resp
_version_resp:                          ; @version_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x1]
	cbz	x8, LBB0_2
; %bb.1:
	add	x0, x19, #8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_complete
LBB0_2:
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
	str	xzr, [x19]
	mov	w20, #20
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #20
	bl	_memset
Lloh0:
	adrp	x8, _DM_VERSION_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM_VERSION_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	w20, [sp, #16]
Lloh3:
	adrp	x0, _trans_id@GOTPAGE
Lloh4:
	ldr	x0, [x0, _trans_id@GOTPAGEOFF]
	bl	_atomic_inc_return
	str	w0, [sp, #20]
Lloh5:
	adrp	x8, _DYNMEM_PROTOCOL_VERSION_WIN7@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DYNMEM_PROTOCOL_VERSION_WIN7@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [sp, #8]
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _VM_PKT_DATA_INBAND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VM_PKT_DATA_INBAND@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
	add	x1, sp, #8
	mov	w2, #20
	mov	x3, #0
	mov	w5, #0
	bl	_vmbus_sendpacket
	cbz	w0, LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _DM_INIT_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DM_INIT_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	add	x0, x19, #8
	bl	_complete
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DM_VERSION_REQUEST,4,2         ; @DM_VERSION_REQUEST
	.comm	_trans_id,4,2                   ; @trans_id
	.comm	_DYNMEM_PROTOCOL_VERSION_WIN7,4,2 ; @DYNMEM_PROTOCOL_VERSION_WIN7
	.comm	_VM_PKT_DATA_INBAND,4,2         ; @VM_PKT_DATA_INBAND
	.comm	_DM_INIT_ERROR,4,2              ; @DM_INIT_ERROR
	.no_dead_strip	_version_resp
.subsections_via_symbols
