	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_bf_ecb
_test_bf_ecb:                           ## @test_bf_ecb
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ecb_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rbx
	movl	(%rax,%rbx,4), %edx
	leaq	-60(%rbp), %r14
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_BF_set_key
	movq	_plain_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_BF_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-56(%rbp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_BF_ecb_encrypt
	movq	_cipher_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_BF_BLOCK@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movl	%ecx, %esi
	movq	%r15, %rdx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	setne	%r13b
	movq	_BF_DECRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_BF_ecb_encrypt
	movq	_plain_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	(%r12), %ecx
	movl	%ecx, %esi
	movq	%r15, %rdx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	setne	%al
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_2
## %bb.1:
	andb	%r13b, %al
	movzbl	%al, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ecb_data,8,3                   ## @ecb_data
	.comm	_plain_data,8,3                 ## @plain_data
	.comm	_BF_ENCRYPT,4,2                 ## @BF_ENCRYPT
	.comm	_cipher_data,8,3                ## @cipher_data
	.comm	_BF_BLOCK,4,2                   ## @BF_BLOCK
	.comm	_BF_DECRYPT,4,2                 ## @BF_DECRYPT
	.no_dead_strip	_test_bf_ecb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_bf_ecb
_test_bf_ecb:                           ; @test_bf_ecb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _ecb_data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ecb_data@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w2, [x8, w0, sxtw #2]
	add	x0, sp, #12
	mov	w1, #8
	bl	_BF_set_key
Lloh6:
	adrp	x20, _plain_data@GOTPAGE
Lloh7:
	ldr	x20, [x20, _plain_data@GOTPAGEOFF]
	ldr	x8, [x20]
	sbfiz	x21, x19, #3, #32
	ldr	x0, [x8, x21]
Lloh8:
	adrp	x8, _BF_ENCRYPT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BF_ENCRYPT@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_BF_ecb_encrypt
Lloh11:
	adrp	x8, _cipher_data@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cipher_data@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x8, x21]
Lloh14:
	adrp	x22, _BF_BLOCK@GOTPAGE
Lloh15:
	ldr	x22, [x22, _BF_BLOCK@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #16
	mov	x3, x1
	bl	_TEST_mem_eq
	mov	x19, x0
Lloh16:
	adrp	x8, _BF_DECRYPT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BF_DECRYPT@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	add	x0, sp, #16
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_BF_ecb_encrypt
	ldr	x8, [x20]
	ldr	x0, [x8, x21]
	ldr	w1, [x22]
	add	x2, sp, #16
	mov	x3, x1
	bl	_TEST_mem_eq
	cmp	w0, #0
	ccmp	w19, #0, #4, ne
	cset	w0, ne
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ecb_data,8,3                   ; @ecb_data
	.comm	_plain_data,8,3                 ; @plain_data
	.comm	_BF_ENCRYPT,4,2                 ; @BF_ENCRYPT
	.comm	_cipher_data,8,3                ; @cipher_data
	.comm	_BF_BLOCK,4,2                   ; @BF_BLOCK
	.comm	_BF_DECRYPT,4,2                 ; @BF_DECRYPT
	.no_dead_strip	_test_bf_ecb
.subsections_via_symbols
