	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vhd_resize
_vhd_resize:                            ## @vhd_resize
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	leaq	-40(%rbp), %rsi
	callq	_vhd_geometry
	movl	-40(%rbp), %ecx
	movl	-36(%rbp), %edi
	movq	_VHD_SECTOR_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%edi, %eax
	imull	%ecx, %eax
	imull	-32(%rbp), %eax
	imull	%edx, %eax
	cmpl	%ebx, %eax
	jge	LBB0_3
## %bb.1:
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	imull	%ecx, %edi
	imull	%edx, %edi
	addl	%eax, %edi
	movq	%r14, %rsi
	callq	_vhd_geometry
	movl	-40(%rbp), %ecx
	movl	-36(%rbp), %edi
	movl	(%r15), %edx
	movl	%edi, %eax
	imull	%ecx, %eax
	imull	-32(%rbp), %eax
	imull	%edx, %eax
	cmpl	%ebx, %eax
	jl	LBB0_2
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VHD_SECTOR_SIZE,4,2            ## @VHD_SECTOR_SIZE
	.no_dead_strip	_vhd_resize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vhd_resize
_vhd_resize:                            ; @vhd_resize
	.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	x19, x0
	mov	x1, sp
	bl	_vhd_geometry
	ldr	w11, [sp, #8]
Lloh0:
	adrp	x20, _VHD_SECTOR_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _VHD_SECTOR_SIZE@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w8, w9, [sp]
	ldr	w10, [x20]
	mul	w12, w9, w8
	mul	w11, w12, w11
	mul	w0, w11, w10
	cmp	w0, w19
	b.ge	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mul	w8, w9, w8
	madd	w0, w8, w10, w0
	mov	x1, sp
	bl	_vhd_geometry
	ldr	w11, [sp, #8]
	b	LBB0_1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VHD_SECTOR_SIZE,4,2            ; @VHD_SECTOR_SIZE
	.no_dead_strip	_vhd_resize
.subsections_via_symbols
