	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_wkspace_init             ## -- Begin function __lwp_wkspace_init
	.p2align	4, 0x90
___lwp_wkspace_init:                    ## @__lwp_wkspace_init
	.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	%rdi, %r15
	callq	__CPU_ISR_Disable
	xorl	%eax, %eax
	callq	_SYS_GetArenaLo
	movq	%rax, %rdi
	callq	_ROUND32UP
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_SYS_GetArenaLo
	movq	%rax, %rbx
	subq	%r14, %rbx
	addq	%r15, %rbx
	addq	%rax, %r15
	movq	%r15, %rdi
	callq	_SYS_SetArenaLo
	callq	__CPU_ISR_Restore
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_memset
	movq	_PPC_ALIGNMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	___wkspace_heap@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	___lwp_heap_init
	movq	___wkspace_heap_size@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___wkspace_heap,4,2             ## @__wkspace_heap
	.comm	_PPC_ALIGNMENT,4,2              ## @PPC_ALIGNMENT
	.comm	___wkspace_heap_size,4,2        ## @__wkspace_heap_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_wkspace_init             ; -- Begin function __lwp_wkspace_init
	.p2align	2
___lwp_wkspace_init:                    ; @__lwp_wkspace_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	__CPU_ISR_Disable
	bl	_SYS_GetArenaLo
	bl	_ROUND32UP
	mov	x20, x0
	bl	_SYS_GetArenaLo
	sub	x8, x0, x20
	add	x21, x8, x19
	add	x0, x0, x19
	bl	_SYS_SetArenaLo
	bl	__CPU_ISR_Restore
	mov	x0, x20
	mov	w1, #0
	mov	x2, x21
	bl	_memset
Lloh0:
	adrp	x8, _PPC_ALIGNMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PPC_ALIGNMENT@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x0, ___wkspace_heap@GOTPAGE
Lloh4:
	ldr	x0, [x0, ___wkspace_heap@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x21
	bl	___lwp_heap_init
Lloh5:
	adrp	x8, ___wkspace_heap_size@GOTPAGE
Lloh6:
	ldr	x8, [x8, ___wkspace_heap_size@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w0
	str	w9, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___wkspace_heap,4,2             ; @__wkspace_heap
	.comm	_PPC_ALIGNMENT,4,2              ; @PPC_ALIGNMENT
	.comm	___wkspace_heap_size,4,2        ; @__wkspace_heap_size
.subsections_via_symbols
