	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_static_field             ## -- Begin function value_static_field
	.p2align	4, 0x90
_value_static_field:                    ## @value_static_field
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_TYPE_FIELD_STATIC_HAS_ADDR
	movq	%r13, %rdi
	movl	%r14d, %esi
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	callq	_TYPE_FIELD_TYPE
	movl	%eax, %ebx
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FIELD_STATIC_PHYSADDR
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_value_at                       ## TAILCALL
LBB0_1:
	callq	_TYPE_FIELD_STATIC_PHYSNAME
	movq	%rax, %r12
	movq	_VAR_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_lookup_symbol
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_symbol_read_needs_frame
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_warning
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_read_var_value
	jmp	LBB0_7
LBB0_2:
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_lookup_minimal_symbol
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	movq	%rax, %r12
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FIELD_TYPE
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_SYMBOL_VALUE_ADDRESS
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_SYMBOL_BFD_SECTION
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_value_at
LBB0_7:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%r15, %rdi
	callq	_VALUE_LVAL
	movq	_lval_memory@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_TYPE_FIELD
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_VALUE_ADDRESS
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SET_FIELD_PHYSADDR
	jmp	LBB0_11
LBB0_8:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_DOMAIN,4,2                 ## @VAR_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"static field's value depends on the current frame - bad debug info?"

	.comm	_lval_memory,8,3                ## @lval_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_static_field             ; -- Begin function value_static_field
	.p2align	2
_value_static_field:                    ; @value_static_field
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	bl	_TYPE_FIELD_STATIC_HAS_ADDR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_TYPE_FIELD_TYPE
	mov	x21, x0
	mov	x0, x20
	mov	x1, x19
	bl	_TYPE_FIELD_STATIC_PHYSADDR
	mov	x1, x0
	mov	x0, x21
	mov	x2, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_value_at
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_TYPE_FIELD_STATIC_PHYSNAME
	mov	x22, x0
Lloh0:
	adrp	x8, _VAR_DOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VAR_DOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	mov	w3, #0
	mov	x4, #0
	bl	_lookup_symbol
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	bl	_symbol_read_needs_frame
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
LBB0_5:
	mov	x0, x21
	mov	x1, #0
	bl	_read_var_value
	mov	x21, x0
	cbnz	x0, LBB0_8
	b	LBB0_10
LBB0_6:
	mov	x0, x22
	mov	x1, #0
	mov	x2, #0
	bl	_lookup_minimal_symbol
	mov	x21, x0
	cbz	x0, LBB0_10
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_TYPE_FIELD_TYPE
	mov	x22, x0
	mov	x0, x21
	bl	_SYMBOL_VALUE_ADDRESS
	mov	x23, x0
	mov	x0, x21
	bl	_SYMBOL_BFD_SECTION
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_value_at
	mov	x21, x0
	cbz	x0, LBB0_10
LBB0_8:
	mov	x0, x21
	bl	_VALUE_LVAL
Lloh5:
	adrp	x8, _lval_memory@GOTPAGE
Lloh6:
	ldr	x8, [x8, _lval_memory@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_TYPE_FIELD
	mov	x19, x0
	mov	x0, x21
	bl	_VALUE_ADDRESS
	mov	x1, x0
	mov	x0, x19
	bl	_SET_FIELD_PHYSADDR
LBB0_10:
	mov	x0, x21
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VAR_DOMAIN,4,2                 ; @VAR_DOMAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"static field's value depends on the current frame - bad debug info?"

	.comm	_lval_memory,8,3                ; @lval_memory
.subsections_via_symbols
