	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RC5_32_set_key                 ## -- Begin function RC5_32_set_key
	.p2align	4, 0x90
_RC5_32_set_key:                        ## @RC5_32_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$296, %rsp                      ## imm = 0x128
	.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	_RC5_16_ROUNDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RC5_12_ROUNDS@GOTPCREL(%rip), %r8
	movq	_RC5_8_ROUNDS@GOTPCREL(%rip), %rbx
	cmpl	%ecx, (%rbx)
	movl	%eax, %r14d
	cmovel	%ecx, %r14d
	cmpl	%ecx, (%r8)
	cmovel	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %r13d
	cmpl	%ecx, %eax
	cmovel	%ecx, %r14d
	movl	%r14d, (%rdi)
	movq	8(%rdi), %rax
	movq	%rax, -328(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	cmpl	$8, %esi
	jl	LBB0_3
## %bb.1:
	leal	-8(%r13), %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_c2l
	movq	%r15, %rdi
	callq	_c2l
	addl	$8, %ebx
	cmpl	%r12d, %ebx
	jle	LBB0_2
LBB0_3:
	cmpl	%r13d, %ebx
	je	LBB0_5
## %bb.4:
	movl	%r13d, %ecx
	andl	$7, %ecx
	movq	%r15, %rdi
	callq	_c2ln
LBB0_5:
	leal	3(%r13), %eax
	addl	$6, %r13d
	testl	%eax, %eax
	cmovnsl	%eax, %r13d
	sarl	$2, %r13d
	movl	%r14d, %eax
	addl	%r14d, %r14d
	addl	%eax, %eax
	addl	$2, %eax
	movl	%eax, -308(%rbp)                ## 4-byte Spill
	movq	_RC5_32_P@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-328(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, (%rdi)
	cmpl	$2147483645, %r14d              ## imm = 0x7FFFFFFD
	ja	LBB0_11
## %bb.6:
	testl	%r14d, %r14d
	je	LBB0_7
## %bb.8:
	movl	-308(%rbp), %ecx                ## 4-byte Reload
	movl	$2, %r8d
	subq	%rcx, %r8
	movl	$1, %ecx
	movq	_RC5_32_Q@GOTPCREL(%rip), %r9
	movq	_RC5_32_MASK@GOTPCREL(%rip), %rbx
	movl	%eax, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%r9), %edx
	andl	(%rbx), %edx
	movl	%edx, (%rdi,%rcx,4)
	addl	(%r9), %edx
	andl	(%rbx), %edx
	movl	%edx, 4(%rdi,%rcx,4)
	leaq	(%r8,%rcx), %rsi
	addq	$2, %rsi
	addq	$2, %rcx
	cmpq	$1, %rsi
	jne	LBB0_9
	jmp	LBB0_10
LBB0_7:
	movl	$1, %ecx
	movl	%eax, %edx
LBB0_10:
	movq	_RC5_32_Q@GOTPCREL(%rip), %rsi
	addl	(%rsi), %edx
	movq	_RC5_32_MASK@GOTPCREL(%rip), %rsi
	andl	(%rsi), %edx
	movl	%edx, (%rdi,%rcx,4)
LBB0_11:
	movl	-308(%rbp), %edx                ## 4-byte Reload
	cmpl	%r13d, %edx
	movl	%r13d, %ecx
	cmovgl	%edx, %ecx
	testl	%ecx, %ecx
	jle	LBB0_15
## %bb.12:
	movq	%r13, -336(%rbp)                ## 8-byte Spill
	leal	(%rcx,%rcx,2), %ecx
	cmpl	$2, %ecx
	movl	$1, %edx
	cmovll	%edx, %ecx
	subl	%ecx, %edx
	movl	%edx, -316(%rbp)                ## 4-byte Spill
	movl	$0, -312(%rbp)                  ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movslq	%r12d, %r13
	addl	%r15d, %ebx
	addl	%eax, %ebx
	movq	_RC5_32_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %edi
	movl	$3, %esi
	callq	_ROTATE_l32
	movl	%eax, %ebx
	movl	%eax, (%r14,%r13,4)
	addl	%eax, %r15d
	movslq	-312(%rbp), %r13                ## 4-byte Folded Reload
	movl	-304(%rbp,%r13,4), %edi
	addl	%r15d, %edi
	movq	_RC5_32_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movl	%r15d, %esi
	callq	_ROTATE_l32
	movl	%eax, %r15d
	movl	%eax, -304(%rbp,%r13,4)
	movl	-316(%rbp), %edx                ## 4-byte Reload
	testl	%edx, %edx
	movq	-336(%rbp), %rax                ## 8-byte Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	-312(%rbp), %esi                ## 4-byte Reload
	incl	%esi
	cmpl	%eax, %esi
	movl	$0, %eax
	cmovgel	%eax, %esi
	movl	%esi, -312(%rbp)                ## 4-byte Spill
	incl	%r12d
	cmpl	-308(%rbp), %r12d               ## 4-byte Folded Reload
	cmovgel	%eax, %r12d
	movslq	%r12d, %rax
	movl	(%r14,%rax,4), %eax
	incl	%edx
	movl	%edx, -316(%rbp)                ## 4-byte Spill
	jmp	LBB0_13
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RC5_16_ROUNDS,4,2              ## @RC5_16_ROUNDS
	.comm	_RC5_12_ROUNDS,4,2              ## @RC5_12_ROUNDS
	.comm	_RC5_8_ROUNDS,4,2               ## @RC5_8_ROUNDS
	.comm	_RC5_32_P,4,2                   ## @RC5_32_P
	.comm	_RC5_32_Q,4,2                   ## @RC5_32_Q
	.comm	_RC5_32_MASK,4,2                ## @RC5_32_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RC5_32_set_key                 ; -- Begin function RC5_32_set_key
	.p2align	2
_RC5_32_set_key:                        ; @RC5_32_set_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _RC5_16_ROUNDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC5_16_ROUNDS@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RC5_12_ROUNDS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RC5_12_ROUNDS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _RC5_8_ROUNDS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RC5_8_ROUNDS@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	w10, w3
	ccmp	w9, w3, #4, ne
	ccmp	w8, w3, #4, ne
	csel	w23, w3, w8, eq
	str	w23, [x0]
	ldr	x21, [x0, #8]
	mov	w24, #0
	subs	w22, w1, #8
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_c2l
	mov	x0, x20
	bl	_c2l
	add	w24, w24, #8
	cmp	w24, w22
	b.le	LBB0_1
LBB0_2:
	cmp	w24, w19
	b.eq	LBB0_4
; %bb.3:
	and	w3, w19, #0x7
	mov	x0, x20
	bl	_c2ln
LBB0_4:
	add	w8, w19, #3
	add	w9, w19, #6
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	lsl	w9, w23, #1
	add	w23, w9, #2
Lloh12:
	adrp	x8, _RC5_32_P@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RC5_32_P@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x21]
	mov	w10, #65533
	movk	w10, #32767, lsl #16
Lloh15:
	adrp	x24, _RC5_32_MASK@GOTPAGE
Lloh16:
	ldr	x24, [x24, _RC5_32_MASK@GOTPAGEOFF]
	cmp	w9, w10
	b.hi	LBB0_7
; %bb.5:
	add	x9, x21, #4
	sub	x10, x23, #1
Lloh17:
	adrp	x11, _RC5_32_Q@GOTPAGE
Lloh18:
	ldr	x11, [x11, _RC5_32_Q@GOTPAGEOFF]
	mov	x12, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11]
	ldr	w14, [x24]
	add	w12, w13, w12
	and	w12, w12, w14
	str	w12, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_6
LBB0_7:
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w23, w9
	csel	w9, w23, w9, gt
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.8:
	mov	w25, #0
	mov	w26, #0
	mov	w20, #0
	mov	w19, #0
	add	w9, w9, w9, lsl #1
	cmp	w9, #1
	csinc	w9, w9, wzr, gt
	mov	w10, #1
	sub	w27, w10, w9
	add	x28, sp, #16
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w20, w19
	add	w8, w9, w8
	ldr	w9, [x24]
	and	w0, w8, w9
	mov	w1, #3
	bl	_ROTATE_l32
	mov	x20, x0
	str	w0, [x21, w26, sxtw #2]
	sbfiz	x22, x25, #2, #32
	ldr	w8, [x28, x22]
	add	w1, w0, w19
	add	w8, w1, w8
	ldr	w9, [x24]
	and	w0, w8, w9
	bl	_ROTATE_l32
	str	w0, [x28, x22]
	cbz	w27, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x19, x0
	add	w8, w25, #1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w9
	csinc	w25, wzr, w25, ge
	add	w8, w26, #1
	cmp	w8, w23
	csinc	w26, wzr, w26, ge
	ldr	w8, [x21, w26, sxtw #2]
	add	w27, w27, #1
	b	LBB0_9
LBB0_11:
	ldur	x8, [x29, #-96]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_RC5_16_ROUNDS,4,2              ; @RC5_16_ROUNDS
	.comm	_RC5_12_ROUNDS,4,2              ; @RC5_12_ROUNDS
	.comm	_RC5_8_ROUNDS,4,2               ; @RC5_8_ROUNDS
	.comm	_RC5_32_P,4,2                   ; @RC5_32_P
	.comm	_RC5_32_Q,4,2                   ; @RC5_32_Q
	.comm	_RC5_32_MASK,4,2                ; @RC5_32_MASK
.subsections_via_symbols
