	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function IOCS_OnSize
_IOCS_OnSize:                           ## @IOCS_OnSize
	.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	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movups	(%rsi), %xmm0
	movups	16(%rsi), %xmm1
	movups	%xmm1, 32(%rdi)
	movups	%xmm0, 16(%rdi)
	cmpl	$0, (%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rsi), %rax
	subq	16(%rsi), %rax
	movq	%rax, -40(%rbp)
	movq	8(%rsi), %rax
	subq	(%rsi), %rax
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %r15
	movq	%r15, %rsi
	callq	_AtlPixelToHiMetric
	movl	(%rbx), %edi
	movq	_DVASPECT_CONTENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdx
	callq	_IOleObject_SetExtent
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	movq	_IID_IOleInPlaceObject@GOTPCREL(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_IOleObject_QueryInterface
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-32(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	callq	_IOleInPlaceObject_SetObjectRects
	movq	-32(%rbp), %rdi
	callq	_IOleInPlaceObject_Release
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DVASPECT_CONTENT,4,2           ## @DVASPECT_CONTENT
	.comm	_IID_IOleInPlaceObject,4,2      ## @IID_IOleInPlaceObject
	.no_dead_strip	_IOCS_OnSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function IOCS_OnSize
_IOCS_OnSize:                           ; @IOCS_OnSize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	q0, q1, [x1]
	stp	q0, q1, [x0, #16]
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldp	x9, x8, [x1, #16]
	sub	x8, x8, x9
	ldp	x10, x9, [x1]
	sub	x9, x9, x10
	stp	x9, x8, [sp, #32]
	add	x0, sp, #32
	add	x1, sp, #16
	bl	_AtlPixelToHiMetric
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _DVASPECT_CONTENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DVASPECT_CONTENT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #16
	bl	_IOleObject_SetExtent
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x20]
Lloh3:
	adrp	x1, _IID_IOleInPlaceObject@GOTPAGE
Lloh4:
	ldr	x1, [x1, _IID_IOleInPlaceObject@GOTPAGEOFF]
	add	x2, sp, #8
	bl	_IOleObject_QueryInterface
	bl	_SUCCEEDED
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [sp, #8]
	mov	x1, x19
	mov	x2, x19
	bl	_IOleInPlaceObject_SetObjectRects
	ldr	x0, [sp, #8]
	bl	_IOleInPlaceObject_Release
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DVASPECT_CONTENT,4,2           ; @DVASPECT_CONTENT
	.comm	_IID_IOleInPlaceObject,4,2      ; @IID_IOleInPlaceObject
	.no_dead_strip	_IOCS_OnSize
.subsections_via_symbols
