	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BF_set_key
_BF_set_key:                            ## @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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_BF_N@GOTPCREL(%rip), %r8
	cmpl	$-1, (%r8)
	jl	LBB0_18
## %bb.1:
	movq	_BF_init_state@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	$-1, %r10
	movq	%rdi, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, 4(%rsi,%r10,4)
	xorl	4(%r9,%r10,4), %eax
	movl	%eax, 4(%rdx,%r10,4)
	movslq	(%r8), %rax
	incq	%r10
	cmpq	%rax, %r10
	jg	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r14), %r11d
	movq	%rdi, %rbx
	testl	%r11d, %r11d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	%r14, %rbx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsbl	(%rbx), %eax
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdi, %r14
	testb	%al, %al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%rbx, %r14
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	shll	$16, %r11d
	shll	$8, %eax
	orl	%r11d, %eax
	movsbl	(%r14), %ebx
	movq	%rdi, %r11
	testl	%ebx, %ebx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	%r14, %r11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%ebx, %eax
	movzbl	(%r11), %ebx
	movsbl	%bl, %r14d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%al, %eax
	movq	%rdi, %r14
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	%rbx, %r14
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	shll	$16, %r11d
	shll	$8, %eax
	orl	%r11d, %eax
	movzbl	(%r14), %ebx
	movq	%rdi, %r11
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	%r14, %r11
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	orl	%ebx, %eax
	movzbl	(%r11), %ebx
	movzbl	%bl, %r14d
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	shll	$8, %eax
	orl	%r14d, %eax
	movq	%rdi, %r14
	testb	%bl, %bl
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%r11
	movq	%r11, %r14
	jmp	LBB0_17
LBB0_18:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BF_N,4,2                       ## @BF_N
	.comm	_BF_init_state,8,3              ## @BF_init_state
	.no_dead_strip	_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 BF_set_key
_BF_set_key:                            ; @BF_set_key
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BF_N@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BF_N@GOTPAGEOFF]
	ldr	w9, [x8]
	cmn	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _BF_init_state@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BF_init_state@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	mov	x11, x0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ands	w11, w11, #0xff
	csinc	x13, x0, x13, eq
	lsl	w11, w11, #8
	ldrb	w14, [x13], #1
	bfi	w11, w12, #16, #8
	orr	w11, w11, w14
	cmp	w14, #0
	csel	x12, x0, x13, eq
	ldrb	w13, [x12]
	mov	x14, x13
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	orr	w14, w14, w11, lsl #8
	cmp	w13, #0
	csinc	x11, x0, x12, eq
	lsl	x12, x9, #2
	str	w14, [x1, x12]
	ldr	w13, [x10, x12]
	eor	w13, w13, w14
	str	w13, [x2, x12]
	add	x12, x9, #1
	ldrsw	x13, [x8]
	cmp	x9, x13
	mov	x9, x12
	b.gt	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x11], #1
	cmp	w12, #0
	csel	x13, x0, x11, eq
	ldrsb	w11, [x13]
	cbz	w3, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #0
	csinc	x13, x0, x13, eq
	lsl	w12, w12, #16
	ldrsb	w14, [x13], #1
	orr	w11, w12, w11, lsl #8
	orr	w11, w11, w14
	cmp	w14, #0
	csel	x12, x0, x13, eq
	ldrsb	w14, [x12]
	and	w13, w14, #0xff
	b	LBB0_3
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_BF_N,4,2                       ; @BF_N
	.comm	_BF_init_state,8,3              ; @BF_init_state
	.no_dead_strip	_BF_set_key
.subsections_via_symbols
