	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function db_stack_trace_cmd
_db_stack_trace_cmd:                    ## @db_stack_trace_cmd
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str.2(%rip), %r12
	leaq	L_.str.8(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_unwind_stack_one
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	16(%rbx), %edi
	movq	_DB_STGY_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_db_search_symbol
	movq	_C_DB_SYM_NULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	movq	%rsi, -56(%rbp)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdi
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	callq	_db_symbol_values
	movq	-56(%rbp), %rsi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_db_printf
	movl	16(%rbx), %edi
	movq	_DB_STGY_PROC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_db_printsym
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_db_printf
	movl	16(%rbx), %esi
	movq	8(%rbx), %rax
	movq	_LR@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_db_printf
	movq	8(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	(%r15), %esi
	callq	_db_printsym
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_db_printf
	movq	8(%rbx), %rax
	movq	_SP@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	_FP@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_db_printf
	movb	(%r15), %al
	movb	(%r13), %cl
	movl	$1, %r13d
	shll	%cl, %r13d
	btsl	%eax, %r13d
	movb	(%r12), %al
	btsl	%eax, %r13d
	movq	_PC@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %r13d
	notl	%r13d
	andl	(%rbx), %r13d
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	leaq	L_.str.6(%rip), %rsi
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	movl	%r13d, %eax
	sarl	%eax
	incq	%r15
	cmpl	$1, %r13d
	movl	%eax, %r13d
	jbe	LBB0_9
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	$1, %r13b
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpq	$10, %r15
	leaq	L_.str.9(%rip), %rdx
	cmovbq	%r14, %rdx
	movq	8(%rbx), %rax
	movl	(%rax,%r15,4), %r8d
	leaq	L_.str.7(%rip), %rdi
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_db_printf
	xorl	%eax, %eax
	cmpl	$1, %r12d
	setne	%al
	movq	%r14, %rsi
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rcx, %rsi
	movl	%eax, %r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.2(%rip), %r12
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_db_printf
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movq	_PC@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_VM_MIN_KERNEL_ADDRESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%rbx)
	jne	LBB0_1
## %bb.13:
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str.10(%rip), %rdi
LBB0_14:
	xorl	%eax, %eax
	callq	_db_printf
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_STGY_ANY,4,2                ## @DB_STGY_ANY
	.comm	_C_DB_SYM_NULL,8,3              ## @C_DB_SYM_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(null)"

L_.str.1:                               ## @.str.1
	.asciz	"%s() at "

	.comm	_DB_STGY_PROC,4,2               ## @DB_STGY_PROC
L_.str.2:                               ## @.str.2
	.asciz	"\n"

L_.str.3:                               ## @.str.3
	.asciz	"\t pc = 0x%08x  lr = 0x%08x ("

	.comm	_LR,8,3                         ## @LR
L_.str.4:                               ## @.str.4
	.asciz	")\n"

L_.str.5:                               ## @.str.5
	.asciz	"\t sp = 0x%08x  fp = 0x%08x"

	.comm	_SP,8,3                         ## @SP
	.comm	_FP,8,3                         ## @FP
	.comm	_PC,4,2                         ## @PC
L_.str.6:                               ## @.str.6
	.asciz	"\n\t"

L_.str.7:                               ## @.str.7
	.asciz	"%s%sr%d = 0x%08x"

L_.str.8:                               ## @.str.8
	.asciz	" "

L_.str.9:                               ## @.str.9
	.space	1

	.comm	_VM_MIN_KERNEL_ADDRESS,4,2      ## @VM_MIN_KERNEL_ADDRESS
L_.str.10:                              ## @.str.10
	.asciz	"Unable to unwind into user mode\n"

L_.str.11:                              ## @.str.11
	.asciz	"Unwind failure (no registers changed)\n"

	.no_dead_strip	_db_stack_trace_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function db_stack_trace_cmd
_db_stack_trace_cmd:                    ; @db_stack_trace_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x23, l_.str.2@PAGE
Lloh1:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh2:
	adrp	x22, l_.str.6@PAGE
Lloh3:
	add	x22, x22, l_.str.6@PAGEOFF
Lloh4:
	adrp	x21, l_.str.9@PAGE
Lloh5:
	add	x21, x21, l_.str.9@PAGEOFF
Lloh6:
	adrp	x25, l_.str.8@PAGE
Lloh7:
	add	x25, x25, l_.str.8@PAGEOFF
Lloh8:
	adrp	x26, l_.str.7@PAGE
Lloh9:
	add	x26, x26, l_.str.7@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x19
	mov	w1, #1
	bl	_unwind_stack_one
	mov	x27, x0
	ldr	w0, [x19, #16]
Lloh10:
	adrp	x8, _DB_STGY_ANY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DB_STGY_ANY@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x2, sp, #40
	bl	_db_search_symbol
Lloh13:
	adrp	x8, _C_DB_SYM_NULL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _C_DB_SYM_NULL@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
Lloh16:
	adrp	x8, l_.str@PAGE
Lloh17:
	add	x8, x8, l_.str@PAGEOFF
	stp	xzr, x8, [sp, #48]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x1, sp, #56
	add	x2, sp, #48
	bl	_db_symbol_values
	ldr	x8, [sp, #56]
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_db_printf
	ldr	w0, [x19, #16]
Lloh20:
	adrp	x20, _DB_STGY_PROC@GOTPAGE
Lloh21:
	ldr	x20, [x20, _DB_STGY_PROC@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_db_printsym
	mov	x28, x23
	mov	x0, x23
	bl	_db_printf
	ldr	x8, [x19, #8]
Lloh22:
	adrp	x23, _LR@GOTPAGE
Lloh23:
	ldr	x23, [x23, _LR@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x19, #16]
	stp	x9, x8, [sp]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_db_printf
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	ldr	w1, [x20]
	bl	_db_printsym
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_db_printf
	ldr	x8, [x19, #8]
Lloh28:
	adrp	x20, _SP@GOTPAGE
Lloh29:
	ldr	x20, [x20, _SP@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh30:
	adrp	x24, _FP@GOTPAGE
Lloh31:
	ldr	x24, [x24, _FP@GOTPAGEOFF]
	ldr	x10, [x24]
	ldr	w9, [x8, x9, lsl #2]
	ldr	w8, [x8, x10, lsl #2]
	stp	x9, x8, [sp]
Lloh32:
	adrp	x0, l_.str.5@PAGE
Lloh33:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_db_printf
	ldr	w8, [x19]
	ldr	w9, [x20]
	mov	w11, #1
	lsl	w9, w11, w9
	ldr	w10, [x24]
	lsl	w10, w11, w10
	orr	w9, w10, w9
	ldr	w10, [x23]
	lsl	w10, w11, w10
	orr	w9, w9, w10
Lloh34:
	adrp	x10, _PC@GOTPAGE
Lloh35:
	ldr	x10, [x10, _PC@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	lsl	w10, w11, w10
	orr	w9, w9, w10
	bics	w23, w8, w9
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x24, #0
	mov	w20, #0
	mov	x8, x22
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	asr	w9, w23, #1
	add	x24, x24, #1
	cmp	w23, #1
	mov	x23, x9
	b.ls	LBB0_9
LBB0_7:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbz	w23, #0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	x24, #10
	csel	x9, x25, x21, lo
	ldr	x10, [x19, #8]
	ldr	w10, [x10, x24, lsl #2]
	stp	x24, x10, [sp, #16]
	stp	x8, x9, [sp]
	mov	x0, x26
	bl	_db_printf
	cmp	w20, #1
	cset	w20, ne
	csel	x8, x22, x25, eq
	b	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x28
	mov	x0, x28
	bl	_db_printf
	cbnz	w27, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]
Lloh37:
	adrp	x9, _PC@GOTPAGE
Lloh38:
	ldr	x9, [x9, _PC@GOTPAGEOFF]
Lloh39:
	ldrsw	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh40:
	adrp	x9, _VM_MIN_KERNEL_ADDRESS@GOTPAGE
Lloh41:
	ldr	x9, [x9, _VM_MIN_KERNEL_ADDRESS@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	cmp	w8, w9
	b.lt	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x19]
	cbnz	w8, LBB0_1
; %bb.12:
Lloh43:
	adrp	x0, l_.str.11@PAGE
Lloh44:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh45:
	adrp	x0, l_.str.10@PAGE
Lloh46:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_14:
	bl	_db_printf
LBB0_15:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_STGY_ANY,4,2                ; @DB_STGY_ANY
	.comm	_C_DB_SYM_NULL,8,3              ; @C_DB_SYM_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(null)"

l_.str.1:                               ; @.str.1
	.asciz	"%s() at "

	.comm	_DB_STGY_PROC,4,2               ; @DB_STGY_PROC
l_.str.2:                               ; @.str.2
	.asciz	"\n"

l_.str.3:                               ; @.str.3
	.asciz	"\t pc = 0x%08x  lr = 0x%08x ("

	.comm	_LR,8,3                         ; @LR
l_.str.4:                               ; @.str.4
	.asciz	")\n"

l_.str.5:                               ; @.str.5
	.asciz	"\t sp = 0x%08x  fp = 0x%08x"

	.comm	_SP,8,3                         ; @SP
	.comm	_FP,8,3                         ; @FP
	.comm	_PC,4,2                         ; @PC
l_.str.6:                               ; @.str.6
	.asciz	"\n\t"

l_.str.7:                               ; @.str.7
	.asciz	"%s%sr%d = 0x%08x"

l_.str.8:                               ; @.str.8
	.asciz	" "

l_.str.9:                               ; @.str.9
	.space	1

	.comm	_VM_MIN_KERNEL_ADDRESS,4,2      ; @VM_MIN_KERNEL_ADDRESS
l_.str.10:                              ; @.str.10
	.asciz	"Unable to unwind into user mode\n"

l_.str.11:                              ; @.str.11
	.asciz	"Unwind failure (no registers changed)\n"

	.no_dead_strip	_db_stack_trace_cmd
.subsections_via_symbols
