	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_michael_mic                    ## -- Begin function michael_mic
	.p2align	4, 0x90
_michael_mic:                           ## @michael_mic
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdx
	movq	%rdi, %rsi
	leaq	-56(%rbp), %rdi
	callq	_michael_mic_hdr
	movl	%r15d, %r12d
	andl	$3, %r12d
	cmpq	$4, %r15
	jb	LBB0_3
## %bb.1:
	movq	%r15, %r14
	shrq	$2, %r14
	leaq	-56(%rbp), %r13
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_get_unaligned_le32
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_michael_block
	addq	$16, %rbx
	decq	%r14
	jne	LBB0_2
LBB0_3:
	testq	%r12, %r12
	je	LBB0_4
## %bb.5:
	andq	$-4, %r15
	leaq	-1(%r12), %rax
	leaq	(%r12,%r15), %rcx
	decq	%rcx
	movl	$23040, %esi                    ## imm = 0x5A00
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	orl	(%rdx,%rcx,4), %esi
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	shll	$8, %esi
	leaq	-2(%r12), %rax
	leaq	(%r12,%r15), %rcx
	addq	$-2, %rcx
	orl	(%rdx,%rcx,4), %esi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	shll	$8, %esi
	addq	%r15, %r12
	orl	-12(%rdx,%r12,4), %esi
	jmp	LBB0_8
LBB0_4:
	movl	$90, %esi
LBB0_8:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	callq	_michael_block
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_michael_block
	movl	-52(%rbp), %edi
	movq	%rbx, %rsi
	callq	_put_unaligned_le32
	movl	-56(%rbp), %edi
	addq	$16, %rbx
	movq	%rbx, %rsi
	callq	_put_unaligned_le32
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_michael_mic                    ; -- Begin function michael_mic
	.p2align	2
_michael_mic:                           ; @michael_mic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x20, x2
	mov	x2, x1
	mov	x1, x0
	add	x0, sp, #8
	bl	_michael_mic_hdr
	and	x23, x21, #0x3
	cmp	x21, #4
	b.lo	LBB0_3
; %bb.1:
	lsr	x24, x21, #2
	mov	x22, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_get_unaligned_le32
	mov	x1, x0
	add	x0, sp, #8
	bl	_michael_block
	add	x22, x22, #16
	subs	x24, x24, #1
	b.ne	LBB0_2
LBB0_3:
	cbz	x23, LBB0_7
; %bb.4:
	and	x8, x21, #0xfffffffffffffffc
	subs	x9, x23, #1
	add	x9, x9, x8
	ldr	w9, [x20, x9, lsl #2]
	mov	w10, #23040
	orr	w1, w9, w10
	b.eq	LBB0_8
; %bb.5:
	subs	x9, x23, #2
	add	x9, x9, x8
	ldr	w9, [x20, x9, lsl #2]
	orr	w1, w9, w1, lsl #8
	b.eq	LBB0_8
; %bb.6:
	add	x8, x23, x8
	add	x8, x20, x8, lsl #2
	ldur	w8, [x8, #-12]
	orr	w1, w8, w1, lsl #8
	b	LBB0_8
LBB0_7:
	mov	w1, #90
LBB0_8:
	add	x0, sp, #8
	bl	_michael_block
	add	x0, sp, #8
	mov	w1, #0
	bl	_michael_block
	ldr	w0, [sp, #12]
	mov	x1, x19
	bl	_put_unaligned_le32
	ldr	w0, [sp, #8]
	add	x1, x19, #16
	bl	_put_unaligned_le32
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
