	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_ige_vectors
_test_ige_vectors:                      ## @test_ige_vectors
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ige_test_vectors@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movslq	%edi, %rbx
	movq	_MAX_VECTOR_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	addl	%r13d, %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %r15
	shlq	$4, %r15
	movl	(%r14,%r15), %edi
	movl	(%r12), %esi
	callq	_TEST_int_le
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	leaq	(%r14,%r15), %r12
	leaq	(%r14,%r15), %rax
	addq	$8, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_AES_ENCRYPT@GOTPCREL(%rip), %rax
	movq	8(%r14,%r15), %rcx
	movq	16(%r14,%r15), %rdi
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.2:
	leaq	-52(%rbp), %rdx
	movl	$64, %esi
	callq	_AES_set_encrypt_key
	jmp	LBB0_4
LBB0_3:
	leaq	-52(%rbp), %rdx
	movl	$64, %esi
	callq	_AES_set_decrypt_key
LBB0_4:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r14,%r15), %rax
	addq	$16, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r14,%r15), %rsi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_memcpy
	movq	32(%r14,%r15), %rdi
	movq	%rbx, %r8
	movl	(%r12), %edx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r9
	leaq	-52(%rbp), %rcx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_AES_ige_encrypt
	movl	40(%r14,%r15), %edi
	movq	%rbx, %r15
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movl	(%r12), %ecx
	movl	%ecx, %esi
	movq	%rbx, %rdx
	callq	_TEST_mem_eq
	movl	$1, %r12d
	testl	%eax, %eax
	movq	%r13, %rdx
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movq	%rdx, %r14
	callq	_TEST_info
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	movl	$8, %edx
	callq	_test_output_memory
	movq	8(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	movl	$8, %edx
	callq	_test_output_memory
	movq	16(%rbx), %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_test_output_memory
	movq	%r14, %rdx
	xorl	%r12d, %r12d
LBB0_6:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rsi
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	16(%r13), %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_memcpy
	movl	(%rbx), %edx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r9
	leaq	-52(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r14, %r8
	callq	_AES_ige_encrypt
	movl	24(%r13), %edi
	movl	(%rbx), %ecx
	movl	%ecx, %esi
	movq	%r15, %rdx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_TEST_info
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	movl	$8, %edx
	callq	_test_output_memory
	movq	8(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	movl	$8, %edx
	callq	_test_output_memory
	movq	16(%rbx), %rsi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_test_output_memory
	xorl	%r12d, %r12d
LBB0_8:
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ige_test_vectors,8,3           ## @ige_test_vectors
	.comm	_MAX_VECTOR_SIZE,4,2            ## @MAX_VECTOR_SIZE
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.comm	_AES_ENCRYPT,8,3                ## @AES_ENCRYPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IGE test vector %d failed"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"IGE test vector %d failed (with in == out)"

	.no_dead_strip	_test_ige_vectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_ige_vectors
_test_ige_vectors:                      ; @test_ige_vectors
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x19, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _ige_test_vectors@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ige_test_vectors@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
Lloh6:
	adrp	x12, _MAX_VECTOR_SIZE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _MAX_VECTOR_SIZE@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh10:
	adrp	x8, _AES_BLOCK_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AES_BLOCK_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	lsl	w22, w8, #1
	mov	x9, x22
Lloh13:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh14:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	mov	w8, #48
	smaddl	x25, w0, w8, x23
	ldr	w0, [x25]
	ldr	w1, [x12]
	bl	_TEST_int_le
	cbz	w0, LBB0_9
; %bb.1:
	stur	x26, [x29, #-104]               ; 8-byte Folded Spill
	sxtw	x24, w19
	mov	w8, #48
	madd	x26, x24, x8, x23
	ldr	x8, [x26, #8]!
Lloh15:
	adrp	x9, _AES_ENCRYPT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AES_ENCRYPT@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	mov	x10, x26
	ldr	x0, [x10, #8]!
	stur	x10, [x29, #-112]               ; 8-byte Folded Spill
	sub	x2, x29, #92
	mov	w1, #64
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	bl	_AES_set_encrypt_key
	b	LBB0_4
LBB0_3:
	bl	_AES_set_decrypt_key
LBB0_4:
	mov	w8, #48
	madd	x27, x24, x8, x23
	mov	x24, x27
	ldr	x1, [x24, #24]!
	mov	x0, x21
	mov	x2, x22
	bl	_memcpy
	mov	x28, x27
	ldr	x0, [x28, #32]!
	ldr	w2, [x25]
	ldr	x5, [x26]
	sub	x3, x29, #92
	mov	x1, x20
	mov	x4, x21
	bl	_AES_ige_encrypt
	ldr	w0, [x27, #40]!
	ldr	w1, [x25]
	mov	x2, x20
	mov	x3, x1
	bl	_TEST_mem_eq
	cbz	w0, LBB0_6
; %bb.5:
	mov	w23, #1
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_TEST_info
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	x1, [x8]
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #8
	bl	_test_output_memory
	ldr	x1, [x24]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #8
	bl	_test_output_memory
	ldr	x1, [x28]
	ldr	w2, [x25]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_test_output_memory
	mov	w23, #0
LBB0_7:
	ldr	x1, [x24]
	mov	x0, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x1, [x28]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_memcpy
	ldr	w2, [x25]
	ldr	x5, [x26]
	sub	x3, x29, #92
	mov	x0, x20
	mov	x1, x20
	mov	x4, x21
	bl	_AES_ige_encrypt
	ldr	w0, [x27]
	ldr	w1, [x25]
	mov	x2, x20
	mov	x3, x1
	bl	_TEST_mem_eq
	ldur	x26, [x29, #-104]               ; 8-byte Folded Reload
	cbnz	w0, LBB0_10
; %bb.8:
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_TEST_info
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	ldr	x1, [x8]
Lloh28:
	adrp	x0, l_.str.1@PAGE
Lloh29:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #8
	bl	_test_output_memory
	ldr	x1, [x24]
Lloh30:
	adrp	x0, l_.str.2@PAGE
Lloh31:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #8
	bl	_test_output_memory
	ldr	x1, [x28]
	ldr	w2, [x25]
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_test_output_memory
LBB0_9:
	mov	w23, #0
LBB0_10:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x23
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_ige_test_vectors,8,3           ; @ige_test_vectors
	.comm	_MAX_VECTOR_SIZE,4,2            ; @MAX_VECTOR_SIZE
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.comm	_AES_ENCRYPT,8,3                ; @AES_ENCRYPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IGE test vector %d failed"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"IGE test vector %d failed (with in == out)"

	.no_dead_strip	_test_ige_vectors
.subsections_via_symbols
