	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmballoon_send_start
_vmballoon_send_start:                  ## @vmballoon_send_start
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdx
	movq	%rdi, %r15
	movq	_VMW_BALLOON_CMD_START@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	leaq	-32(%rbp), %rbx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	___vmballoon_cmd
	cmpq	$128, %rax
	je	LBB0_3
## %bb.1:
	cmpq	$129, %rax
	jne	LBB0_7
## %bb.2:
	movq	_VMW_BALLOON_BASIC_CMDS@GOTPCREL(%rip), %rbx
LBB0_3:
	movq	(%rbx), %rax
	movq	%rax, (%r15)
	movq	_VMW_BALLOON_4K_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movq	_VMW_BALLOON_BATCHED_2M_CMDS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	testq	%rcx, %rax
	je	LBB0_6
## %bb.4:
	movq	_VMW_BALLOON_BATCHED_CMDS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	testq	%rcx, %rax
	je	LBB0_6
## %bb.5:
	movq	_VMW_BALLOON_2M_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	jmp	LBB0_6
LBB0_7:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMW_BALLOON_CMD_START,4,2      ## @VMW_BALLOON_CMD_START
	.comm	_VMW_BALLOON_BASIC_CMDS,8,3     ## @VMW_BALLOON_BASIC_CMDS
	.comm	_EIO,4,2                        ## @EIO
	.comm	_VMW_BALLOON_4K_PAGE,4,2        ## @VMW_BALLOON_4K_PAGE
	.comm	_VMW_BALLOON_BATCHED_2M_CMDS,4,2 ## @VMW_BALLOON_BATCHED_2M_CMDS
	.comm	_VMW_BALLOON_BATCHED_CMDS,4,2   ## @VMW_BALLOON_BATCHED_CMDS
	.comm	_VMW_BALLOON_2M_PAGE,4,2        ## @VMW_BALLOON_2M_PAGE
	.no_dead_strip	_vmballoon_send_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmballoon_send_start
_vmballoon_send_start:                  ; @vmballoon_send_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VMW_BALLOON_CMD_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMW_BALLOON_CMD_START@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x20, sp, #8
	add	x4, sp, #8
	mov	w3, #0
	bl	___vmballoon_cmd
	cmp	x0, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	x0, #129
	b.ne	LBB0_7
; %bb.2:
Lloh3:
	adrp	x20, _VMW_BALLOON_BASIC_CMDS@GOTPAGE
Lloh4:
	ldr	x20, [x20, _VMW_BALLOON_BASIC_CMDS@GOTPAGEOFF]
LBB0_3:
	ldr	x8, [x20]
	str	x8, [x19]
Lloh5:
	adrp	x9, _VMW_BALLOON_4K_PAGE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VMW_BALLOON_4K_PAGE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x19, #8]
Lloh8:
	adrp	x9, _VMW_BALLOON_BATCHED_2M_CMDS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VMW_BALLOON_BATCHED_2M_CMDS@GOTPAGEOFF]
Lloh10:
	ldrsw	x9, [x9]
	tst	x8, x9
	b.eq	LBB0_6
; %bb.4:
Lloh11:
	adrp	x9, _VMW_BALLOON_BATCHED_CMDS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VMW_BALLOON_BATCHED_CMDS@GOTPAGEOFF]
Lloh13:
	ldrsw	x9, [x9]
	tst	x8, x9
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #0
Lloh14:
	adrp	x8, _VMW_BALLOON_2M_PAGE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VMW_BALLOON_2M_PAGE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _EIO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_VMW_BALLOON_CMD_START,4,2      ; @VMW_BALLOON_CMD_START
	.comm	_VMW_BALLOON_BASIC_CMDS,8,3     ; @VMW_BALLOON_BASIC_CMDS
	.comm	_EIO,4,2                        ; @EIO
	.comm	_VMW_BALLOON_4K_PAGE,4,2        ; @VMW_BALLOON_4K_PAGE
	.comm	_VMW_BALLOON_BATCHED_2M_CMDS,4,2 ; @VMW_BALLOON_BATCHED_2M_CMDS
	.comm	_VMW_BALLOON_BATCHED_CMDS,4,2   ; @VMW_BALLOON_BATCHED_CMDS
	.comm	_VMW_BALLOON_2M_PAGE,4,2        ; @VMW_BALLOON_2M_PAGE
	.no_dead_strip	_vmballoon_send_start
.subsections_via_symbols
