	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jerryx_arg_transform_this_and_args ## -- Begin function jerryx_arg_transform_this_and_args
	.p2align	4, 0x90
_jerryx_arg_transform_this_and_args:    ## @jerryx_arg_transform_this_and_args
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -44(%rbp)
	testq	%r8, %r8
	je	LBB0_5
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	$1, -64(%rbp)
	leaq	-44(%rbp), %rax
	movq	%rax, -56(%rbp)
	leaq	-64(%rbp), %rdi
	movq	%rcx, %rsi
	callq	*(%rcx)
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_jerry_value_is_error
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r13d, %edi
	callq	_jerry_release_value
	movq	_JERRY_ERROR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_jerry_create_error
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jerry_create_undefined         ## TAILCALL
LBB0_3:
	addq	$8, %rbx
	decq	%r14
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	_jerryx_arg_transform_args
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JERRY_ERROR_TYPE,4,2           ## @JERRY_ERROR_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'this' validation failed."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function jerryx_arg_transform_this_and_args
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_jerryx_arg_transform_this_and_args
	.p2align	2
_jerryx_arg_transform_this_and_args:    ; @jerryx_arg_transform_this_and_args
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	str	w0, [sp, #28]
	cbz	x4, LBB0_3
; %bb.1:
	mov	x20, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	add	x8, sp, #28
	str	x8, [sp, #16]
	ldr	x8, [x3]
	add	x0, sp, #8
	mov	x1, x3
	blr	x8
	mov	x23, x0
	bl	_jerry_value_is_error
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x23
	bl	_jerry_release_value
Lloh2:
	adrp	x8, _JERRY_ERROR_TYPE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JERRY_ERROR_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_jerry_create_error
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_jerry_create_undefined
LBB0_4:
	add	x2, x22, #8
	sub	x3, x20, #1
	mov	x0, x21
	mov	x1, x19
	bl	_jerryx_arg_transform_args
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_JERRY_ERROR_TYPE,4,2           ; @JERRY_ERROR_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'this' validation failed."

.subsections_via_symbols
