	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_user_ldt_rv
_set_user_ldt_rv:                       ## @set_user_ldt_rv
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	_curthread@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdi
	cmpq	%rax, 8(%rdi)
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	popq	%rbp
	jmp	_set_user_ldt                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,8,3                  ## @curthread
	.no_dead_strip	_set_user_ldt_rv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_user_ldt_rv
_set_user_ldt_rv:                       ; @set_user_ldt_rv
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _curthread@GOTPAGE
Lloh1:
	ldr	x9, [x9, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [x9]
	ldr	x9, [x0, #8]
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
	b	_set_user_ldt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,8,3                  ; @curthread
	.no_dead_strip	_set_user_ldt_rv
.subsections_via_symbols
