	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_thread_entry
_alloc_thread_entry:                    ## @alloc_thread_entry
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	(%rdi), %ecx
	movl	4(%rdi), %esi
	movq	_MEMOP_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MEMPERM_READ@GOTPCREL(%rip), %rax
	movq	_MEMPERM_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	orl	(%rax), %r9d
	leaq	-4(%rbp), %rdi
	xorl	%edx, %edx
	callq	_svcControlMemory
	xorl	%eax, %eax
	callq	_svcExitThread
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMOP_ALLOC,4,2                ## @MEMOP_ALLOC
	.comm	_MEMPERM_READ,4,2               ## @MEMPERM_READ
	.comm	_MEMPERM_WRITE,4,2              ## @MEMPERM_WRITE
	.no_dead_strip	_alloc_thread_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_thread_entry
_alloc_thread_entry:                    ; @alloc_thread_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldp	w3, w1, [x0]
Lloh0:
	adrp	x8, _MEMOP_ALLOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEMOP_ALLOC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MEMPERM_READ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MEMPERM_READ@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _MEMPERM_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MEMPERM_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w5, w9, w8
	sub	x0, x29, #4
	mov	w2, #0
	bl	_svcControlMemory
	bl	_svcExitThread
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMOP_ALLOC,4,2                ; @MEMOP_ALLOC
	.comm	_MEMPERM_READ,4,2               ; @MEMPERM_READ
	.comm	_MEMPERM_WRITE,4,2              ; @MEMPERM_WRITE
	.no_dead_strip	_alloc_thread_entry
.subsections_via_symbols
