	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_java_class_from_object         ## -- Begin function java_class_from_object
	.p2align	4, 0x90
_java_class_from_object:                ## @java_class_from_object
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	%rdi, -24(%rbp)
	callq	_VALUE_TYPE
	movl	%eax, %edi
	callq	_TYPE_CODE
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_VALUE_TYPE
	movl	%eax, %edi
	callq	_TYPE_TARGET_TYPE
	movl	%eax, %edi
	callq	_TYPE_LENGTH
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_get_java_object_type
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_value_as_address
	movl	%r14d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_value_at
	movq	%rax, -24(%rbp)
LBB0_3:
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rbx
	leaq	-24(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_value_struct_elt
	movq	%rax, -32(%rbp)
	leaq	L_.str.2(%rip), %rdx
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_value_struct_elt
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_PTR,8,3              ## @TYPE_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vtable"

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

L_.str.2:                               ## @.str.2
	.asciz	"class"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_java_class_from_object         ; -- Begin function java_class_from_object
	.p2align	2
_java_class_from_object:                ; @java_class_from_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	str	x0, [sp, #8]
	bl	_VALUE_TYPE
	bl	_TYPE_CODE
Lloh0:
	adrp	x8, _TYPE_CODE_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_VALUE_TYPE
	bl	_TYPE_TARGET_TYPE
	bl	_TYPE_LENGTH
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_get_java_object_type
	mov	x20, x0
	mov	x0, x19
	bl	_value_as_address
	mov	x1, x0
	mov	x0, x20
	mov	x2, #0
	bl	_value_at
	str	x0, [sp, #8]
LBB0_3:
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
Lloh5:
	adrp	x19, l_.str.1@PAGE
Lloh6:
	add	x19, x19, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x1, #0
	mov	x3, #0
	mov	x4, x19
	bl	_value_struct_elt
	str	x0, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, sp
	mov	x1, #0
	mov	x3, #0
	mov	x4, x19
	bl	_value_struct_elt
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_PTR,8,3              ; @TYPE_CODE_PTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vtable"

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

l_.str.2:                               ; @.str.2
	.asciz	"class"

.subsections_via_symbols
