	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DPLAYX_PrivHeapFree
_DPLAYX_PrivHeapFree:                   ## @DPLAYX_PrivHeapFree
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DPLAYX_MEM_SLICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_data@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_CONTAINING_RECORD
	movq	_lpMemArea@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	subq	%rcx, %rax
	sarq	$2, %rax
	movq	_dwBlockSize@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	cqto
	idivq	%rsi
	jmp	LBB0_4
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rcx,%rax,4)
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPLAYX_MEM_SLICE,4,2           ## @DPLAYX_MEM_SLICE
	.comm	_data,4,2                       ## @data
	.comm	_lpMemArea,8,3                  ## @lpMemArea
	.comm	_dwBlockSize,4,2                ## @dwBlockSize
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_DPLAYX_PrivHeapFree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DPLAYX_PrivHeapFree
_DPLAYX_PrivHeapFree:                   ; @DPLAYX_PrivHeapFree
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _DPLAYX_MEM_SLICE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPLAYX_MEM_SLICE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _data@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_CONTAINING_RECORD
Lloh6:
	adrp	x8, _lpMemArea@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lpMemArea@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	sub	x9, x0, x8
	asr	x9, x9, #2
Lloh9:
	adrp	x10, _dwBlockSize@GOTPAGE
Lloh10:
	ldr	x10, [x10, _dwBlockSize@GOTPAGEOFF]
Lloh11:
	ldrsw	x10, [x10]
	sdiv	x9, x9, x10
Lloh12:
	adrp	x10, _FALSE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	str	w10, [x8, x9, lsl #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPLAYX_MEM_SLICE,4,2           ; @DPLAYX_MEM_SLICE
	.comm	_data,4,2                       ; @data
	.comm	_lpMemArea,8,3                  ; @lpMemArea
	.comm	_dwBlockSize,4,2                ; @dwBlockSize
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_DPLAYX_PrivHeapFree
.subsections_via_symbols
