	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reloc_tlsdesc
_reloc_tlsdesc:                         ## @reloc_tlsdesc
	.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	%r8, %r12
	movl	%ecx, %r13d
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	8(%rsi), %edi
	callq	_ELF_R_SYM
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	8(%r15), %edi
	callq	_ELF_R_SYM
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %ecx
	xorl	%r8d, %r8d
	movq	%r12, %r9
	callq	_find_symdef
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_rtld_die
LBB0_4:
	movq	8(%rbx), %rax
	movq	_SHN_UNDEF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.10:
	movq	__rtld_tlsdesc_undef@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	(%r15), %rax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movq	(%rbx), %rax
	movq	-48(%rbp), %rbx
LBB0_6:
	addq	(%r15), %rax
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.7:
	movq	__rtld_tlsdesc_static@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
	addq	(%rbx), %rax
	jmp	LBB0_9
LBB0_8:
	movq	__rtld_tlsdesc_dynamic@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%r14)
	movl	8(%rbx), %edi
	movq	%rax, %rsi
	callq	_reloc_tlsdesc_alloc
LBB0_9:
	movq	%rax, 8(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHN_UNDEF,8,3                  ## @SHN_UNDEF
	.comm	__rtld_tlsdesc_undef,8,3        ## @_rtld_tlsdesc_undef
	.comm	__rtld_tlsdesc_static,8,3       ## @_rtld_tlsdesc_static
	.comm	__rtld_tlsdesc_dynamic,8,3      ## @_rtld_tlsdesc_dynamic
	.no_dead_strip	_reloc_tlsdesc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reloc_tlsdesc
_reloc_tlsdesc:                         ; @reloc_tlsdesc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x1, #8]
	bl	_ELF_R_SYM
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_ELF_R_SYM
	add	x2, sp, #8
	mov	x1, x21
	mov	x3, x23
	mov	x4, #0
	mov	x5, x22
	bl	_find_symdef
	mov	x21, x0
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_rtld_die
LBB0_3:
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _SHN_UNDEF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SHN_UNDEF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, __rtld_tlsdesc_undef@GOTPAGE
Lloh4:
	ldr	x8, [x8, __rtld_tlsdesc_undef@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	x0, [x20]
	b	LBB0_10
LBB0_5:
	mov	x8, #0
	b	LBB0_7
LBB0_6:
	ldr	x8, [x21]
	ldr	x21, [sp, #8]
LBB0_7:
	ldr	x9, [x20]
	add	x1, x9, x8
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, __rtld_tlsdesc_static@GOTPAGE
Lloh7:
	ldr	x8, [x8, __rtld_tlsdesc_static@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	x8, [x21]
	add	x0, x8, x1
	b	LBB0_10
LBB0_9:
Lloh9:
	adrp	x8, __rtld_tlsdesc_dynamic@GOTPAGE
Lloh10:
	ldr	x8, [x8, __rtld_tlsdesc_dynamic@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19]
	ldr	w0, [x21, #8]
	bl	_reloc_tlsdesc_alloc
LBB0_10:
	str	x0, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SHN_UNDEF,8,3                  ; @SHN_UNDEF
	.comm	__rtld_tlsdesc_undef,8,3        ; @_rtld_tlsdesc_undef
	.comm	__rtld_tlsdesc_static,8,3       ; @_rtld_tlsdesc_static
	.comm	__rtld_tlsdesc_dynamic,8,3      ; @_rtld_tlsdesc_dynamic
	.no_dead_strip	_reloc_tlsdesc
.subsections_via_symbols
