	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bf_decrypt
_bf_decrypt:                            ## @bf_decrypt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testl	%edx, %edx
	je	LBB0_7
## %bb.1:
	movl	%edx, %ebx
	testb	$7, %bl
	je	LBB0_3
## %bb.2:
	movq	_PXE_NOTBLOCKSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rcx, %r15
	movq	(%rdi), %r13
	leaq	4(%r13), %r12
	movq	%rcx, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movl	(%r13), %eax
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.5:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_blowfish_decrypt_ecb
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_blowfish_decrypt_cbc
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_PXE_NOTBLOCKSIZE,4,2           ## @PXE_NOTBLOCKSIZE
	.no_dead_strip	_bf_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bf_decrypt
_bf_decrypt:                            ; @bf_decrypt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	w2, LBB0_7
; %bb.1:
	mov	x19, x2
	tst	w2, #0x7
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _PXE_NOTBLOCKSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PXE_NOTBLOCKSIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_8
LBB0_3:
	mov	x20, x3
	ldr	x22, [x0]
	add	x21, x22, #4
	mov	x0, x3
	mov	x2, x19
	bl	_memcpy
	ldr	w8, [x22]
	cmp	w8, #129
	b.eq	LBB0_6
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_blowfish_decrypt_ecb
	b	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_blowfish_decrypt_cbc
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PXE_NOTBLOCKSIZE,4,2           ; @PXE_NOTBLOCKSIZE
	.no_dead_strip	_bf_decrypt
.subsections_via_symbols
