	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linux_set_cloned_tls           ## -- Begin function linux_set_cloned_tls
	.p2align	4, 0x90
_linux_set_cloned_tls:                  ## @linux_set_cloned_tls
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VM_MAXUSER_ADDRESS@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %rax
	movq	%rsi, (%rax)
	movq	__ufssel@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EPERM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_MAXUSER_ADDRESS,8,3         ## @VM_MAXUSER_ADDRESS
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	__ufssel,4,2                    ## @_ufssel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linux_set_cloned_tls           ; -- Begin function linux_set_cloned_tls
	.p2align	2
_linux_set_cloned_tls:                  ; @linux_set_cloned_tls
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _VM_MAXUSER_ADDRESS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VM_MAXUSER_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x1
	b.le	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
	ldp	x8, x9, [x8]
	str	x1, [x9]
Lloh3:
	adrp	x9, __ufssel@GOTPAGE
Lloh4:
	ldr	x9, [x9, __ufssel@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _EPERM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_MAXUSER_ADDRESS,8,3         ; @VM_MAXUSER_ADDRESS
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	__ufssel,4,2                    ; @_ufssel
.subsections_via_symbols
