	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function x86_64_stack_walk
_x86_64_stack_walk:                     ## @x86_64_stack_walk
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rsi
	movq	_curr_mode@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_stm_done@GOTPCREL(%rip), %rdi
	movq	_FALSE@GOTPCREL(%rip), %rcx
	cmpq	(%rdi), %rax
	jge	LBB0_15
## %bb.1:
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	_curr_count@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rsi)
	sete	%dil
	callq	_assert
	leaq	56(%r14), %r13
	movq	%r13, %rdi
	callq	_wine_dbgstr_addr
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	40(%r14), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_wine_dbgstr_addr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	24(%r14), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_wine_dbgstr_addr
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	8(%r14), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_wine_dbgstr_addr
	movl	%eax, %r12d
	movq	(%rbx), %rax
	movq	_stm_start@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r15
	cmoveq	%rax, %r15
	movq	_curr_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wine_dbgstr_longlong
	movq	%rbx, %r10
	movl	%eax, %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movq	%r15, %r9
	xorl	%eax, %eax
	pushq	%rbx
	movq	%r10, %rbx
	callq	_TRACE
	addq	$16, %rsp
	movq	(%rbx), %rax
	movq	_stm_start@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movq	(%r13), %rcx
	movq	_AddrModeFlat@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	movq	%r13, %r12
	jne	LBB0_6
## %bb.3:
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rcx, (%rdx)
	jne	LBB0_4
LBB0_6:
	xorl	%r15d, %r15d
	cmpl	$2, -52(%rbp)                   ## 4-byte Folded Reload
	setge	%r15b
	movq	_stm_64bit@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rbx)
	movq	%rax, 8(%r14)
	movq	%rax, 24(%r14)
	leaq	92(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	negq	%r15
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_7:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	cmpq	16(%r14), %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	callq	_FIXME
LBB0_9:
	movq	8(%rbx), %rax
	cmpq	64(%r14), %rax
	movq	%r13, %r12
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	callq	_FIXME
LBB0_11:
	cmpq	$0, 32(%r14)
	je	LBB0_5
## %bb.12:
	xorl	%eax, %eax
	cmpl	$2, -52(%rbp)                   ## 4-byte Folded Reload
	setge	%al
	movq	64(%r14), %rdx
	subq	%rax, %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_fetch_next_frame
	movq	$-1, %r15
	testl	%eax, %eax
	je	LBB0_5
LBB0_13:
	leaq	88(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	%rax, 16(%r14)
	movq	16(%rbx), %rax
	movq	%rax, 48(%r14)
	movq	8(%rbx), %rax
	movq	%rax, 64(%r14)
	movq	16(%rbx), %rcx
	movq	%rcx, -112(%rbp)
	movups	(%rbx), %xmm0
	movaps	%xmm0, -128(%rbp)
	addq	%rax, %r15
	leaq	-128(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	callq	_fetch_next_frame
	testl	%eax, %eax
	je	LBB0_5
## %bb.14:
	movq	_AddrModeFlat@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movq	-120(%rbp), %rax
	movq	%rax, 32(%r14)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%r14)
	movq	%rax, 72(%r14)
	movq	_curr_count@GOTPCREL(%rip), %rbx
	incl	(%rbx)
	movq	%r12, %rdi
	callq	_wine_dbgstr_addr
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_wine_dbgstr_addr
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_wine_dbgstr_addr
	movl	%eax, %r13d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_wine_dbgstr_addr
	movq	_curr_mode@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_stm_start@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movl	%eax, %r15d
	leaq	L_.str.2(%rip), %r12
	leaq	L_.str.1(%rip), %rax
	cmoveq	%rax, %r12
	movl	(%rbx), %edi
	callq	_wine_dbgstr_longlong
	movl	%eax, %r10d
	movl	(%r14), %ebx
	leaq	L_.str.6(%rip), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	movl	%r15d, %r8d
	movq	%r12, %r9
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_TRACE
	movq	_TRUE@GOTPCREL(%rip), %rcx
	addq	$16, %rsp
	jmp	LBB0_15
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	callq	_WARN
LBB0_5:
	movq	_stm_done@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_curr_mode@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rcx
LBB0_15:
	movq	(%rcx), %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curr_count,4,2                 ## @curr_count
	.comm	_curr_mode,8,3                  ## @curr_mode
	.comm	_stm_done,8,3                   ## @stm_done
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter: PC=%s Frame=%s Return=%s Stack=%s Mode=%s Count=%s\n"

	.comm	_stm_start,8,3                  ## @stm_start
L_.str.1:                               ## @.str.1
	.asciz	"start"

L_.str.2:                               ## @.str.2
	.asciz	"64bit"

	.comm	_AddrModeFlat,8,3               ## @AddrModeFlat
L_.str.3:                               ## @.str.3
	.asciz	"Bad AddrPC.Mode / AddrFrame.Mode combination\n"

	.comm	_stm_64bit,8,3                  ## @stm_64bit
L_.str.4:                               ## @.str.4
	.asciz	"inconsistent Stack Pointer\n"

L_.str.5:                               ## @.str.5
	.asciz	"inconsistent Instruction Pointer\n"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.6:                               ## @.str.6
	.asciz	"Leave: PC=%s Frame=%s Return=%s Stack=%s Mode=%s Count=%s FuncTable=%p\n"

	.no_dead_strip	_x86_64_stack_walk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function x86_64_stack_walk
_x86_64_stack_walk:                     ; @x86_64_stack_walk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
Lloh0:
	adrp	x23, _curr_mode@GOTPAGE
Lloh1:
	ldr	x23, [x23, _curr_mode@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _stm_done@GOTPAGE
Lloh3:
	ldr	x9, [x9, _stm_done@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_16
; %bb.1:
	mov	x25, x2
	mov	x19, x1
Lloh5:
	adrp	x21, _curr_count@GOTPAGE
Lloh6:
	ldr	x21, [x21, _curr_count@GOTPAGEOFF]
	ldr	w8, [x21]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w8, [x0]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	add	x20, x19, #56
	mov	x0, x20
	bl	_wine_dbgstr_addr
	mov	x26, x0
	add	x0, x19, #40
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_wine_dbgstr_addr
	mov	x27, x0
	add	x0, x19, #24
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_wine_dbgstr_addr
	mov	x28, x0
	add	x0, x19, #8
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_wine_dbgstr_addr
	mov	x22, x0
	ldr	x8, [x23]
Lloh7:
	adrp	x24, _stm_start@GOTPAGE
Lloh8:
	ldr	x24, [x24, _stm_start@GOTPAGEOFF]
Lloh9:
	adrp	x10, l_.str.2@PAGE
Lloh10:
	add	x10, x10, l_.str.2@PAGEOFF
	ldr	x9, [x24]
Lloh11:
	adrp	x11, l_.str.1@PAGE
Lloh12:
	add	x11, x11, l_.str.1@PAGEOFF
	cmp	x8, x9
	csel	x23, x11, x10, eq
	ldr	w0, [x21]
	bl	_wine_dbgstr_longlong
	mov	x6, x0
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x26
	mov	x2, x27
	mov	x3, x28
	mov	x4, x22
	mov	x5, x23
Lloh15:
	adrp	x21, _curr_mode@GOTPAGE
Lloh16:
	ldr	x21, [x21, _curr_mode@GOTPAGEOFF]
	bl	_TRACE
	ldr	x8, [x21]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x9, [x20]
Lloh17:
	adrp	x8, _AddrModeFlat@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AddrModeFlat@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_14
LBB0_4:
Lloh20:
	adrp	x9, _stm_64bit@GOTPAGE
Lloh21:
	ldr	x9, [x9, _stm_64bit@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	str	x9, [x21]
	str	x8, [x19, #8]
	str	x8, [x19, #24]
	add	x0, x19, #92
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w8, #1
	csetm	x22, gt
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	b	LBB0_12
LBB0_5:
	ldr	x8, [x25]
	ldr	x9, [x19, #16]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.6:
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_FIXME
LBB0_7:
	ldr	x8, [x25, #8]
	ldr	x9, [x19, #64]
	cmp	x8, x9
	ldr	x23, [sp, #40]                  ; 8-byte Folded Reload
	b.eq	LBB0_9
; %bb.8:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_FIXME
LBB0_9:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_15
; %bb.10:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w8, #1
	cset	w8, gt
	ldr	x9, [x19, #64]
	sub	x2, x9, x8
	mov	x0, x23
	mov	x1, x25
	mov	x3, x19
	bl	_fetch_next_frame
	cbz	w0, LBB0_15
; %bb.11:
	mov	x22, #-1
LBB0_12:
	add	x0, x19, #88
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x25]
	str	x8, [x19, #16]
	ldr	x8, [x25, #16]
	str	x8, [x19, #48]
	ldr	x8, [x25, #8]
	str	x8, [x19, #64]
	ldr	q0, [x25]
	str	q0, [sp, #48]
	ldr	x9, [x25, #16]
	str	x9, [sp, #64]
	add	x2, x8, x22
	add	x1, sp, #48
	mov	x0, x23
	mov	x3, #0
	bl	_fetch_next_frame
	cbz	w0, LBB0_15
; %bb.13:
Lloh27:
	adrp	x8, _AddrModeFlat@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AddrModeFlat@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x9, [sp, #56]
	stp	x8, x9, [x19, #24]
Lloh30:
	adrp	x26, _TRUE@GOTPAGE
Lloh31:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
	ldr	x8, [x26]
	stp	x8, x8, [x19, #72]
Lloh32:
	adrp	x27, _curr_count@GOTPAGE
Lloh33:
	ldr	x27, [x27, _curr_count@GOTPAGEOFF]
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	mov	x0, x20
	bl	_wine_dbgstr_addr
	mov	x20, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_wine_dbgstr_addr
	mov	x25, x0
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_wine_dbgstr_addr
	mov	x22, x0
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_wine_dbgstr_addr
	mov	x23, x0
	ldr	x8, [x21]
	ldr	x9, [x24]
	cmp	x8, x9
Lloh34:
	adrp	x8, l_.str.2@PAGE
Lloh35:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh36:
	adrp	x9, l_.str.1@PAGE
Lloh37:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x24, x9, x8, eq
	ldr	w0, [x27]
	bl	_wine_dbgstr_longlong
	mov	x6, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh38:
	adrp	x0, l_.str.6@PAGE
Lloh39:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	mov	x2, x25
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	bl	_TRACE
	b	LBB0_17
LBB0_14:
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_WARN
LBB0_15:
Lloh42:
	adrp	x8, _stm_done@GOTPAGE
Lloh43:
	ldr	x8, [x8, _stm_done@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	str	x8, [x21]
LBB0_16:
Lloh45:
	adrp	x26, _FALSE@GOTPAGE
Lloh46:
	ldr	x26, [x26, _FALSE@GOTPAGEOFF]
LBB0_17:
	ldr	x0, [x26]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_curr_count,4,2                 ; @curr_count
	.comm	_curr_mode,8,3                  ; @curr_mode
	.comm	_stm_done,8,3                   ; @stm_done
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter: PC=%s Frame=%s Return=%s Stack=%s Mode=%s Count=%s\n"

	.comm	_stm_start,8,3                  ; @stm_start
l_.str.1:                               ; @.str.1
	.asciz	"start"

l_.str.2:                               ; @.str.2
	.asciz	"64bit"

	.comm	_AddrModeFlat,8,3               ; @AddrModeFlat
l_.str.3:                               ; @.str.3
	.asciz	"Bad AddrPC.Mode / AddrFrame.Mode combination\n"

	.comm	_stm_64bit,8,3                  ; @stm_64bit
l_.str.4:                               ; @.str.4
	.asciz	"inconsistent Stack Pointer\n"

l_.str.5:                               ; @.str.5
	.asciz	"inconsistent Instruction Pointer\n"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.6:                               ; @.str.6
	.asciz	"Leave: PC=%s Frame=%s Return=%s Stack=%s Mode=%s Count=%s FuncTable=%p\n"

	.no_dead_strip	_x86_64_stack_walk
.subsections_via_symbols
