	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_thread_pointer
_get_thread_pointer:                    ## @get_thread_pointer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_Pmode@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	_const0_rtx@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_gen_rtvec
	movq	_UNSPEC_TP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_gen_rtx_UNSPEC
	movl	%eax, %ebx
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	callq	_gen_reg_rtx
	movl	%eax, %r14d
	movq	_VOIDmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_gen_rtx_SET
	movl	%eax, %edi
	callq	_emit_insn
	movl	%r14d, %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Pmode,4,2                      ## @Pmode
	.comm	_const0_rtx,4,2                 ## @const0_rtx
	.comm	_UNSPEC_TP,4,2                  ## @UNSPEC_TP
	.comm	_VOIDmode,4,2                   ## @VOIDmode
	.no_dead_strip	_get_thread_pointer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_thread_pointer
_get_thread_pointer:                    ; @get_thread_pointer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x21, _Pmode@GOTPAGE
Lloh1:
	ldr	x21, [x21, _Pmode@GOTPAGEOFF]
	ldr	w19, [x21]
Lloh2:
	adrp	x8, _const0_rtx@GOTPAGE
Lloh3:
	ldr	x8, [x8, _const0_rtx@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #1
	bl	_gen_rtvec
	mov	x1, x0
Lloh5:
	adrp	x8, _UNSPEC_TP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UNSPEC_TP@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_gen_rtx_UNSPEC
	mov	x19, x0
	cbz	w20, LBB0_2
; %bb.1:
	ldr	w0, [x21]
	bl	_gen_reg_rtx
	mov	x20, x0
Lloh8:
	adrp	x8, _VOIDmode@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VOIDmode@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_gen_rtx_SET
	bl	_emit_insn
	mov	x19, x20
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_Pmode,4,2                      ; @Pmode
	.comm	_const0_rtx,4,2                 ; @const0_rtx
	.comm	_UNSPEC_TP,4,2                  ; @UNSPEC_TP
	.comm	_VOIDmode,4,2                   ; @VOIDmode
	.no_dead_strip	_get_thread_pointer
.subsections_via_symbols
