	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_bi_ige_vectors
_test_bi_ige_vectors:                   ## @test_bi_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_bi_ige_test_vectors@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	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, %r15
	leaq	(%rbx,%rbx,4), %rbx
	movl	(%r13,%rbx,8), %edi
	movl	(%r12), %esi
	callq	_TEST_int_le
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	je	LBB0_6
## %bb.1:
	leaq	(,%rbx,8), %r12
	addq	%r13, %r12
	movq	8(%r13,%rbx,8), %rax
	movq	_AES_ENCRYPT@GOTPCREL(%rip), %rcx
	movl	16(%r13,%rbx,8), %esi
	shll	$3, %esi
	movl	32(%r13,%rbx,8), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	-56(%rbp), %rdx
	callq	_AES_set_encrypt_key
	movl	28(%r13,%rbx,8), %edi
	movl	16(%r12), %esi
	shll	$3, %esi
	leaq	-52(%rbp), %rdx
	callq	_AES_set_encrypt_key
	jmp	LBB0_4
LBB0_3:
	leaq	-56(%rbp), %rdx
	callq	_AES_set_decrypt_key
	movl	28(%r13,%rbx,8), %edi
	movl	16(%r12), %esi
	shll	$3, %esi
	leaq	-52(%rbp), %rdx
	callq	_AES_set_decrypt_key
LBB0_4:
	movl	(%r12), %edx
	movl	20(%r13,%rbx,8), %edi
	movl	24(%r13,%rbx,8), %r9d
	subq	$8, %rsp
	leaq	-56(%rbp), %rcx
	leaq	-52(%rbp), %r8
	movq	%r15, %rsi
	pushq	8(%r12)
	callq	_AES_bi_ige_encrypt
	addq	$16, %rsp
	movl	36(%r13,%rbx,8), %edi
	movl	(%r12), %ecx
	movl	%ecx, %esi
	movq	%r15, %rdx
	callq	_TEST_mem_eq
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_6
## %bb.5:
	leaq	32(,%rbx,8), %r15
	addq	%r13, %r15
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	movl	$4, %edx
	callq	_test_output_memory
	movl	28(%r13,%rbx,8), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	$4, %edx
	callq	_test_output_memory
	movl	-8(%r15), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	$4, %edx
	callq	_test_output_memory
	movl	-12(%r15), %esi
	movl	(%r12), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_test_output_memory
	xorl	%eax, %eax
LBB0_6:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_bi_ige_test_vectors,8,3        ## @bi_ige_test_vectors
	.comm	_MAX_VECTOR_SIZE,4,2            ## @MAX_VECTOR_SIZE
	.comm	_AES_ENCRYPT,8,3                ## @AES_ENCRYPT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key 1"

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

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

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

	.no_dead_strip	_test_bi_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_bi_ige_vectors
_test_bi_ige_vectors:                   ; @test_bi_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, #16
	mov	x20, x0
	mov	x21, 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, _bi_ige_test_vectors@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bi_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	x19, x9, x8
	mov	sp, x19
	mov	w8, #40
	smaddl	x22, w0, w8, x23
	ldr	w0, [x22]
	ldr	w1, [x12]
	bl	_TEST_int_le
	cbz	w0, LBB0_7
; %bb.1:
	sxtw	x20, w20
	mov	w8, #40
	madd	x25, x20, x8, x23
	ldr	x8, [x25, #8]!
Lloh10:
	adrp	x9, _AES_ENCRYPT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AES_ENCRYPT@GOTPAGEOFF]
	mov	x24, x25
	ldr	w0, [x24, #24]!
Lloh12:
	ldr	x9, [x9]
	mov	x26, x25
	ldr	w10, [x26, #8]!
	lsl	w1, w10, #3
	sub	x2, x29, #92
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	bl	_AES_set_encrypt_key
	mov	w8, #40
	madd	x8, x20, x8, x23
	ldr	w0, [x8, #28]
	ldr	w8, [x26]
	lsl	w1, w8, #3
	sub	x2, x29, #96
	bl	_AES_set_encrypt_key
	b	LBB0_4
LBB0_3:
	bl	_AES_set_decrypt_key
	mov	w8, #40
	madd	x8, x20, x8, x23
	ldr	w0, [x8, #28]
	ldr	w8, [x26]
	lsl	w1, w8, #3
	sub	x2, x29, #96
	bl	_AES_set_decrypt_key
LBB0_4:
	mov	w8, #40
	madd	x26, x20, x8, x23
	ldr	w0, [x26, #20]!
	ldr	w2, [x22]
	mov	x27, x26
	ldr	w5, [x27, #4]!
	ldr	x6, [x25]
	sub	x3, x29, #92
	sub	x4, x29, #96
	mov	x1, x19
	bl	_AES_bi_ige_encrypt
	ldr	w0, [x26, #16]
	ldr	w1, [x22]
	mov	x2, x19
	mov	x3, x1
	bl	_TEST_mem_eq
	cbz	w0, LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	ldr	w1, [x24]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #4
	bl	_test_output_memory
	mov	w8, #40
	madd	x8, x20, x8, x23
	ldr	w1, [x8, #28]
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_test_output_memory
	ldr	w1, [x27]
Lloh17:
	adrp	x0, l_.str.2@PAGE
Lloh18:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_test_output_memory
	ldr	w1, [x26]
	ldr	w2, [x22]
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_test_output_memory
	mov	w0, #0
LBB0_7:
	mov	sp, x21
	ldur	x8, [x29, #-88]
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_9
; %bb.8:
	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_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_bi_ige_test_vectors,8,3        ; @bi_ige_test_vectors
	.comm	_MAX_VECTOR_SIZE,4,2            ; @MAX_VECTOR_SIZE
	.comm	_AES_ENCRYPT,8,3                ; @AES_ENCRYPT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key 1"

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

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

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

	.no_dead_strip	_test_bi_ige_vectors
.subsections_via_symbols
