	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_cmd_stack_list_frames       ## -- Begin function mi_cmd_stack_list_frames
	.p2align	4, 0x90
_mi_cmd_stack_list_frames:              ## @mi_cmd_stack_list_frames
	.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
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	_target_has_stack@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	cmpl	$2, %ebx
	jle	LBB0_3
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_error
	cmpl	$2, %ebx
	jg	LBB0_4
LBB0_3:
	cmpl	$1, %ebx
	jne	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
LBB0_5:
	movl	$-1, %r14d
	movl	$-1, %r12d
	cmpl	$2, %ebx
	jne	LBB0_7
## %bb.6:
	movq	(%r15), %rdi
	callq	_atoi
	movl	%eax, %r12d
	movq	8(%r15), %rdi
	callq	_atoi
	movl	%eax, %r14d
LBB0_7:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_get_current_frame
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.9:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	movq	%rbx, %rdi
	callq	_get_prev_frame
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpl	%r12d, %r15d
	jl	LBB0_10
LBB0_12:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.14:
	movq	_uiout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_make_cleanup_ui_out_list_begin_end
	movq	%rax, %r12
	movq	_LOC_AND_ADDRESS@GOTPCREL(%rip), %r13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	(%r13), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	callq	_print_frame_info
	incl	%r15d
	movq	%rbx, %rdi
	callq	_get_prev_frame
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, %r14d
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	%r14d, %r15d
	jle	LBB0_17
	jmp	LBB0_18
LBB0_13:
	leaq	L_.str.2(%rip), %rdi
	callq	_error
	movq	_uiout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_make_cleanup_ui_out_list_begin_end
	movq	%rax, %r12
LBB0_18:
	movq	%r12, %rdi
	callq	_do_cleanups
	cmpl	%r14d, %r15d
	jge	LBB0_20
## %bb.19:
	leaq	L_.str.2(%rip), %rdi
	callq	_error
LBB0_20:
	movq	_MI_CMD_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_target_has_stack,4,2           ## @target_has_stack
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mi_cmd_stack_list_frames: No stack."

L_.str.1:                               ## @.str.1
	.asciz	"mi_cmd_stack_list_frames: Usage: [FRAME_LOW FRAME_HIGH]"

L_.str.2:                               ## @.str.2
	.asciz	"mi_cmd_stack_list_frames: Not enough frames in stack."

	.comm	_uiout,4,2                      ## @uiout
L_.str.3:                               ## @.str.3
	.asciz	"stack"

	.comm	_QUIT,4,2                       ## @QUIT
	.comm	_LOC_AND_ADDRESS,4,2            ## @LOC_AND_ADDRESS
	.comm	_MI_CMD_DONE,4,2                ## @MI_CMD_DONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mi_cmd_stack_list_frames       ; -- Begin function mi_cmd_stack_list_frames
	.p2align	2
_mi_cmd_stack_list_frames:              ; @mi_cmd_stack_list_frames
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _target_has_stack@GOTPAGE
Lloh1:
	ldr	x8, [x8, _target_has_stack@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	w20, #2
	b.le	LBB0_3
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	cmp	w20, #2
	b.gt	LBB0_6
LBB0_3:
	cmp	w20, #1
	b.eq	LBB0_6
; %bb.4:
	cmp	w20, #2
	b.ne	LBB0_7
LBB0_5:
	ldr	x0, [x19]
	bl	_atoi
	mov	x22, x0
	ldr	x0, [x19, #8]
	bl	_atoi
	mov	x19, x0
	b	LBB0_8
LBB0_6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
	cmp	w20, #2
	b.eq	LBB0_5
LBB0_7:
	mov	w19, #-1
	mov	w22, #-1
LBB0_8:
	bl	_get_current_frame
	mov	x21, x0
	mov	w20, #0
	cbz	x0, LBB0_13
; %bb.9:
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.10:
	mov	w20, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	mov	x0, x21
	bl	_get_prev_frame
	mov	x21, x0
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	w20, w22
	b.lt	LBB0_11
LBB0_13:
	cbz	x21, LBB0_18
; %bb.14:
Lloh7:
	adrp	x8, _uiout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _uiout@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_make_cleanup_ui_out_list_begin_end
	mov	x22, x0
Lloh12:
	adrp	x23, _LOC_AND_ADDRESS@GOTPAGE
Lloh13:
	ldr	x23, [x23, _LOC_AND_ADDRESS@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w2, [x23]
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	bl	_print_frame_info
	add	w20, w20, #1
	mov	x0, x21
	bl	_get_prev_frame
	mov	x21, x0
	cbz	x0, LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cmn	w19, #1
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	cmp	w20, w19
	b.le	LBB0_15
	b	LBB0_19
LBB0_18:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
Lloh16:
	adrp	x8, _uiout@GOTPAGE
Lloh17:
	ldr	x8, [x8, _uiout@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_make_cleanup_ui_out_list_begin_end
	mov	x22, x0
LBB0_19:
	mov	x0, x22
	bl	_do_cleanups
	cmp	w20, w19
	b.ge	LBB0_21
; %bb.20:
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_21:
Lloh23:
	adrp	x8, _MI_CMD_DONE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MI_CMD_DONE@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_target_has_stack,4,2           ; @target_has_stack
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mi_cmd_stack_list_frames: No stack."

l_.str.1:                               ; @.str.1
	.asciz	"mi_cmd_stack_list_frames: Usage: [FRAME_LOW FRAME_HIGH]"

l_.str.2:                               ; @.str.2
	.asciz	"mi_cmd_stack_list_frames: Not enough frames in stack."

	.comm	_uiout,4,2                      ; @uiout
l_.str.3:                               ; @.str.3
	.asciz	"stack"

	.comm	_QUIT,4,2                       ; @QUIT
	.comm	_LOC_AND_ADDRESS,4,2            ; @LOC_AND_ADDRESS
	.comm	_MI_CMD_DONE,4,2                ; @MI_CMD_DONE
.subsections_via_symbols
