	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blowfish_setkey                ## -- Begin function blowfish_setkey
	.p2align	4, 0x90
_blowfish_setkey:                       ## @blowfish_setkey
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	movq	8(%rdi), %r12
	movq	16(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	32(%rdi), %rbx
	movl	%edx, %eax
	decl	%eax
	xorl	%edi, %edi
	cmpw	$56, %ax
	setb	%dil
	callq	_Assert
	movq	%rbx, %r9
	movq	_parray@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %eax
	cltd
	idivl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%r15,%rdx,8), %edi
	shll	$24, %edi
	xorl	(%r8,%rcx), %edi
	leal	1(%rcx), %eax
	cltd
	idivl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%r15,%rdx,8), %esi
	shll	$16, %esi
	leal	2(%rcx), %eax
	cltd
	idivl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	movl	(%r15,%rdx,8), %ebx
	shll	$8, %ebx
	xorl	%esi, %ebx
	xorl	%edi, %ebx
	leal	3(%rcx), %eax
	cltd
	idivl	%r14d
                                        ## kill: def $edx killed $edx def $rdx
	xorl	(%r15,%rdx,8), %ebx
	movl	%ebx, (%r9,%rcx)
	addq	$4, %rcx
	cmpq	$72, %rcx
	jne	LBB0_1
## %bb.2:
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	_sbox0@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_sbox1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	_sbox2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_sbox3@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	xorl	%edi, %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rdi), %ebx
	movl	%ebx, (%r13,%rdi)
	movl	(%r9,%rdi), %ebx
	movl	%ebx, (%r12,%rdi)
	movl	(%rdx,%rdi), %ebx
	movl	%ebx, (%rcx,%rdi)
	movl	(%rsi,%rdi), %ebx
	movl	%ebx, (%rax,%rdi)
	movl	4(%r8,%rdi), %ebx
	movl	%ebx, 4(%r13,%rdi)
	movl	4(%r9,%rdi), %ebx
	movl	%ebx, 4(%r12,%rdi)
	movl	4(%rdx,%rdi), %ebx
	movl	%ebx, 4(%rcx,%rdi)
	movl	4(%rsi,%rdi), %ebx
	movl	%ebx, 4(%rax,%rdi)
	addq	$8, %rdi
	cmpq	$1024, %rdi                     ## imm = 0x400
	jne	LBB0_3
## %bb.4:
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %r14
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%r14, %rdx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movl	-52(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 8(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 12(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 16(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 20(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 24(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 28(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 32(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 36(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 40(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 44(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 48(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 52(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 56(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 60(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %edi
	movl	%edi, 64(%rbx)
	movl	-52(%rbp), %esi
	movl	%esi, 68(%rbx)
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %eax
	movl	%eax, (%r13)
	movl	-52(%rbp), %eax
	movl	%eax, 4(%r13)
	movq	$-2, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %eax
	movl	%eax, 16(%r13,%rbx,4)
	movl	-52(%rbp), %eax
	movl	%eax, 20(%r13,%rbx,4)
	addq	$2, %rbx
	cmpq	$252, %rbx
	jb	LBB0_5
## %bb.6:
	movq	$-2, %rbx
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %eax
	movl	%eax, 8(%r12,%rbx,4)
	movl	-52(%rbp), %eax
	movl	%eax, 12(%r12,%rbx,4)
	addq	$2, %rbx
	cmpq	$254, %rbx
	jb	LBB0_7
## %bb.8:
	movq	$-2, %rbx
	leaq	-56(%rbp), %r14
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %eax
	movl	%eax, 8(%r12,%rbx,4)
	movl	-52(%rbp), %eax
	movl	%eax, 12(%r12,%rbx,4)
	addq	$2, %rbx
	cmpq	$254, %rbx
	jb	LBB0_9
## %bb.10:
	movq	$-2, %rbx
	leaq	-56(%rbp), %r14
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %esi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_blowfish_encrypt
	movl	-56(%rbp), %eax
	movl	%eax, 8(%r12,%rbx,4)
	movl	-52(%rbp), %eax
	movl	%eax, 12(%r12,%rbx,4)
	addq	$2, %rbx
	cmpq	$254, %rbx
	jb	LBB0_11
## %bb.12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_parray,8,3                     ## @parray
	.comm	_sbox0,8,3                      ## @sbox0
	.comm	_sbox1,8,3                      ## @sbox1
	.comm	_sbox2,8,3                      ## @sbox2
	.comm	_sbox3,8,3                      ## @sbox3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blowfish_setkey                ; -- Begin function blowfish_setkey
	.p2align	2
_blowfish_setkey:                       ; @blowfish_setkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	x25, x24, [x0]
	ldp	x23, x22, [x0, #16]
	ldr	x26, [x0, #32]
	sub	w8, w2, #1
	cmp	w8, #56
	cset	w0, lo
	bl	_Assert
	mov	x8, #0
Lloh0:
	adrp	x9, _parray@GOTPAGE
Lloh1:
	ldr	x9, [x9, _parray@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9, x8]
	sdiv	w11, w8, w20
	msub	w11, w11, w20, w8
	ldr	x11, [x21, w11, uxtw #3]
	add	w12, w8, #1
	sdiv	w13, w12, w20
	msub	w12, w13, w20, w12
	ldr	x12, [x21, w12, uxtw #3]
	eor	w10, w10, w11, lsl #24
	eor	w10, w10, w12, lsl #16
	add	w11, w8, #2
	sdiv	w12, w11, w20
	msub	w11, w12, w20, w11
	add	w12, w8, #3
	sdiv	w13, w12, w20
	msub	w12, w13, w20, w12
	ldr	x11, [x21, w11, uxtw #3]
	ldr	x12, [x21, w12, uxtw #3]
	eor	w10, w10, w11, lsl #8
	eor	w10, w10, w12
	str	w10, [x26, x8]
	add	x8, x8, #4
	cmp	x8, #72
	b.ne	LBB0_1
; %bb.2:
	mov	x8, #0
Lloh3:
	adrp	x9, _sbox0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _sbox0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _sbox1@GOTPAGE
Lloh7:
	ldr	x10, [x10, _sbox1@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _sbox2@GOTPAGE
Lloh10:
	ldr	x11, [x11, _sbox2@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
Lloh12:
	adrp	x12, _sbox3@GOTPAGE
Lloh13:
	ldr	x12, [x12, _sbox3@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9, x8]
	str	w13, [x25, x8]
	ldr	w13, [x10, x8]
	str	w13, [x24, x8]
	ldr	w13, [x11, x8]
	str	w13, [x23, x8]
	ldr	w13, [x12, x8]
	str	w13, [x22, x8]
	add	x8, x8, #4
	cmp	x8, #1024
	b.ne	LBB0_3
; %bb.4:
	str	xzr, [sp, #8]
	add	x2, sp, #8
	mov	w0, #0
	mov	w1, #0
	mov	x3, x19
	bl	_blowfish_encrypt
	ldr	w8, [sp, #8]
	str	w8, [x26]
	ldp	w0, w8, [sp, #8]
	str	w8, [x26, #4]
	ldr	w1, [sp, #12]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #8]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #16]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #24]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #32]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #40]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #48]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #56]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldp	w0, w1, [sp, #8]
	stp	w0, w1, [x26, #64]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	mov	x20, #0
	ldr	w8, [sp, #8]
	str	w8, [x25]
	ldr	w8, [sp, #12]
	str	w8, [x25, #4]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x20, #2
	ldp	w0, w1, [sp, #8]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldr	w8, [sp, #8]
	add	x9, x25, x20, lsl #2
	str	w8, [x9, #8]
	ldr	w8, [sp, #12]
	str	w8, [x9, #12]
	cmp	x20, #252
	mov	x20, x21
	b.lo	LBB0_5
; %bb.6:
	mov	x20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w0, w1, [sp, #8]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldr	w8, [sp, #8]
	add	x9, x24, x20, lsl #2
	str	w8, [x9]
	ldr	w8, [sp, #12]
	str	w8, [x9, #4]
	add	x8, x20, #2
	cmp	x20, #254
	mov	x20, x8
	b.lo	LBB0_7
; %bb.8:
	mov	x20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w0, w1, [sp, #8]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldr	w8, [sp, #8]
	add	x9, x23, x20, lsl #2
	str	w8, [x9]
	ldr	w8, [sp, #12]
	str	w8, [x9, #4]
	add	x8, x20, #2
	cmp	x20, #254
	mov	x20, x8
	b.lo	LBB0_9
; %bb.10:
	mov	x20, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	w0, w1, [sp, #8]
	add	x2, sp, #8
	mov	x3, x19
	bl	_blowfish_encrypt
	ldr	w8, [sp, #8]
	add	x9, x22, x20, lsl #2
	str	w8, [x9]
	ldr	w8, [sp, #12]
	str	w8, [x9, #4]
	add	x8, x20, #2
	cmp	x20, #254
	mov	x20, x8
	b.lo	LBB0_11
; %bb.12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_parray,8,3                     ; @parray
	.comm	_sbox0,8,3                      ; @sbox0
	.comm	_sbox1,8,3                      ; @sbox1
	.comm	_sbox2,8,3                      ; @sbox2
	.comm	_sbox3,8,3                      ; @sbox3
.subsections_via_symbols
