	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xo_dump_stack                  ## -- Begin function xo_dump_stack
	.p2align	4, 0x90
_xo_dump_stack:                         ## @xo_dump_stack
	.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
	callq	_xo_default
	movq	%rax, %r15
	movq	_stderr@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	movq	8(%r15), %r13
	addq	$40, %r13
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	(%r12), %r14d
	movl	(%r13), %edi
	callq	_xo_state_name
	movq	-8(%r13), %r8
	testq	%r8, %r8
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rcx, %r8
	movl	-16(%r13), %r9d
	movl	%r14d, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	addq	$24, %r13
	cmpl	(%r15), %ebx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Stack dump:\n"

L_.str.1:                               ## @.str.1
	.asciz	"   [%d] %s '%s' [%x]\n"

L_.str.2:                               ## @.str.2
	.asciz	"--"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xo_dump_stack                  ; -- Begin function xo_dump_stack
	.p2align	2
_xo_dump_stack:                         ; @xo_dump_stack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	bl	_xo_default
	mov	x19, x0
Lloh0:
	adrp	x22, _stderr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w23, #0
	ldr	x8, [x19, #8]
	add	x24, x8, #40
Lloh4:
	adrp	x25, l_.str.2@PAGE
Lloh5:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh6:
	adrp	x20, l_.str.1@PAGE
Lloh7:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	ldr	w21, [x22]
	ldr	w0, [x24]
	bl	_xo_state_name
	ldur	x8, [x24, #-8]
	cmp	x8, #0
	csel	x8, x25, x8, eq
	ldur	w9, [x24, #-16]
	stp	x8, x9, [sp, #16]
	stp	x23, x0, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_fprintf
	ldr	w8, [x19]
	add	x24, x24, #24
	cmp	w23, w8
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Stack dump:\n"

l_.str.1:                               ; @.str.1
	.asciz	"   [%d] %s '%s' [%x]\n"

l_.str.2:                               ; @.str.2
	.asciz	"--"

.subsections_via_symbols
