	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function foreach
LCPI0_0:
	.quad	0x405edccccccccccd              ## double 123.45
LCPI0_1:
	.quad	0x4040000000000000              ## double 32
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_foreach:                               ## @foreach
	.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	%r12
	pushq	%rbx
	subq	$144, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-176(%rbp), %r15
	movq	%r15, %rsi
	movl	$128, %edx
	callq	_jerry_string_to_char_buffer
	movq	%rax, %rbx
	movb	$0, -176(%rbp,%rax)
	leaq	L_.str(%rip), %rsi
	movl	$9, %edx
	movq	%r12, %rdi
	callq	_strncmp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_TEST_ASSERT
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_TEST_ASSERT
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	leaq	-176(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	leaq	-176(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	leaq	-176(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	leaq	-176(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_strncmp
	xorl	%edi, %edi
	movl	$0, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:
	movl	%r14d, %edi
	callq	_jerry_value_is_string
	movl	%eax, %edi
	callq	_TEST_ASSERT
	leaq	-176(%rbp), %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	$128, %edx
	callq	_jerry_string_to_char_buffer
	movb	$0, -176(%rbp,%rax)
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_strncmp
	jmp	LBB0_11
LBB0_1:
	movl	%r14d, %edi
	callq	_jerry_value_is_number
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r14d, %edi
	callq	_jerry_get_number_value
	cmpeqsd	LCPI0_1(%rip), %xmm0
LBB0_2:
	movq	%xmm0, %rdi
	andl	$1, %edi
	jmp	LBB0_12
LBB0_4:
	movl	%r14d, %edi
	callq	_jerry_value_is_boolean
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r14d, %edi
	callq	_jerry_get_boolean_value
LBB0_11:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	jmp	LBB0_12
LBB0_6:
	movl	%r14d, %edi
	callq	_jerry_value_is_object
	movl	%eax, %edi
LBB0_12:
	movl	$1, %ebx
LBB0_13:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_TEST_ASSERT
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%ebx, %eax
	addq	$144, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%r14d, %edi
	callq	_jerry_value_is_number
	movl	%eax, %edi
	callq	_TEST_ASSERT
	movl	%r14d, %edi
	callq	_jerry_get_number_value
	cmpeqsd	LCPI0_0(%rip), %xmm0
	jmp	LBB0_2
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"user_data"

L_.str.1:                               ## @.str.1
	.asciz	"alpha"

L_.str.2:                               ## @.str.2
	.asciz	"bravo"

L_.str.3:                               ## @.str.3
	.asciz	"charlie"

L_.str.4:                               ## @.str.4
	.asciz	"delta"

L_.str.5:                               ## @.str.5
	.asciz	"echo"

L_.str.6:                               ## @.str.6
	.asciz	"foobar"

	.no_dead_strip	_foreach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function foreach
_foreach:                               ; @foreach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x22, sp, #8
	add	x1, sp, #8
	mov	w2, #128
	bl	_jerry_string_to_char_buffer
	mov	x20, x0
	strb	wzr, [x22, x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	w2, #9
	bl	_strncmp
	cmp	w0, #0
	cset	w0, eq
	bl	_TEST_ASSERT
	cmp	x20, #0
	cset	w0, ne
	bl	_TEST_ASSERT
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_strncmp
	cbz	w0, LBB0_6
; %bb.1:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_strncmp
	cbz	w0, LBB0_8
; %bb.2:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_strncmp
	cbz	w0, LBB0_14
; %bb.3:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_strncmp
	cbz	w0, LBB0_15
; %bb.4:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x21, sp, #8
	add	x0, sp, #8
	mov	x2, x20
	bl	_strncmp
	cbz	w0, LBB0_16
; %bb.5:
	mov	w0, #0
	mov	w19, #0
	b	LBB0_12
LBB0_6:
	mov	x0, x19
	bl	_jerry_value_is_number
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_jerry_get_number_value
	mov	x8, #4629700416936869888
LBB0_7:
	fmov	d1, x8
	fcmp	d0, d1
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_jerry_value_is_boolean
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_jerry_get_boolean_value
LBB0_9:
	cmp	w0, #0
LBB0_10:
	cset	w0, eq
LBB0_11:
	mov	w19, #1
LBB0_12:
	bl	_TEST_ASSERT
	ldur	x8, [x29, #-40]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_14:
	mov	x0, x19
	bl	_jerry_value_is_object
	b	LBB0_11
LBB0_15:
	mov	x0, x19
	bl	_jerry_value_is_number
	bl	_TEST_ASSERT
	mov	x0, x19
	bl	_jerry_get_number_value
	mov	x8, #52429
	movk	x8, #52428, lsl #16
	movk	x8, #56524, lsl #32
	movk	x8, #16478, lsl #48
	b	LBB0_7
LBB0_16:
	mov	x0, x19
	bl	_jerry_value_is_string
	bl	_TEST_ASSERT
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #128
	bl	_jerry_string_to_char_buffer
	mov	x2, x0
	strb	wzr, [x21, x0]
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #8
	bl	_strncmp
	b	LBB0_9
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"user_data"

l_.str.1:                               ; @.str.1
	.asciz	"alpha"

l_.str.2:                               ; @.str.2
	.asciz	"bravo"

l_.str.3:                               ; @.str.3
	.asciz	"charlie"

l_.str.4:                               ; @.str.4
	.asciz	"delta"

l_.str.5:                               ; @.str.5
	.asciz	"echo"

l_.str.6:                               ; @.str.6
	.asciz	"foobar"

	.no_dead_strip	_foreach
.subsections_via_symbols
