	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_memory
_test_memory:                           ## @test_memory
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_TEST_mem_eq
	movl	$1, %edi
	movl	%eax, %esi
	callq	_TEST
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$2, %ecx
	callq	_TEST_mem_eq
	movl	$1, %edi
	movl	%eax, %esi
	callq	_TEST
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$3, %ecx
	callq	_TEST_mem_eq
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movl	$7, %esi
	movl	$3, %ecx
	callq	_TEST_mem_eq
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	movl	%eax, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_TEST_mem_ne
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %r12
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_TEST_mem_eq
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	movl	%eax, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_TEST_mem_eq
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	movl	%eax, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_TEST_mem_ne
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	movd	-80(%rbp), %xmm0                ## 4-byte Folded Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, -64(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$2, -44(%rbp), %xmm0            ## 4-byte Folded Reload
	pinsrd	$3, %ebx, %xmm0
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	movd	%r14d, %xmm0
	pinsrd	$1, %r15d, %xmm0
	pinsrd	$2, %r13d, %xmm0
	pinsrd	$3, %eax, %xmm0
	movdqa	%xmm0, -64(%rbp)                ## 16-byte Spill
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_TEST_mem_eq
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	testl	%eax, %eax
	setne	%r14b
	leaq	_test_memory.buf(%rip), %r15
	movq	%r12, %rdi
	movl	$3, %esi
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_TEST_mem_eq
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_TEST
	testl	%eax, %eax
	setne	%bl
	movq	%r12, %rdi
	movl	$4, %esi
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_TEST_mem_eq
	movl	$1, %edi
	movl	%eax, %esi
	callq	_TEST
	testl	%eax, %eax
	setne	%al
	movdqa	-80(%rbp), %xmm0                ## 16-byte Reload
	pxor	%xmm2, %xmm2
	pcmpeqd	%xmm2, %xmm0
	movdqa	-64(%rbp), %xmm1                ## 16-byte Reload
	pcmpeqd	%xmm2, %xmm1
	packssdw	%xmm1, %xmm0
	pmovmskb	%xmm0, %ecx
	testl	%ecx, %ecx
	sete	%cl
	andb	%r14b, %bl
	andb	%al, %bl
	andb	%cl, %bl
	movzbl	%bl, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
_test_memory.buf:                       ## @test_memory.buf
	.asciz	"xyz"

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xyz"

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

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_test_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_memory
_test_memory:                           ; @test_memory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #1
	bl	_TEST
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	mov	x0, #0
	mov	w1, #1
	mov	x2, #0
	mov	w3, #2
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #1
	bl	_TEST
	str	w0, [sp, #8]                    ; 4-byte Folded Spill
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, #0
	mov	w1, #0
	mov	x2, x22
	mov	w3, #3
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x21, x0
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	w1, #7
	mov	w3, #3
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x23, x0
	mov	x0, #0
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	bl	_TEST_mem_ne
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x24, x0
Lloh4:
	adrp	x27, l_.str.2@PAGE
Lloh5:
	add	x27, x27, l_.str.2@PAGEOFF
	mov	x0, #0
	mov	w1, #0
	mov	x2, x27
	mov	w3, #0
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x25, x0
	mov	x0, x27
	mov	w1, #0
	mov	x2, #0
	mov	w3, #0
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x26, x0
	mov	x0, x27
	mov	w1, #0
	mov	x2, x27
	mov	w3, #0
	bl	_TEST_mem_ne
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x27, x0
	mov	x0, x22
	mov	w1, #3
	mov	x2, #0
	mov	w3, #0
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x28, x0
Lloh6:
	adrp	x19, _test_memory.buf@PAGE
Lloh7:
	add	x19, x19, _test_memory.buf@PAGEOFF
	mov	x0, x22
	mov	w1, #3
	mov	x2, x19
	mov	w3, #4
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #0
	bl	_TEST
	mov	x20, x0
	mov	x0, x22
	mov	w1, #4
	mov	x2, x19
	mov	w3, #4
	bl	_TEST_mem_eq
	mov	x1, x0
	mov	w0, #1
	bl	_TEST
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #0
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	ccmp	w8, #0, #4, ne
	ccmp	w21, #0, #4, ne
	ccmp	w23, #0, #4, ne
	ccmp	w24, #0, #4, ne
	ccmp	w25, #0, #4, ne
	ccmp	w26, #0, #4, ne
	ccmp	w27, #0, #4, ne
	ccmp	w28, #0, #4, ne
	ccmp	w20, #0, #4, ne
	ccmp	w0, #0, #4, ne
	cset	w0, ne
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_test_memory.buf:                       ; @test_memory.buf
	.asciz	"xyz"

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xyz"

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

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_test_memory
.subsections_via_symbols
