	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getstakd                       ## -- Begin function getstakd
	.p2align	4, 0x90
_getstakd:                              ## @getstakd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_dcwd@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	testl	%edi, %edi
	js	LBB0_6
## %bb.1:
	movq	_dhead@GOTPCREL(%rip), %r8
	movq	8(%r8), %rdx
	incl	%edi
	xorl	%eax, %eax
	movq	%r9, %rsi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r9, %rsi
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	decl	%edi
	testl	%edi, %edi
	jle	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi), %rcx
	movq	%rdx, %rsi
	cmpq	%r8, %rcx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rsi
	jmp	LBB0_5
LBB0_6:
	movq	16(%r9), %rsi
	movq	_dhead@GOTPCREL(%rip), %rax
	cmpq	%rax, %rsi
	jne	LBB0_8
## %bb.7:
	movq	16(%rax), %rsi
LBB0_8:
	movq	(%rsi), %rax
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dcwd,8,3                       ## @dcwd
	.comm	_dhead,24,3                     ## @dhead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getstakd                       ; -- Begin function getstakd
	.p2align	2
_getstakd:                              ; @getstakd
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _dcwd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dcwd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tbnz	w0, #31, LBB0_5
; %bb.1:
Lloh3:
	adrp	x10, _dhead@GOTPAGE
Lloh4:
	ldr	x10, [x10, _dhead@GOTPAGEOFF]
	ldr	x11, [x10, #8]
	add	w12, w0, #1
	mov	x9, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w12, w12, #1
	cmp	w12, #1
	b.lt	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x9, #8]
	cmp	x9, x10
	csel	x9, x11, x9, eq
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.4:
	mov	x0, #0
	ret
LBB0_5:
	ldr	x8, [x8, #16]
Lloh5:
	adrp	x9, _dhead@GOTPAGE
Lloh6:
	ldr	x9, [x9, _dhead@GOTPAGEOFF]
	ldr	x10, [x9, #16]
	cmp	x8, x9
	csel	x9, x10, x8, eq
LBB0_6:
	ldr	x0, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_dcwd,8,3                       ; @dcwd
	.comm	_dhead,24,3                     ; @dhead
.subsections_via_symbols
