	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_get_stack_depth             ## -- Begin function dl_get_stack_depth
	.p2align	4, 0x90
_dl_get_stack_depth:                    ## @dl_get_stack_depth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	_dl_get_stack_depth.tmp(%rip), %rdi
	movl	$50, %esi
	callq	_backtrace
	cmpl	$13, %eax
	movl	$12, %ecx
	cmovll	%ecx, %eax
	addl	$-12, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_dl_get_stack_depth.tmp,400,4 ## @dl_get_stack_depth.tmp
	.comm	_max_depth,4,2                  ## @max_depth
	.comm	_uncounted_depth,4,2            ## @uncounted_depth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_get_stack_depth             ; -- Begin function dl_get_stack_depth
	.p2align	2
_dl_get_stack_depth:                    ; @dl_get_stack_depth
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _dl_get_stack_depth.tmp@PAGE
Lloh1:
	add	x0, x0, _dl_get_stack_depth.tmp@PAGEOFF
	mov	w1, #50
	bl	_backtrace
	mov	w8, #12
	cmp	w0, #12
	csel	w8, w0, w8, gt
	sub	w0, w8, #12
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_dl_get_stack_depth.tmp,400,3 ; @dl_get_stack_depth.tmp
	.comm	_max_depth,4,2                  ; @max_depth
	.comm	_uncounted_depth,4,2            ; @uncounted_depth
.subsections_via_symbols
