	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypthead
_crypthead:                             ## @crypthead
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_RAND_HEAD_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	-2(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%r14d, %r14d
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	jg	LBB0_10
## %bb.1:
	movl	_crypthead.calls(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _crypthead.calls(%rip)
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	callq	_time
	movq	_ZCR_SEED2@GOTPCREL(%rip), %rcx
	xorl	(%rcx), %eax
	movl	%eax, %edi
	callq	_srand
LBB0_3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_init_keys
	movq	_RAND_HEAD_LEN@GOTPCREL(%rip), %r14
	cmpl	$3, (%r14)
	jl	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rand
	shrl	$7, %eax
	movzbl	%al, %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_zencode
	movb	%al, (%r15,%rbx)
	incq	%rbx
	movslq	(%r14), %rax
	addq	$-2, %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_init_keys
	movq	%r14, %rax
	xorl	%r14d, %r14d
	cmpl	$3, (%rax)
	jl	LBB0_9
## %bb.7:
	xorl	%r14d, %r14d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15,%r14), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_zencode
	movb	%al, (%rbx,%r14)
	incq	%r14
	movq	_RAND_HEAD_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$-2, %rax
	cmpq	%rax, %r14
	jl	LBB0_8
LBB0_9:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %eax
	shrl	$16, %eax
	movzbl	%al, %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_zencode
	movl	%r14d, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movb	%al, (%rbx,%rcx)
	shrl	$24, %r15d
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_zencode
	addl	$2, %r14d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, 1(%rbx,%rcx)
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RAND_HEAD_LEN,4,2              ## @RAND_HEAD_LEN
.zerofill __DATA,__bss,_crypthead.calls,4,2 ## @crypthead.calls
	.comm	_ZCR_SEED2,4,2                  ## @ZCR_SEED2
	.no_dead_strip	_crypthead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypthead
_crypthead:                             ; @crypthead
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x21, x5
	mov	x19, x4
	mov	x20, x3
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _RAND_HEAD_LEN@GOTPAGE
Lloh4:
	ldr	x24, [x24, _RAND_HEAD_LEN@GOTPAGEOFF]
	ldr	w12, [x24]
	sub	w8, w12, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x25, x9, x8
	mov	sp, x25
	cmp	w12, w2
	b.le	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	adrp	x8, _crypthead.calls@PAGE
	ldr	w9, [x8, _crypthead.calls@PAGEOFF]
	add	w10, w9, #1
	str	w10, [x8, _crypthead.calls@PAGEOFF]
	cbnz	w9, LBB0_4
; %bb.3:
	mov	x0, #0
	bl	_time
Lloh7:
	adrp	x8, _ZCR_SEED2@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZCR_SEED2@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	eor	w0, w8, w0
	bl	_srand
LBB0_4:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	bl	_init_keys
	ldr	w8, [x24]
	cmp	w8, #3
	b.lt	LBB0_7
; %bb.5:
	mov	x26, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	bl	_rand
	ubfx	w2, w0, #7, #8
	mov	x0, x20
	mov	x1, x19
	bl	_zencode
	strb	w0, [x25, x26]
	add	x26, x26, #1
	ldrsw	x8, [x24]
	sub	x8, x8, #2
	cmp	x26, x8
	b.lt	LBB0_6
LBB0_7:
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	bl	_init_keys
	ldr	w8, [x24]
	cmp	w8, #3
	b.lt	LBB0_10
; %bb.8:
	mov	x23, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w2, [x25, x23]
	mov	x0, x20
	mov	x1, x19
	bl	_zencode
	strb	w0, [x22, x23]
	add	x23, x23, #1
	ldrsw	x8, [x24]
	sub	x8, x8, #2
	cmp	x23, x8
	b.lt	LBB0_9
	b	LBB0_11
LBB0_10:
	mov	w23, #0
LBB0_11:
	ubfx	w2, w21, #16, #8
	mov	x0, x20
	mov	x1, x19
	bl	_zencode
	add	x22, x22, w23, uxtw
	strb	w0, [x22]
	ubfx	x2, x21, #24, #8
	mov	x0, x20
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_zencode
	mov	x8, x0
	add	w0, w23, #2
	strb	w8, [x22, #1]
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RAND_HEAD_LEN,4,2              ; @RAND_HEAD_LEN
.zerofill __DATA,__bss,_crypthead.calls,4,2 ; @crypthead.calls
	.comm	_ZCR_SEED2,4,2                  ; @ZCR_SEED2
	.no_dead_strip	_crypthead
.subsections_via_symbols
