	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ecma_builtin_object_object_create
_ecma_builtin_object_object_create:     ## @ecma_builtin_object_object_create
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_ecma_is_value_object
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_ecma_is_value_null
	testl	%eax, %eax
	je	LBB0_9
LBB0_2:
	movl	%ebx, %edi
	callq	_ecma_is_value_null
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_4:
	movl	%ebx, %edi
	callq	_ecma_get_object_from_value
	movq	%rax, %rdi
LBB0_5:
	callq	_ecma_op_create_object_object_noarg_and_set_prototype
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_ecma_is_value_undefined
	testl	%eax, %eax
	je	LBB0_6
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ecma_make_object_value         ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ecma_builtin_object_object_define_properties
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	je	LBB0_7
## %bb.10:
	movq	%rbx, %rdi
	callq	_ecma_deref_object
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	_ECMA_ERR_MSG
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ecma_raise_type_error          ## TAILCALL
LBB0_7:
	movl	%r14d, %edi
	callq	_ecma_free_value
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Argument is not an object."

	.no_dead_strip	_ecma_builtin_object_object_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ecma_builtin_object_object_create
_ecma_builtin_object_object_create:     ; @ecma_builtin_object_object_create
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	bl	_ecma_is_value_object
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ecma_is_value_null
	cbz	w0, LBB0_9
LBB0_2:
	mov	x0, x20
	bl	_ecma_is_value_null
	cbz	w0, LBB0_4
; %bb.3:
	mov	x0, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_ecma_get_object_from_value
LBB0_5:
	bl	_ecma_op_create_object_object_noarg_and_set_prototype
	mov	x20, x0
	mov	x0, x19
	bl	_ecma_is_value_undefined
	cbz	w0, LBB0_7
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ecma_make_object_value
LBB0_7:
	mov	x0, x20
	mov	x1, x19
	bl	_ecma_builtin_object_object_define_properties
	mov	x19, x0
	bl	_ECMA_IS_VALUE_ERROR
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_ecma_deref_object
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ECMA_ERR_MSG
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ecma_raise_type_error
LBB0_10:
	mov	x0, x19
	bl	_ecma_free_value
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Argument is not an object."

	.no_dead_strip	_ecma_builtin_object_object_create
.subsections_via_symbols
