	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_packed_backtrace
_print_packed_backtrace:                ## @print_packed_backtrace
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_stderr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_mrb_gc_arena_save
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_bt_type@GOTPCREL(%rip), %rdx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_mrb_data_check_get_ptr
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movl	%r15d, %edi
	callq	_RDATA
	movq	(%rax), %r15
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_packed_bt_len
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	$31, %esi
	movl	$1, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_fwrite
	testl	%r15d, %r15d
	jle	LBB0_9
## %bb.3:
	movl	%r15d, %r13d
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	shlq	$32, %r13
	addq	%rax, %r13
	xorl	%r15d, %r15d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	movq	%rbx, %rsi
	callq	_fputc
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	addq	%rax, %r13
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rax
	sarq	$32, %rax
	leaq	(%rax,%rax,2), %r14
	movq	(%r12,%r14,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	8(%r12,%r14,8), %r8d
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movq	16(%r12,%r14,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_mrb_sym2name
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_mrb_gc_arena_restore
	jmp	LBB0_7
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,8,3                     ## @stderr
	.comm	_bt_type,4,2                    ## @bt_type
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trace (most recent call last):\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t[%d] %s:%d"

L_.str.2:                               ## @.str.2
	.asciz	":in %s"

	.no_dead_strip	_print_packed_backtrace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_packed_backtrace
_print_packed_backtrace:                ; @print_packed_backtrace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_mrb_gc_arena_save
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x2, _bt_type@GOTPAGE
Lloh4:
	ldr	x2, [x2, _bt_type@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x23
	bl	_mrb_data_check_get_ptr
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
	mov	x0, x23
	bl	_RDATA
	ldr	x23, [x0]
	mov	x0, x22
	mov	x1, x23
	bl	_packed_bt_len
	cbz	x0, LBB0_9
; %bb.2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #31
	mov	w2, #1
	mov	x3, x20
	bl	_fwrite
	cmp	w23, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x25, #0
	and	x26, x23, #0xffffffff
	mov	x27, #-4294967296
	add	x28, x27, x26, lsl #32
	mov	w24, #24
Lloh7:
	adrp	x23, l_.str.1@PAGE
Lloh8:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #10
	mov	x1, x20
	bl	_fputc
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x25, x25, #1
	add	x28, x28, x27
	cmp	x26, x25
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	asr	x9, x28, #32
	mul	x8, x9, x24
	ldr	x8, [x22, x8]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	madd	x21, x9, x24, x22
	ldr	w9, [x21, #8]
	stp	x8, x9, [sp, #8]
	str	x25, [sp]
	mov	x0, x20
	mov	x1, x23
	bl	_fprintf
	ldr	x1, [x21, #16]
	cbz	x1, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_mrb_sym2name
	str	x0, [sp]
	mov	x0, x20
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	mov	x0, x19
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_mrb_gc_arena_restore
	b	LBB0_4
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,8,3                     ; @stderr
	.comm	_bt_type,4,2                    ; @bt_type
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trace (most recent call last):\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t[%d] %s:%d"

l_.str.2:                               ; @.str.2
	.asciz	":in %s"

	.no_dead_strip	_print_packed_backtrace
.subsections_via_symbols
