	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_S_SET_THREAD_LOCAL             ## -- Begin function S_SET_THREAD_LOCAL
	.p2align	4, 0x90
_S_SET_THREAD_LOCAL:                    ## @S_SET_THREAD_LOCAL
	.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
	movq	%rdi, %rbx
	callq	_LOCAL_SYMBOL_CHECK
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_local_symbol_convert
	movq	%rax, %rbx
LBB0_2:
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	callq	_bfd_is_com_section
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	movq	_BSF_THREAD_LOCAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%ecx, %edx
	jne	LBB0_11
	jmp	LBB0_5
LBB0_3:
	movq	_BSF_THREAD_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rbx), %rax
	movl	(%rax), %ecx
LBB0_5:
	orl	%edx, %ecx
	movl	%ecx, (%rax)
	movq	_BSF_FUNCTION@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
LBB0_10:
	callq	__
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_S_GET_NAME
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_as_bad                         ## TAILCALL
LBB0_7:
	movq	8(%rax), %rdi
	callq	_bfd_is_und_section
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	movq	(%rbx), %rax
	movq	8(%rax), %rax
	movq	_SEC_THREAD_LOCAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_BSF_THREAD_LOCAL,4,2           ## @BSF_THREAD_LOCAL
	.comm	_BSF_FUNCTION,4,2               ## @BSF_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Accessing function `%s' as thread-local object"

	.comm	_SEC_THREAD_LOCAL,4,2           ## @SEC_THREAD_LOCAL
L_.str.1:                               ## @.str.1
	.asciz	"Accessing `%s' as thread-local object"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_S_SET_THREAD_LOCAL             ; -- Begin function S_SET_THREAD_LOCAL
	.p2align	2
_S_SET_THREAD_LOCAL:                    ; @S_SET_THREAD_LOCAL
	.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, x0
	bl	_LOCAL_SYMBOL_CHECK
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_local_symbol_convert
	mov	x19, x0
LBB0_2:
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_bfd_is_com_section
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x19]
	ldr	w10, [x8]
Lloh0:
	adrp	x9, _BSF_THREAD_LOCAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BSF_THREAD_LOCAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_10
	b	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _BSF_THREAD_LOCAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BSF_THREAD_LOCAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	x8, [x19]
	ldr	w10, [x8]
LBB0_5:
	orr	w9, w10, w9
	str	w9, [x8]
Lloh6:
	adrp	x10, _BSF_FUNCTION@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BSF_FUNCTION@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.6:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	__
	mov	x20, x0
	mov	x0, x19
	bl	_S_GET_NAME
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_as_bad
LBB0_8:
	ldr	x0, [x8, #8]
	bl	_bfd_is_und_section
	cbnz	w0, LBB0_10
; %bb.9:
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _SEC_THREAD_LOCAL@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SEC_THREAD_LOCAL@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BSF_THREAD_LOCAL,4,2           ; @BSF_THREAD_LOCAL
	.comm	_BSF_FUNCTION,4,2               ; @BSF_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Accessing function `%s' as thread-local object"

	.comm	_SEC_THREAD_LOCAL,4,2           ; @SEC_THREAD_LOCAL
l_.str.1:                               ; @.str.1
	.asciz	"Accessing `%s' as thread-local object"

.subsections_via_symbols
