	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_detach_arguments_object        ## -- Begin function detach_arguments_object
	.p2align	4, 0x90
_detach_arguments_object:               ## @detach_arguments_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
	callq	_arguments_from_jsdisp
	movq	%rax, %r13
	movq	32(%rax), %r12
	movq	16(%r12), %rax
	movq	8(%rax), %rbx
	movl	(%rax), %r14d
	movq	_argumentsW@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_jsval_undefined
	movl	%r14d, %edi
	movq	%rbx, %r14
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_jsdisp_propput_name
	movq	$0, 32(%r13)
	cmpl	$2, 16(%r13)
	jl	LBB0_12
## %bb.1:
	movl	(%r13), %edi
	shll	$2, %edi
	callq	_heap_alloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %r14
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rcx
	movl	(%rcx), %edi
	movq	8(%rax), %rax
	leaq	(,%rbx,4), %rdx
	movl	(%rax,%rbx,4), %esi
	addq	8(%r13), %rdx
	callq	_jsdisp_propget_name
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r13), %rax
	movq	(%rax), %rax
	movslq	(%r12), %rcx
	movslq	%ebx, %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %edi
	leaq	(,%rbx,4), %rsi
	addq	8(%r13), %rsi
	callq	_jsval_copy
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
	callq	_jsval_undefined
	movq	8(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_10
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_ERR
	movl	$0, (%r13)
LBB0_12:
	movl	4(%r12), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jsdisp_release                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_argumentsW,4,2                 ## @argumentsW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_detach_arguments_object        ; -- Begin function detach_arguments_object
	.p2align	2
_detach_arguments_object:               ; @detach_arguments_object
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_arguments_from_jsdisp
	mov	x19, x0
	ldr	x22, [x0, #32]
	ldr	x8, [x22, #16]
	ldr	x23, [x8, #8]
	ldr	w20, [x8]
Lloh0:
	adrp	x8, _argumentsW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _argumentsW@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	bl	_jsval_undefined
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_jsdisp_propput_name
	str	xzr, [x19, #32]
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.1:
	ldr	w8, [x19]
	lsl	w0, w8, #2
	bl	_heap_alloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_10
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x20, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x23, x22
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #8]
	ldrsw	x9, [x8]
	cmp	x20, x9
	b.ge	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x22, #16]
	ldr	w0, [x9]
	ldr	x8, [x8, #8]
	lsl	x9, x20, #2
	ldr	w1, [x8, x9]
	ldr	x8, [x19, #8]
	add	x2, x8, x9
	bl	_jsdisp_propget_name
	bl	_FAILED
	cbnz	x0, LBB0_9
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	w9, [x22]
	add	w9, w9, w20
	ldr	w0, [x8, w9, sxtw #2]
	ldr	x8, [x19, #8]
	add	x1, x8, x20, lsl #2
	bl	_jsval_copy
	bl	_FAILED
	cbz	x0, LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_jsval_undefined
	ldr	x8, [x19, #8]
	str	w0, [x8, x20, lsl #2]
	b	LBB0_4
LBB0_10:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	str	wzr, [x19]
LBB0_11:
	ldr	w0, [x22, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_jsdisp_release
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_argumentsW,4,2                 ; @argumentsW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory\n"

.subsections_via_symbols
