	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LWP_SetThreadPriority          ## -- Begin function LWP_SetThreadPriority
	.p2align	4, 0x90
_LWP_SetThreadPriority:                 ## @LWP_SetThreadPriority
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	_LWP_THREAD_NULL@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_LWP_GetSelf
	movq	%rax, %rdi
LBB0_2:
	callq	___lwp_cntrl_open
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	___lwp_priotocore
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	___lwp_thread_changepriority
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___lwp_thread_dispatchenable    ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LWP_THREAD_NULL,8,3            ## @LWP_THREAD_NULL
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LWP_SetThreadPriority          ; -- Begin function LWP_SetThreadPriority
	.p2align	2
_LWP_SetThreadPriority:                 ; @LWP_SetThreadPriority
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, _LWP_THREAD_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LWP_THREAD_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
	bl	_LWP_GetSelf
LBB0_2:
	bl	___lwp_cntrl_open
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	mov	x0, x19
	bl	___lwp_priotocore
	mov	x1, x0
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	bl	___lwp_thread_changepriority
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___lwp_thread_dispatchenable
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LWP_THREAD_NULL,8,3            ; @LWP_THREAD_NULL
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
