	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_thr_tls_get_addr
_pt_thr_tls_get_addr:                   ## @pt_thr_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	subq	(%rbx), %rsi
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	32(%rbx), %edi
	addq	8(%rbx), %rsi
	leaq	-36(%rbp), %rdx
	movl	$4, %ecx
	xorl	%eax, %eax
	callq	_ps_pread
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movl	32(%rbx), %edi
	movq	40(%rbx), %rax
	movq	(%r12), %rcx
	movq	16(%rbx), %rsi
	addq	(%rax,%rcx,8), %rsi
	leaq	-48(%rbp), %rdx
	movl	$8, %ecx
	xorl	%eax, %eax
	callq	_ps_pread
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:
	movl	32(%rbx), %edi
	movq	24(%rbx), %rsi
	addq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movl	$8, %ecx
	xorl	%eax, %eax
	callq	_ps_pread
	testl	%eax, %eax
	jne	LBB0_1
## %bb.4:
	movl	32(%rbx), %edi
	movq	-56(%rbp), %rax
	movslq	-36(%rbp), %rcx
	leaq	(%rax,%rcx,8), %rsi
	addq	$8, %rsi
	movl	$8, %ecx
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_ps_pread
	testl	%eax, %eax
	je	LBB0_5
LBB0_1:
	movl	%eax, %edi
	callq	_P2T
LBB0_6:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	addq	%r14, (%r15)
	movq	_TD_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_TD_OK,4,2                      ## @TD_OK
	.no_dead_strip	_pt_thr_tls_get_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_thr_tls_get_addr
_pt_thr_tls_get_addr:                   ; @pt_thr_tls_get_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
	ldr	x22, [x0, #8]
	ldr	w0, [x22, #32]
	ldp	x8, x9, [x22]
	sub	x8, x1, x8
	add	x1, x8, x9
	mov	w8, #4
	add	x9, sp, #28
	stp	x9, x8, [sp]
	bl	_ps_pread
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w0, [x22, #32]
	ldr	x8, [x22, #40]
	ldr	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x22, #16]
	add	x1, x9, x8
	mov	w8, #8
	add	x9, sp, #32
	stp	x9, x8, [sp]
	bl	_ps_pread
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w0, [x22, #32]
	ldr	x8, [sp, #32]
	ldr	x9, [x22, #24]
	add	x1, x9, x8
	mov	w8, #8
	add	x9, sp, #40
	stp	x9, x8, [sp]
	bl	_ps_pread
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x22, #32]
	ldr	x8, [sp, #40]
	ldrsw	x9, [sp, #28]
	add	x8, x8, x9, lsl #3
	add	x1, x8, #8
	mov	w8, #8
	stp	x19, x8, [sp]
	bl	_ps_pread
	cbz	w0, LBB0_6
LBB0_4:
	bl	_P2T
LBB0_5:
	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
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	x8, [x19]
	add	x8, x8, x20
	str	x8, [x19]
Lloh0:
	adrp	x8, _TD_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TD_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TD_OK,4,2                      ; @TD_OK
	.no_dead_strip	_pt_thr_tls_get_addr
.subsections_via_symbols
