	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_set_user_tls               ## -- Begin function cpu_set_user_tls
	.p2align	4, 0x90
_cpu_set_user_tls:                      ## @cpu_set_user_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)
	jbe	LBB0_1
## %bb.2:
	movq	_TP_OFFSET@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	(%rdi), %rax
	movq	%rsi, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_MAXUSER_ADDRESS,8,3         ## @VM_MAXUSER_ADDRESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TP_OFFSET,8,3                  ## @TP_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cpu_set_user_tls               ; -- Begin function cpu_set_user_tls
	.p2align	2
_cpu_set_user_tls:                      ; @cpu_set_user_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.ls	LBB0_2
; %bb.1:
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x9, _TP_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TP_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x9, x9, x1
	ldr	x8, [x8]
	str	x9, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@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	_EINVAL,4,2                     ; @EINVAL
	.comm	_TP_OFFSET,8,3                  ; @TP_OFFSET
.subsections_via_symbols
