	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_bf_set_key
_test_bf_set_key:                       ## @test_bf_set_key
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leal	1(%rbx), %esi
	movq	_key_test@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_BF_set_key
	movq	_key_data@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BF_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %r15
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_BF_ecb_encrypt
	movq	_key_out@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	%r15, %rdi
	movl	$8, %esi
	movl	$8, %ecx
	callq	_TEST_mem_eq
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%cl
	movq	___stack_chk_guard@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	-32(%rbp), %rdx
	jne	LBB0_2
## %bb.1:
	movb	%cl, %al
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_key_test,4,2                   ## @key_test
	.comm	_key_data,4,2                   ## @key_data
	.comm	_BF_ENCRYPT,4,2                 ## @BF_ENCRYPT
	.comm	_key_out,8,3                    ## @key_out
	.no_dead_strip	_test_bf_set_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_bf_set_key
_test_bf_set_key:                       ; @test_bf_set_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	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]
	add	w1, w0, #1
Lloh3:
	adrp	x8, _key_test@GOTPAGE
Lloh4:
	ldr	x8, [x8, _key_test@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_BF_set_key
Lloh6:
	adrp	x8, _key_data@GOTPAGE
Lloh7:
	ldr	x8, [x8, _key_data@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _BF_ENCRYPT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BF_ENCRYPT@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_BF_ecb_encrypt
Lloh12:
	adrp	x8, _key_out@GOTPAGE
Lloh13:
	ldr	x8, [x8, _key_out@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x2, [x8, w19, sxtw #3]
	add	x0, sp, #16
	mov	w1, #8
	mov	w3, #8
	bl	_TEST_mem_eq
	cmp	w0, #0
	cset	w0, ne
	ldr	x8, [sp, #24]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_key_test,4,2                   ; @key_test
	.comm	_key_data,4,2                   ; @key_data
	.comm	_BF_ENCRYPT,4,2                 ; @BF_ENCRYPT
	.comm	_key_out,8,3                    ; @key_out
	.no_dead_strip	_test_bf_set_key
.subsections_via_symbols
