	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function detach_variable_object
_detach_variable_object:                ## @detach_variable_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	%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	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.2:
	movl	%edx, %r15d
	movq	%rsi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	16(%r12), %rax
	xorl	%edi, %edi
	cmpq	%r12, 8(%rax)
	sete	%dil
	callq	_assert
	movq	(%r12), %rax
	movq	16(%r12), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 24(%r12)
	jne	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_setup_arguments_object
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_10
LBB0_5:
	movq	16(%r12), %rax
	movq	$0, 8(%rax)
	movq	8(%r12), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r15
	movq	8(%rax), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %r13d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	%r12, %rdi
	callq	_local_off
	movl	(%r14,%rax,4), %edx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_jsdisp_propput_name
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	8(%r12), %rax
	movl	(%rax), %ecx
	cmpq	%rcx, %rbx
	jb	LBB0_8
LBB0_9:
	movq	_S_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_OK,4,2                       ## @S_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"detaching %p\n"

	.no_dead_strip	_detach_variable_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function detach_variable_object
_detach_variable_object:                ; @detach_variable_object
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #8]
	cmp	x8, x19
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19]
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	cbnz	w21, LBB0_5
; %bb.3:
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	bl	_setup_arguments_object
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_10
LBB0_5:
	ldp	x8, x9, [x19, #8]
	str	xzr, [x9, #8]
	ldr	w9, [x8]
	cbz	w9, LBB0_9
; %bb.6:
	mov	x23, #0
	mov	x24, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19]
	ldr	x8, [x8, #8]
	add	x8, x8, x23
	ldr	x25, [x20]
	ldp	w1, w22, [x8]
	mov	x0, x19
	bl	_local_off
	ldr	w2, [x25, x0, lsl #2]
	mov	x0, x21
	mov	x1, x22
	bl	_jsdisp_propput_name
	mov	x21, x0
	bl	_FAILED
	cbnz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	add	x23, x23, #8
	cmp	x24, x9
	b.lo	LBB0_7
LBB0_9:
Lloh2:
	adrp	x8, _S_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
LBB0_10:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_S_OK,4,2                       ; @S_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"detaching %p\n"

	.no_dead_strip	_detach_variable_object
.subsections_via_symbols
