	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ensure_prop_name
_ensure_prop_name:                      ## @ensure_prop_name
	.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
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_string_hash
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	callq	_find_prop_name_prot
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_SUCCEEDED
	movq	-48(%rbp), %rcx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movq	(%rcx), %rax
	movq	_PROP_DELETED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_debugstr_w
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_TRACE
	movq	-48(%rbp), %rax
	movq	_PROP_JSVAL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rdx, (%rax)
	movl	%r15d, 16(%rax)
	xorl	%eax, %eax
	callq	_jsval_undefined
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
	jmp	LBB0_5
LBB0_7:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %ecx
	callq	_alloc_prop
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	xorl	%eax, %eax
	callq	_jsval_undefined
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
LBB0_6:
	movq	%rcx, (%r14)
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_PROP_DELETED,8,3               ## @PROP_DELETED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"creating prop %s flags %x\n"

	.comm	_PROP_JSVAL,8,3                 ## @PROP_JSVAL
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.no_dead_strip	_ensure_prop_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ensure_prop_name
_ensure_prop_name:                      ; @ensure_prop_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	bl	_string_hash
	mov	x1, x0
	add	x3, sp, #8
	mov	x0, x23
	mov	x2, x22
	bl	_find_prop_name_prot
	mov	x20, x0
	bl	_SUCCEEDED
	ldr	x8, [sp, #8]
	cbz	x0, LBB0_7
; %bb.1:
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _PROP_DELETED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PROP_DELETED@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
LBB0_3:
	mov	x0, x22
	bl	_debugstr_w
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x21
	bl	_TRACE
	ldr	x8, [sp, #8]
Lloh5:
	adrp	x9, _PROP_JSVAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PROP_JSVAL@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x9]
	cbz	x8, LBB0_5
; %bb.4:
	str	x2, [x8]
	str	w21, [x8, #16]
	bl	_jsval_undefined
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
	b	LBB0_6
LBB0_5:
	mov	x0, x23
	mov	x1, x22
	mov	x3, x21
	bl	_alloc_prop
	str	x0, [sp, #8]
	cbz	x0, LBB0_9
LBB0_6:
	bl	_jsval_undefined
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
LBB0_7:
	str	x8, [x19]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
Lloh8:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PROP_DELETED,8,3               ; @PROP_DELETED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"creating prop %s flags %x\n"

	.comm	_PROP_JSVAL,8,3                 ; @PROP_JSVAL
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.no_dead_strip	_ensure_prop_name
.subsections_via_symbols
