	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function balloon_probe
_balloon_probe:                         ## @balloon_probe
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_do_hot_add@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_dm_device@GOTPCREL(%rip), %rbx
	movq	%rdi, 40(%rbx)
	movq	_DM_INITIALIZING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_DYNMEM_PROTOCOL_VERSION_WIN8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	leaq	32(%rbx), %rdi
	callq	_init_completion
	leaq	28(%rbx), %rdi
	callq	_init_completion
	leaq	24(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	movq	_balloon_up@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	16(%rbx), %rdi
	callq	_INIT_WORK
	movq	_hot_add_req@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	12(%rbx), %rdi
	callq	_INIT_WORK
	movl	$0, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_hv_set_drvdata
	movq	%r14, %rdi
	callq	_balloon_connect_vsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_DM_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_dm_thread_func@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	callq	_kthread_run
	movl	%eax, 4(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	4(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_vmbus_close
	movl	%ebx, %eax
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_hot_add,4,2                 ## @do_hot_add
	.comm	_dm_device,48,3                 ## @dm_device
	.comm	_DM_INITIALIZING,4,2            ## @DM_INITIALIZING
	.comm	_DYNMEM_PROTOCOL_VERSION_WIN8,4,2 ## @DYNMEM_PROTOCOL_VERSION_WIN8
	.comm	_balloon_up,4,2                 ## @balloon_up
	.comm	_hot_add_req,4,2                ## @hot_add_req
	.comm	_DM_INITIALIZED,4,2             ## @DM_INITIALIZED
	.comm	_dm_thread_func,4,2             ## @dm_thread_func
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hv_balloon"

	.comm	_hot_add,4,2                    ## @hot_add
	.comm	_hv_memory_nb,4,2               ## @hv_memory_nb
	.comm	_hv_online_page,4,2             ## @hv_online_page
	.no_dead_strip	_balloon_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function balloon_probe
_balloon_probe:                         ; @balloon_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _do_hot_add@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_hot_add@GOTPAGEOFF]
Lloh2:
	str	wzr, [x8]
Lloh3:
	adrp	x20, _dm_device@GOTPAGE
Lloh4:
	ldr	x20, [x20, _dm_device@GOTPAGEOFF]
	str	x0, [x20, #40]
Lloh5:
	adrp	x8, _DM_INITIALIZING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DM_INITIALIZING@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh8:
	adrp	x8, _DYNMEM_PROTOCOL_VERSION_WIN8@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DYNMEM_PROTOCOL_VERSION_WIN8@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x20, #36]
	add	x0, x20, #32
	bl	_init_completion
	add	x0, x20, #28
	bl	_init_completion
	add	x0, x20, #24
	bl	_INIT_LIST_HEAD
	add	x0, x20, #20
	bl	_spin_lock_init
Lloh11:
	adrp	x8, _balloon_up@GOTPAGE
Lloh12:
	ldr	x8, [x8, _balloon_up@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x0, x20, #16
	bl	_INIT_WORK
Lloh14:
	adrp	x8, _hot_add_req@GOTPAGE
Lloh15:
	ldr	x8, [x8, _hot_add_req@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x0, x20, #12
	bl	_INIT_WORK
	str	wzr, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_hv_set_drvdata
	mov	x0, x19
	bl	_balloon_connect_vsp
	cbnz	w0, LBB0_3
; %bb.1:
Lloh17:
	adrp	x8, _DM_INITIALIZED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DM_INITIALIZED@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh20:
	adrp	x8, _dm_thread_func@GOTPAGE
Lloh21:
	ldr	x8, [x8, _dm_thread_func@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x2, l_.str@PAGE
Lloh24:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_kthread_run
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x20, #4]
	bl	_PTR_ERR
	mov	x20, x0
	ldr	w0, [x19]
	bl	_vmbus_close
	mov	x0, x20
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_do_hot_add,4,2                 ; @do_hot_add
	.comm	_dm_device,48,3                 ; @dm_device
	.comm	_DM_INITIALIZING,4,2            ; @DM_INITIALIZING
	.comm	_DYNMEM_PROTOCOL_VERSION_WIN8,4,2 ; @DYNMEM_PROTOCOL_VERSION_WIN8
	.comm	_balloon_up,4,2                 ; @balloon_up
	.comm	_hot_add_req,4,2                ; @hot_add_req
	.comm	_DM_INITIALIZED,4,2             ; @DM_INITIALIZED
	.comm	_dm_thread_func,4,2             ; @dm_thread_func
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hv_balloon"

	.comm	_hot_add,4,2                    ; @hot_add
	.comm	_hv_memory_nb,4,2               ; @hv_memory_nb
	.comm	_hv_online_page,4,2             ; @hv_online_page
	.no_dead_strip	_balloon_probe
.subsections_via_symbols
