	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_arguments_object         ## -- Begin function setup_arguments_object
	.p2align	4, 0x90
_setup_arguments_object:                ## @setup_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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$32, %edi
	callq	_heap_alloc_zero
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	(%rbx), %ecx
	movq	_Arguments_info@GOTPCREL(%rip), %rdx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_init_dispex_from_constr
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_heap_free
	jmp	LBB0_13
LBB0_1:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_4:
	movl	20(%r14), %edi
	callq	_jsdisp_addref
	movl	%eax, %edi
	callq	_function_from_jsdisp
	movq	%rax, 8(%r15)
	movl	16(%r14), %edi
	movl	%edi, 16(%r15)
	movq	%r14, 24(%r15)
	movq	_lengthW@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_PROPF_WRITABLE@GOTPCREL(%rip), %rax
	movq	_PROPF_CONFIGURABLE@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	orl	(%rax), %ebx
	callq	_jsval_number
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_jsdisp_define_data_property
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%r13), %ebx
	movq	_PROPF_WRITABLE@GOTPCREL(%rip), %r13
	orl	(%r13), %ebx
	movq	8(%r15), %rdi
	callq	_jsval_obj
	leaq	_setup_arguments_object.caleeW(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_jsdisp_define_data_property
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_PROPF_WRITABLE@GOTPCREL(%rip), %r13
LBB0_7:
	movl	%ebx, %edi
	callq	_SUCCEEDED
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%r14), %rax
	movl	(%rax), %r12d
	movq	_argumentsW@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %r13d
	movq	%r15, %rdi
	callq	_jsval_obj
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_jsdisp_propput
	movl	%eax, %ebx
LBB0_9:
	movl	%ebx, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_jsdisp_release
	jmp	LBB0_13
LBB0_11:
	movq	%r15, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_setup_arguments_object.caleeW:         ## @setup_arguments_object.caleeW
	.asciz	"callee"

	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_Arguments_info,4,2             ## @Arguments_info
	.comm	_lengthW,8,3                    ## @lengthW
	.comm	_PROPF_WRITABLE,4,2             ## @PROPF_WRITABLE
	.comm	_PROPF_CONFIGURABLE,4,2         ## @PROPF_CONFIGURABLE
	.comm	_argumentsW,4,2                 ## @argumentsW
	.comm	_S_OK,4,2                       ## @S_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_arguments_object         ; -- Begin function setup_arguments_object
	.p2align	2
_setup_arguments_object:                ; @setup_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
	mov	x19, x1
	mov	x21, x0
	mov	w0, #32
	bl	_heap_alloc_zero
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w3, [x21]
Lloh0:
	adrp	x2, _Arguments_info@GOTPAGE
Lloh1:
	ldr	x2, [x2, _Arguments_info@GOTPAGEOFF]
	mov	x1, x21
	bl	_init_dispex_from_constr
	mov	x21, x0
	bl	_FAILED
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_heap_free
	b	LBB0_12
LBB0_3:
Lloh2:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
	ldr	w0, [x19, #20]
	bl	_jsdisp_addref
	bl	_function_from_jsdisp
	str	x0, [x20, #8]
	ldr	w0, [x19, #16]
	str	w0, [x20, #16]
	str	x19, [x20, #24]
Lloh4:
	adrp	x8, _lengthW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _lengthW@GOTPAGEOFF]
Lloh6:
	adrp	x23, _PROPF_WRITABLE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PROPF_WRITABLE@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	ldr	w8, [x23]
Lloh9:
	adrp	x24, _PROPF_CONFIGURABLE@GOTPAGE
Lloh10:
	ldr	x24, [x24, _PROPF_CONFIGURABLE@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w22, w9, w8
	bl	_jsval_number
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_jsdisp_define_data_property
	mov	x21, x0
	bl	_SUCCEEDED
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w21, w9, w8
	ldr	x0, [x20, #8]
	bl	_jsval_obj
	mov	x3, x0
Lloh11:
	adrp	x1, _setup_arguments_object.caleeW@PAGE
Lloh12:
	add	x1, x1, _setup_arguments_object.caleeW@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_jsdisp_define_data_property
	mov	x21, x0
LBB0_6:
	mov	x0, x21
	bl	_SUCCEEDED
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x19, #8]
	ldr	w21, [x8]
Lloh13:
	adrp	x8, _argumentsW@GOTPAGE
Lloh14:
	ldr	x8, [x8, _argumentsW@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
	ldr	w23, [x23]
	mov	x0, x20
	bl	_jsval_obj
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	bl	_jsdisp_propput
	mov	x21, x0
LBB0_8:
	mov	x0, x21
	bl	_FAILED
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_jsdisp_release
	b	LBB0_12
LBB0_10:
	str	x20, [x19]
Lloh16:
	adrp	x8, _S_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_11:
	ldr	w21, [x8]
LBB0_12:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_setup_arguments_object.caleeW:         ; @setup_arguments_object.caleeW
	.asciz	"callee"

	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_Arguments_info,4,2             ; @Arguments_info
	.comm	_lengthW,8,3                    ; @lengthW
	.comm	_PROPF_WRITABLE,4,2             ; @PROPF_WRITABLE
	.comm	_PROPF_CONFIGURABLE,4,2         ; @PROPF_CONFIGURABLE
	.comm	_argumentsW,4,2                 ; @argumentsW
	.comm	_S_OK,4,2                       ; @S_OK
.subsections_via_symbols
