	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_bf_ecb_raw
_test_bf_ecb_raw:                       ## @test_bf_ecb_raw
	.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	_bf_key@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movslq	%edi, %rbx
	movq	(%rax,%rbx,8), %rdi
	callq	_strlen
	movq	(%r14), %rcx
	movq	(%rcx,%rbx,8), %rdx
	leaq	-60(%rbp), %r14
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_BF_set_key
	movq	_bf_plain@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %ecx
	movl	%ecx, -56(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_BF_encrypt
	movq	_bf_cipher@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	%r15, %rdi
	movq	%r14, %rsi
	callq	_BF_decrypt
	movq	_bf_plain@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	_bf_key,8,3                     ## @bf_key
	.comm	_bf_plain,8,3                   ## @bf_plain
	.comm	_bf_cipher,8,3                  ## @bf_cipher
	.comm	_BF_BLOCK,4,2                   ## @BF_BLOCK
	.no_dead_strip	_test_bf_ecb_raw
.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_raw
_test_bf_ecb_raw:                       ; @test_bf_ecb_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x19, _bf_key@GOTPAGE
Lloh1:
	ldr	x19, [x19, _bf_key@GOTPAGEOFF]
	ldr	x8, [x19]
	sbfiz	x20, x0, #3, #32
	ldr	x0, [x8, x20]
	bl	_strlen
	mov	x1, x0
	ldr	x8, [x19]
	ldr	x2, [x8, x20]
	add	x0, sp, #12
	bl	_BF_set_key
Lloh2:
	adrp	x21, _bf_plain@GOTPAGE
Lloh3:
	ldr	x21, [x21, _bf_plain@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8, x20]
	ldr	d0, [x8]
	str	d0, [sp]
	mov	x0, sp
	add	x1, sp, #12
	bl	_BF_encrypt
Lloh4:
	adrp	x8, _bf_cipher@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bf_cipher@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x0, [x8, x20]
Lloh7:
	adrp	x22, _BF_BLOCK@GOTPAGE
Lloh8:
	ldr	x22, [x22, _BF_BLOCK@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x2, sp
	mov	x3, x1
	bl	_TEST_mem_eq
	mov	x19, x0
	mov	x0, sp
	add	x1, sp, #12
	bl	_BF_decrypt
	ldr	x8, [x21]
	ldr	x0, [x8, x20]
	ldr	w1, [x22]
	mov	x2, sp
	mov	x3, x1
	bl	_TEST_mem_eq
	cmp	w0, #0
	ccmp	w19, #0, #4, ne
	cset	w0, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_bf_key,8,3                     ; @bf_key
	.comm	_bf_plain,8,3                   ; @bf_plain
	.comm	_bf_cipher,8,3                  ; @bf_cipher
	.comm	_BF_BLOCK,4,2                   ; @BF_BLOCK
	.no_dead_strip	_test_bf_ecb_raw
.subsections_via_symbols
