	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ix86_tls_get_addr              ## -- Begin function ix86_tls_get_addr
	.p2align	4, 0x90
_ix86_tls_get_addr:                     ## @ix86_tls_get_addr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ix86_tls_symbol@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_Pmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TARGET_ANY_GNU_TLS@GOTPCREL(%rip), %rax
	movq	_TARGET_64BIT@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	cmovneq	%rcx, %rsi
	cmpq	$0, (%rax)
	cmoveq	%rcx, %rsi
	callq	_gen_rtx_SYMBOL_REF
	movq	%rax, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ix86_tls_symbol,8,3            ## @ix86_tls_symbol
	.comm	_Pmode,4,2                      ## @Pmode
	.comm	_TARGET_ANY_GNU_TLS,8,3         ## @TARGET_ANY_GNU_TLS
	.comm	_TARGET_64BIT,4,2               ## @TARGET_64BIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"___tls_get_addr"

L_.str.1:                               ## @.str.1
	.asciz	"__tls_get_addr"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ix86_tls_get_addr              ; -- Begin function ix86_tls_get_addr
	.p2align	2
_ix86_tls_get_addr:                     ; @ix86_tls_get_addr
	.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
Lloh0:
	adrp	x19, _ix86_tls_symbol@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ix86_tls_symbol@GOTPAGEOFF]
	ldr	x0, [x19]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _Pmode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Pmode@GOTPAGEOFF]
Lloh4:
	adrp	x9, _TARGET_ANY_GNU_TLS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TARGET_ANY_GNU_TLS@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	ldr	x8, [x9]
Lloh8:
	adrp	x9, _TARGET_64BIT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TARGET_64BIT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w9, #0
	ccmp	x8, #0, #4, eq
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh13:
	adrp	x9, l_.str@PAGE
Lloh14:
	add	x9, x9, l_.str@PAGEOFF
	csel	x1, x9, x8, ne
	bl	_gen_rtx_SYMBOL_REF
	str	x0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ix86_tls_symbol,8,3            ; @ix86_tls_symbol
	.comm	_Pmode,4,2                      ; @Pmode
	.comm	_TARGET_ANY_GNU_TLS,8,3         ; @TARGET_ANY_GNU_TLS
	.comm	_TARGET_64BIT,4,2               ; @TARGET_64BIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"___tls_get_addr"

l_.str.1:                               ; @.str.1
	.asciz	"__tls_get_addr"

.subsections_via_symbols
