	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x86_backtrace                  ## -- Begin function x86_backtrace
	.p2align	4, 0x90
_x86_backtrace:                         ## @x86_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	%esi, -28(%rbp)
	callq	_frame_pointer
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_user_mode_vm
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_x86_backtrace_32
	testq	%rax, %rax
	jne	LBB0_9
## %bb.4:
	addl	$-1, %r14d
	jae	LBB0_8
	.p2align	4, 0x90
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_dump_user_backtrace
	addl	$-1, %r14d
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	testq	%rbx, %rbx
	jne	LBB0_6
LBB0_8:
	movl	%r14d, -28(%rbp)
	jmp	LBB0_9
LBB0_1:
	movq	%r15, %rdi
	callq	_kernel_stack_pointer
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.2:
	movq	_backtrace_ops@GOTPCREL(%rip), %rcx
	leaq	-28(%rbp), %r8
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_dump_trace
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_backtrace_ops,4,2              ## @backtrace_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_x86_backtrace                  ; -- Begin function x86_backtrace
	.p2align	2
_x86_backtrace:                         ; @x86_backtrace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	str	w1, [sp, #12]
	bl	_frame_pointer
	mov	x19, x0
	mov	x0, x20
	bl	_user_mode_vm
	cbz	w0, LBB0_7
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	bl	_x86_backtrace_32
	cbnz	x0, LBB0_9
; %bb.2:
	subs	w20, w21, #1
	b.lo	LBB0_6
; %bb.3:
	cbz	x19, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_dump_user_backtrace
	subs	w20, w20, #1
	b.lo	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x0
	cbnz	x0, LBB0_4
LBB0_6:
	str	w20, [sp, #12]
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_kernel_stack_pointer
	cbz	w21, LBB0_9
; %bb.8:
	mov	x2, x0
Lloh0:
	adrp	x3, _backtrace_ops@GOTPAGE
Lloh1:
	ldr	x3, [x3, _backtrace_ops@GOTPAGEOFF]
	add	x4, sp, #12
	mov	x0, #0
	mov	x1, x20
	bl	_dump_trace
LBB0_9:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_backtrace_ops,4,2              ; @backtrace_ops
.subsections_via_symbols
