	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fix_ptrptr_to_struct
_fix_ptrptr_to_struct:                  ## @fix_ptrptr_to_struct
	.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
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movb	$1, %r13b
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %r14d
	testb	$1, %r13b
	movl	$0, %r13d
	je	LBB0_17
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	leaq	l___const.fix_ptrptr_to_struct.strs(%rip), %rax
	movq	(%rax,%r14,8), %r12
	movq	%r12, %rdi
	callq	_lookupname
	testq	%rax, %rax
	je	LBB0_16
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rcx
	movq	_STRUCT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rax), %r15
	testq	%r15, %r15
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	l___const.fix_ptrptr_to_struct.mems(%rip), %rax
	movq	(%rax,%r14,8), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	_streq
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	16(%r15), %r15
	testq	%r15, %r15
	jne	LBB0_5
	jmp	LBB0_16
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	_POINTER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 24(%rax)
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rax), %rax
	cmpq	%rcx, (%rax)
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 24(%rax)
	jne	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rax), %rax
	movq	(%rax), %rcx
	movq	_STRUCT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rax), %rdi
	leaq	l___const.fix_ptrptr_to_struct.acts(%rip), %rax
	movq	(%rax,%r14,8), %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_streq
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	l_reltable.fix_ptrptr_to_struct(%rip), %rax
	movslq	(%rax,%r14,4), %rdi
	addq	%rax, %rdi
	callq	_lookupname
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rdx
	movq	_TYPEDEF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$40, %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_xcalloc
	movq	%rax, %rdx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_POINTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movslq	(%r14), %rax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	movq	%rax, 16(%rdx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rdx)
	movl	$40, %edi
	callq	_xcalloc
	movq	_POINTER@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movslq	(%r14), %rcx
	leal	1(%rcx), %edx
	movl	%edx, (%r14)
	movq	%rcx, 16(%rax)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 8(%rax)
	movq	%rax, (%r15)
	movl	$3, %edi
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_debug
	jmp	LBB0_16
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"as"

L_.str.1:                               ## @.str.1
	.asciz	"fdbuffer"

	.section	__DATA,__const
	.p2align	4                               ## @__const.fix_ptrptr_to_struct.strs
l___const.fix_ptrptr_to_struct.strs:
	.quad	L_.str
	.quad	L_.str.1

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"a_objectdir"

L_.str.3:                               ## @.str.3
	.asciz	"fd_shadow"

	.section	__DATA,__const
	.p2align	4                               ## @__const.fix_ptrptr_to_struct.mems
l___const.fix_ptrptr_to_struct.mems:
	.quad	L_.str.2
	.quad	L_.str.3

	.section	__TEXT,__cstring,cstring_literals
L_.str.4:                               ## @.str.4
	.asciz	"vnode"

L_.str.5:                               ## @.str.5
	.asciz	"page"

	.section	__DATA,__const
	.p2align	4                               ## @__const.fix_ptrptr_to_struct.acts
l___const.fix_ptrptr_to_struct.acts:
	.quad	L_.str.4
	.quad	L_.str.5

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"vnode_t"

L_.str.7:                               ## @.str.7
	.asciz	"page_t"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.fix_ptrptr_to_struct
l_reltable.fix_ptrptr_to_struct:
	.long	L_.str.6-l_reltable.fix_ptrptr_to_struct
	.long	L_.str.7-l_reltable.fix_ptrptr_to_struct

	.comm	_STRUCT,8,3                     ## @STRUCT
	.comm	_POINTER,8,3                    ## @POINTER
	.comm	_TYPEDEF,8,3                    ## @TYPEDEF
	.section	__TEXT,__cstring,cstring_literals
L_.str.8:                               ## @.str.8
	.asciz	"Fixed %s->%s => ptrptr struct %s bug\n"

	.no_dead_strip	_fix_ptrptr_to_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fix_ptrptr_to_struct
_fix_ptrptr_to_struct:                  ; @fix_ptrptr_to_struct
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	mov	x23, #0
	mov	w8, #1
Lloh0:
	adrp	x26, l___const.fix_ptrptr_to_struct.strs@PAGE
Lloh1:
	add	x26, x26, l___const.fix_ptrptr_to_struct.strs@PAGEOFF
Lloh2:
	adrp	x27, _STRUCT@GOTPAGE
Lloh3:
	ldr	x27, [x27, _STRUCT@GOTPAGEOFF]
Lloh4:
	adrp	x28, l___const.fix_ptrptr_to_struct.mems@PAGE
Lloh5:
	add	x28, x28, l___const.fix_ptrptr_to_struct.mems@PAGEOFF
Lloh6:
	adrp	x25, _POINTER@GOTPAGE
Lloh7:
	ldr	x25, [x25, _POINTER@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	mov	w23, #1
	tbz	w24, #0, LBB0_17
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x24, x8
	ldr	x21, [x26, x23, lsl #3]
	mov	x0, x21
	bl	_lookupname
	cbz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x20, [x0, #32]
	cbz	x20, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x28, x23, lsl #3]
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x20, #8]
	mov	x1, x22
	bl	_streq
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x20, [x20, #16]
	cbnz	x20, LBB0_6
	b	LBB0_1
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x20]
	ldr	x8, [x9]
	ldr	x10, [x25]
	cmp	x8, x10
	b.ne	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x9, #24]
	cbnz	x10, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x9, #8]
	ldr	x10, [x9]
	cmp	x10, x8
	b.ne	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x9, #24]
	cbnz	x8, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x9, #8]
	ldr	x9, [x8]
	ldr	x10, [x27]
	cmp	x9, x10
	b.ne	LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x8, #24]
Lloh8:
	adrp	x8, l___const.fix_ptrptr_to_struct.acts@PAGE
Lloh9:
	add	x8, x8, l___const.fix_ptrptr_to_struct.acts@PAGEOFF
	ldr	x1, [x8, x23, lsl #3]
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	bl	_streq
	cbz	x0, LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh10:
	adrp	x8, l___const.fix_ptrptr_to_struct.tgts@PAGE
Lloh11:
	add	x8, x8, l___const.fix_ptrptr_to_struct.tgts@PAGEOFF
	ldr	x0, [x8, x23, lsl #3]
	bl	_lookupname
	cbz	x0, LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, x0
	ldr	x8, [x0]
Lloh12:
	adrp	x9, _TYPEDEF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TYPEDEF@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #40
	bl	_xcalloc
	ldr	x8, [x25]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	stp	x23, x9, [x0, #8]
	str	x8, [x0]
	mov	x23, x0
	mov	w0, #40
	bl	_xcalloc
	ldr	x8, [x25]
	ldrsw	x9, [x19]
	add	w10, w9, #1
	str	w10, [x19]
	stp	x23, x9, [x0, #8]
	str	x8, [x0]
	str	x0, [x20]
	mov	w0, #3
Lloh15:
	adrp	x1, l_.str.8@PAGE
Lloh16:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x21
	mov	x3, x22
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	bl	_debug
	b	LBB0_1
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"as"

l_.str.1:                               ; @.str.1
	.asciz	"fdbuffer"

	.section	__DATA,__const
	.p2align	3                               ; @__const.fix_ptrptr_to_struct.strs
l___const.fix_ptrptr_to_struct.strs:
	.quad	l_.str
	.quad	l_.str.1

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"a_objectdir"

l_.str.3:                               ; @.str.3
	.asciz	"fd_shadow"

	.section	__DATA,__const
	.p2align	3                               ; @__const.fix_ptrptr_to_struct.mems
l___const.fix_ptrptr_to_struct.mems:
	.quad	l_.str.2
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str.4:                               ; @.str.4
	.asciz	"vnode"

l_.str.5:                               ; @.str.5
	.asciz	"page"

	.section	__DATA,__const
	.p2align	3                               ; @__const.fix_ptrptr_to_struct.acts
l___const.fix_ptrptr_to_struct.acts:
	.quad	l_.str.4
	.quad	l_.str.5

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"vnode_t"

l_.str.7:                               ; @.str.7
	.asciz	"page_t"

	.section	__DATA,__const
	.p2align	3                               ; @__const.fix_ptrptr_to_struct.tgts
l___const.fix_ptrptr_to_struct.tgts:
	.quad	l_.str.6
	.quad	l_.str.7

	.comm	_STRUCT,8,3                     ; @STRUCT
	.comm	_POINTER,8,3                    ; @POINTER
	.comm	_TYPEDEF,8,3                    ; @TYPEDEF
	.section	__TEXT,__cstring,cstring_literals
l_.str.8:                               ; @.str.8
	.asciz	"Fixed %s->%s => ptrptr struct %s bug\n"

	.no_dead_strip	_fix_ptrptr_to_struct
.subsections_via_symbols
