	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_arc4_crypt             ## -- Begin function mbedtls_arc4_crypt
	.p2align	4, 0x90
_mbedtls_arc4_crypt:                    ## @mbedtls_arc4_crypt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdi), %eax
	movl	4(%rdi), %r8d
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	8(%rdi), %r9
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%eax
	movzbl	%al, %eax
	movzbl	(%r9,%rax), %r11d
	addl	%r11d, %r8d
	movzbl	%r8b, %r8d
	movzbl	(%r9,%r8), %ebx
	movb	%bl, (%r9,%rax)
	movb	%r11b, (%r9,%r8)
	addb	%r11b, %bl
	movzbl	%bl, %ebx
	movzbl	(%r9,%rbx), %ebx
	xorb	(%rdx,%r10), %bl
	movb	%bl, (%rcx,%r10)
	incq	%r10
	cmpq	%r10, %rsi
	jne	LBB0_2
LBB0_3:
	movl	%eax, (%rdi)
	movl	%r8d, 4(%rdi)
	xorl	%eax, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_arc4_crypt             ; -- Begin function mbedtls_arc4_crypt
	.p2align	2
_mbedtls_arc4_crypt:                    ; @mbedtls_arc4_crypt
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	x10, [x0, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w8, #1
	and	x8, x8, #0xff
	ldrb	w11, [x10, x8]
	add	w9, w9, w11
	and	x9, x9, #0xff
	ldrb	w12, [x10, x9]
	strb	w12, [x10, x8]
	strb	w11, [x10, x9]
	ldrb	w13, [x2], #1
	add	w11, w12, w11
	and	x11, x11, #0xff
	ldrb	w11, [x10, x11]
	eor	w11, w11, w13
	strb	w11, [x3], #1
	subs	x1, x1, #1
	b.ne	LBB0_2
LBB0_3:
	stp	w8, w9, [x0]
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
