	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_op_has_binding            ## -- Begin function ecma_op_has_binding
	.p2align	4, 0x90
_ecma_op_has_binding:                   ## @ecma_op_has_binding
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_ecma_is_lexical_environment
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_JERRY_ASSERT
	movq	%rbx, %rdi
	callq	_ecma_get_lex_env_type
	movq	_ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ecma_find_named_property
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_JERRY_ASSERT
	movq	%rbx, %rdi
	callq	_ecma_get_lex_env_binding_object
	movq	%rax, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ecma_op_object_has_property    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE,8,3 ## @ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE
	.comm	_ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND,8,3 ## @ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_op_has_binding            ; -- Begin function ecma_op_has_binding
	.p2align	2
_ecma_op_has_binding:                   ; @ecma_op_has_binding
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ecma_is_lexical_environment
	cmp	x0, #0
	cset	w0, ne
LBB0_2:
	bl	_JERRY_ASSERT
	mov	x0, x20
	bl	_ecma_get_lex_env_type
Lloh0:
	adrp	x8, _ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_ecma_find_named_property
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh3:
	adrp	x8, _ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_JERRY_ASSERT
	mov	x0, x20
	bl	_ecma_get_lex_env_binding_object
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ecma_op_object_has_property
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE,8,3 ; @ECMA_LEXICAL_ENVIRONMENT_DECLARATIVE
	.comm	_ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND,8,3 ; @ECMA_LEXICAL_ENVIRONMENT_THIS_OBJECT_BOUND
.subsections_via_symbols
