	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function int_array_tests
_int_array_tests:                       ## @int_array_tests
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movups	l___const.int_array_tests.test1+12(%rip), %xmm0
	movups	%xmm0, -68(%rbp)
	movaps	l___const.int_array_tests.test1(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	l___const.int_array_tests.test2+8(%rip), %eax
	movl	%eax, -88(%rbp)
	movq	l___const.int_array_tests.test2(%rip), %rax
	movq	%rax, -96(%rbp)
	movq	l___const.int_array_tests.test3+32(%rip), %rax
	movq	%rax, -112(%rbp)
	movaps	l___const.int_array_tests.test3+16(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	l___const.int_array_tests.test3(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movq	l___const.int_array_tests.test3_res+16(%rip), %rax
	movq	%rax, -160(%rbp)
	movaps	l___const.int_array_tests.test3_res(%rip), %xmm0
	movaps	%xmm0, -176(%rbp)
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	leaq	-80(%rbp), %rdi
	callq	_int_array_len
	cmpl	$6, %eax
	jne	LBB0_3
## %bb.1:
	leaq	-96(%rbp), %rdi
	callq	_int_array_len
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.2:
	movl	$1, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_4
LBB0_3:
	movl	$2, %r14d
	movb	$1, %r12b
LBB0_4:
	leaq	-144(%rbp), %r15
	movq	%r15, %rdi
	callq	_int_array_sort_unique
	leaq	-176(%rbp), %rdi
	callq	_int_array_len
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_int_array_len
	cmpl	%ebx, %eax
	jne	LBB0_6
## %bb.5:
	shll	$2, %ebx
	leaq	-144(%rbp), %rdi
	leaq	-176(%rbp), %rsi
	movl	%ebx, %edx
	callq	_os_memcmp
	testq	%rax, %rax
	movl	$1, %eax
	cmovel	%eax, %r14d
	setne	%al
	orb	%al, %r12b
	xorl	%eax, %eax
	cmpb	$1, %r12b
	jne	LBB0_7
LBB0_6:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$144, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.int_array_tests.test1
l___const.int_array_tests.test1:
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	5                               ## 0x5
	.long	6                               ## 0x6
	.long	0                               ## 0x0

	.p2align	2                               ## @__const.int_array_tests.test2
l___const.int_array_tests.test2:
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff
	.long	0                               ## 0x0

	.p2align	4                               ## @__const.int_array_tests.test3
l___const.int_array_tests.test3:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	4294967295                      ## 0xffffffff
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	0                               ## 0x0

	.p2align	4                               ## @__const.int_array_tests.test3_res
l___const.int_array_tests.test3_res:
	.long	4294967295                      ## 0xffffffff
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
	.long	4                               ## 0x4
	.long	0                               ## 0x0

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"int_array tests"

	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"%d int_array test(s) failed"

	.no_dead_strip	_int_array_tests
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function int_array_tests
_int_array_tests:                       ; @int_array_tests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, l___const.int_array_tests.test1@PAGE
Lloh4:
	add	x8, x8, l___const.int_array_tests.test1@PAGEOFF
	ldr	q0, [x8]
	stur	q0, [x29, #-80]
	ldur	q0, [x8, #12]
	stur	q0, [x29, #-68]
Lloh5:
	adrp	x8, l___const.int_array_tests.test2@PAGE
Lloh6:
	add	x8, x8, l___const.int_array_tests.test2@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #96]
	ldr	w8, [x8, #8]
	str	w8, [sp, #104]
Lloh7:
	adrp	x8, l___const.int_array_tests.test3@PAGE
Lloh8:
	add	x8, x8, l___const.int_array_tests.test3@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #48]
	ldr	x8, [x8, #32]
	str	x8, [sp, #80]
Lloh9:
	adrp	x8, l___const.int_array_tests.test3_res@PAGE
Lloh10:
	add	x8, x8, l___const.int_array_tests.test3_res@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
Lloh11:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	sub	x0, x29, #80
	bl	_int_array_len
	cmp	w0, #6
	b.ne	LBB0_3
; %bb.1:
	add	x0, sp, #96
	bl	_int_array_len
	cmp	w0, #2
	b.ne	LBB0_3
; %bb.2:
	mov	w21, #0
	mov	w20, #1
	b	LBB0_4
LBB0_3:
	mov	w20, #2
	mov	w21, #1
LBB0_4:
	add	x0, sp, #48
	bl	_int_array_sort_unique
	add	x0, sp, #16
	bl	_int_array_len
	mov	x19, x0
	add	x0, sp, #48
	bl	_int_array_len
	cmp	w0, w19
	b.ne	LBB0_6
; %bb.5:
	lsl	w2, w19, #2
	add	x0, sp, #48
	add	x1, sp, #16
	bl	_os_memcmp
	cmp	x0, #0
	cset	w8, ne
	orr	w8, w21, w8
	csinc	w20, w20, wzr, ne
	cmp	w8, #1
	b.ne	LBB0_7
LBB0_6:
Lloh16:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.int_array_tests.test1
l___const.int_array_tests.test1:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.long	6                               ; 0x6
	.long	0                               ; 0x0

	.p2align	2                               ; @__const.int_array_tests.test2
l___const.int_array_tests.test2:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.long	0                               ; 0x0

	.p2align	2                               ; @__const.int_array_tests.test3
l___const.int_array_tests.test3:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	0                               ; 0x0

	.p2align	2                               ; @__const.int_array_tests.test3_res
l___const.int_array_tests.test3_res:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.long	4                               ; 0x4
	.long	0                               ; 0x0

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"int_array tests"

	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"%d int_array test(s) failed"

	.no_dead_strip	_int_array_tests
.subsections_via_symbols
