	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_bf_ofb64
_test_bf_ofb64:                         ## @test_bf_ofb64
	.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	$136, %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	_cbc_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_strlen
	movl	%eax, %ebx
	leal	1(%rbx), %eax
	movl	%eax, -164(%rbp)                ## 4-byte Spill
	movq	_cbc_key@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-168(%rbp), %r12
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_BF_set_key
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	-144(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	_cbc_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-152(%rbp), %r13
	movq	%r13, %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	$0, -160(%rbp)
	movq	(%r15), %rdi
	leaq	-160(%rbp), %r9
	movq	%r14, %rsi
	movl	$13, %edx
	movq	%r12, %rcx
	movq	%r13, %r8
	movq	%r13, %r14
	movq	%r9, %r13
	callq	_BF_ofb64_encrypt
	movq	(%r15), %rdi
	addq	$52, %rdi
	leaq	-131(%rbp), %rsi
	leal	-12(%rbx), %edx
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r14, %r15
	movq	%r13, %r9
	callq	_BF_ofb64_encrypt
	movq	_ofb64_ok@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	-144(%rbp), %rdi
	movl	-164(%rbp), %r14d               ## 4-byte Reload
	movl	%r14d, %esi
	movl	%r14d, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	setne	-153(%rbp)                      ## 1-byte Folded Spill
	movl	$0, -160(%rbp)
	movq	_cbc_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$8, %edx
	callq	_memcpy
	leaq	-144(%rbp), %rdi
	leaq	-96(%rbp), %rsi
	movl	$17, %edx
	movq	%r12, %rcx
	movq	%r15, %r13
	movq	%r15, %r8
	leaq	-160(%rbp), %r15
	movq	%r15, %r9
	callq	_BF_ofb64_encrypt
	leaq	-127(%rbp), %rdi
	leaq	-79(%rbp), %rsi
	addl	$-16, %ebx
	movl	%ebx, %edx
	movq	%r12, %rcx
	movq	%r13, %r8
	movq	%r15, %r9
	callq	_BF_ofb64_encrypt
	movq	_cbc_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	-96(%rbp), %rdi
	movl	%r14d, %esi
	movl	%r14d, %ecx
	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	-153(%rbp), %al                 ## 1-byte Folded Reload
	movzbl	%al, %eax
	addq	$136, %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	_cbc_data,8,3                   ## @cbc_data
	.comm	_cbc_key,4,2                    ## @cbc_key
	.comm	_cbc_iv,4,2                     ## @cbc_iv
	.comm	_ofb64_ok,8,3                   ## @ofb64_ok
	.no_dead_strip	_test_bf_ofb64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_bf_ofb64
_test_bf_ofb64:                         ; @test_bf_ofb64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x22, _cbc_data@GOTPAGE
Lloh4:
	ldr	x22, [x22, _cbc_data@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_strlen
	mov	x20, x0
	add	w19, w0, #1
Lloh5:
	adrp	x8, _cbc_key@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cbc_key@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #16
	bl	_BF_set_key
	add	x23, sp, #64
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	add	x24, sp, #24
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh8:
	adrp	x25, _cbc_iv@GOTPAGE
Lloh9:
	ldr	x25, [x25, _cbc_iv@GOTPAGEOFF]
	ldr	w1, [x25]
	add	x0, sp, #16
	mov	w2, #8
	bl	_memcpy
	str	wzr, [sp, #12]
	ldr	x0, [x22]
	add	x1, sp, #24
	add	x3, sp, #8
	add	x4, sp, #16
	add	x5, sp, #12
	mov	w2, #13
	bl	_BF_ofb64_encrypt
	ldr	x8, [x22]
	add	x0, x8, #52
	add	x1, x24, #13
	sub	w2, w20, #12
	add	x3, sp, #8
	add	x4, sp, #16
	add	x5, sp, #12
	bl	_BF_ofb64_encrypt
Lloh10:
	adrp	x8, _ofb64_ok@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ofb64_ok@GOTPAGEOFF]
Lloh12:
	ldr	x2, [x8]
	add	x0, sp, #24
	mov	x1, x19
	mov	x3, x19
	bl	_TEST_mem_eq
	mov	x21, x0
	str	wzr, [sp, #12]
	ldr	w1, [x25]
	add	x0, sp, #16
	mov	w2, #8
	bl	_memcpy
	add	x0, sp, #24
	add	x1, sp, #64
	add	x3, sp, #8
	add	x4, sp, #16
	add	x5, sp, #12
	mov	w2, #17
	bl	_BF_ofb64_encrypt
	add	x0, x24, #17
	add	x1, x23, #17
	sub	w2, w20, #16
	add	x3, sp, #8
	add	x4, sp, #16
	add	x5, sp, #12
	bl	_BF_ofb64_encrypt
	ldr	x2, [x22]
	add	x0, sp, #64
	mov	x1, x19
	mov	x3, x19
	bl	_TEST_mem_eq
	cmp	w0, #0
	ccmp	w21, #0, #4, ne
	cset	w0, ne
	ldur	x8, [x29, #-72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cbc_data,8,3                   ; @cbc_data
	.comm	_cbc_key,4,2                    ; @cbc_key
	.comm	_cbc_iv,4,2                     ; @cbc_iv
	.comm	_ofb64_ok,8,3                   ; @ofb64_ok
	.no_dead_strip	_test_bf_ofb64
.subsections_via_symbols
