	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsetstack                      ## -- Begin function dsetstack
	.p2align	4, 0x90
_dsetstack:                             ## @dsetstack
	.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
	movq	_STRdirstack@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %r15
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_14
## %bb.2:
	movq	_dhead@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	cmpq	%rbx, %rdi
	je	LBB0_8
## %bb.3:
	movq	_dcwd@GOTPCREL(%rip), %r14
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rdi
	cmpq	%rbx, %rdi
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	%rax, (%rcx)
	movq	(%rdi), %rax
	movq	%rcx, 8(%rax)
	cmpq	(%r14), %rdi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_dfree
	jmp	LBB0_6
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r15), %r14
LBB0_8:
	movq	_dcwd@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
	movq	%rax, (%rbx)
	movq	%rbx, (%rax)
	movq	(%r15), %rax
	movq	%rbx, 8(%rax)
	testq	%r14, %r14
	je	LBB0_13
## %bb.9:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	addq	$8, %r14
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$32, %edi
	movl	$1, %esi
	callq	_xcalloc
	movq	%rax, %rbx
	movq	-8(%r14), %rdi
	callq	_Strsave
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	(%r15), %rax
	movq	8(%rax), %rcx
	movq	%rcx, 8(%rbx)
	movq	%rbx, 8(%rax)
	movq	8(%rbx), %rax
	movq	%rbx, (%rax)
	movq	(%r14), %rax
	addq	$8, %r14
	testq	%rax, %rax
	jne	LBB0_11
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dgetstack                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STRdirstack,4,2                ## @STRdirstack
	.comm	_dhead,32,3                     ## @dhead
	.comm	_dcwd,8,3                       ## @dcwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsetstack                      ; -- Begin function dsetstack
	.p2align	2
_dsetstack:                             ; @dsetstack
	.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
Lloh0:
	adrp	x8, _STRdirstack@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRdirstack@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_adrof
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
Lloh3:
	adrp	x21, _dhead@GOTPAGE
Lloh4:
	ldr	x21, [x21, _dhead@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh5:
	adrp	x20, _dcwd@GOTPAGE
Lloh6:
	ldr	x20, [x20, _dcwd@GOTPAGEOFF]
	cmp	x0, x21
	b.ne	LBB0_4
	b	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x21]
	cmp	x0, x21
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x0]
	str	x8, [x9]
	ldr	x8, [x0]
	str	x9, [x8, #8]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_dfree
	b	LBB0_3
LBB0_6:
	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
LBB0_7:
	ldr	x8, [x19]
LBB0_8:
	ldr	x9, [x20]
	stp	x9, x9, [x21]
	str	x21, [x9]
	ldr	x9, [x20]
	str	x21, [x9, #8]
	cbz	x8, LBB0_13
; %bb.9:
	ldr	x9, [x8]
	cbz	x9, LBB0_13
; %bb.10:
	add	x21, x8, #8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x9]
	cbz	x8, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #32
	mov	w1, #1
	bl	_xcalloc
	mov	x19, x0
	ldur	x0, [x21, #-8]
	bl	_Strsave
	str	w0, [x19, #24]
	ldr	x8, [x20]
	str	x8, [x19]
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	stp	x9, xzr, [x19, #8]
	str	x19, [x8, #8]
	ldr	x8, [x19, #8]
	str	x19, [x8]
	ldr	x9, [x21], #8
	cbnz	x9, LBB0_11
LBB0_13:
	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
	b	_dgetstack
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STRdirstack,4,2                ; @STRdirstack
	.comm	_dhead,32,3                     ; @dhead
	.comm	_dcwd,8,3                       ; @dcwd
.subsections_via_symbols
