	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_TLS
_load_TLS:                              ## @load_TLS
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GDT_ENTRY_TLS_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GDT_ENTRY_TLS_MAX@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %edx
	jge	LBB0_11
## %bb.1:
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movslq	%edx, %rcx
	leaq	(%rcx,%rcx,2), %rcx
	leaq	4(,%rcx,4), %r14
	movl	%edx, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r13
	movslq	%edx, %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rax
	subq	%rax, %r13
	cmpl	$0, 4(%r14,%r13)
	je	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_O_FORCE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r13), %rdi
	callq	_do_set_thread_area
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -4(%r13,%r14)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r14,%r13), %rdi
	cmpl	$0, -4(%r13,%r14)
	je	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	callq	_LDT_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -4(%r13,%r14)
	je	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	movq	_GDT_ENTRY_TLS_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_GDT_ENTRY_TLS_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$12, %r14
	jmp	LBB0_2
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_clear_user_desc
	movl	%r12d, (%r13,%r14)
	jmp	LBB0_5
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDT_ENTRY_TLS_MIN,4,2          ## @GDT_ENTRY_TLS_MIN
	.comm	_GDT_ENTRY_TLS_MAX,4,2          ## @GDT_ENTRY_TLS_MAX
	.comm	_O_FORCE,4,2                    ## @O_FORCE
	.no_dead_strip	_load_TLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_TLS
_load_TLS:                              ; @load_TLS
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x22, _GDT_ENTRY_TLS_MIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GDT_ENTRY_TLS_MIN@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x23, _GDT_ENTRY_TLS_MAX@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GDT_ENTRY_TLS_MAX@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ge	LBB0_12
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	sxtw	x9, w8
	mov	w10, #12
	orr	x11, xzr, #0x4
	madd	x24, x9, x10, x11
	mov	w25, #-12
Lloh4:
	adrp	x26, _O_FORCE@GOTPAGE
Lloh5:
	ldr	x26, [x26, _O_FORCE@GOTPAGEOFF]
	mov	w27, #1
	mov	x28, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	smaddl	x21, w8, w25, x9
	add	x0, x21, x24
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	tst	w8, w20
	b.eq	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, x24
	mov	x0, x21
	bl	_do_set_thread_area
	cbnz	w0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	stur	w27, [x21, #-4]
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldur	w8, [x0, #-4]
	cbz	w8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_LDT_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x21, x24
	ldur	w8, [x8, #-4]
	cbz	w8, LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w28, w28, #1
	ldr	w8, [x23]
	cmp	w28, w8
	b.ge	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x22]
	add	x24, x24, #12
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_clear_user_desc
	str	w28, [x21, x24]
	b	LBB0_3
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GDT_ENTRY_TLS_MIN,4,2          ; @GDT_ENTRY_TLS_MIN
	.comm	_GDT_ENTRY_TLS_MAX,4,2          ; @GDT_ENTRY_TLS_MAX
	.comm	_O_FORCE,4,2                    ; @O_FORCE
	.no_dead_strip	_load_TLS
.subsections_via_symbols
