	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function random_mix_pool
_random_mix_pool:                       ## @random_mix_pool
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_MSG_EXCESSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_wpa_hexdump_key
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_input_rotate@GOTPCREL(%rip), %r12
	movq	_pool_pos@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %edi
	movl	(%r12), %esi
	andl	$31, %esi
	callq	___ROL32
                                        ## kill: def $eax killed $eax def $rax
	movl	(%r13), %edx
	subl	$1, %edx
	movl	$7, %ecx
	movl	$14, %esi
	cmovbl	%esi, %ecx
	addl	%ecx, (%r12)
	movq	_POOL_WORDS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%esi, %edx
	movl	%edx, (%r13)
	movq	_pool@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edx, %rdx
	xorl	(%rcx,%rdx,4), %eax
	movq	_POOL_TAP1@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	addl	%edx, %edi
	andl	%esi, %edi
	movslq	%edi, %rdi
	xorl	(%rcx,%rdi,4), %eax
	movq	_POOL_TAP2@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	addl	%edx, %edi
	andl	%esi, %edi
	movslq	%edi, %rdi
	xorl	(%rcx,%rdi,4), %eax
	movq	_POOL_TAP3@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	addl	%edx, %edi
	andl	%esi, %edi
	movslq	%edi, %rdi
	xorl	(%rcx,%rdi,4), %eax
	movq	_POOL_TAP4@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	addl	%edx, %edi
	andl	%esi, %edi
	movslq	%edi, %rdi
	xorl	(%rcx,%rdi,4), %eax
	movq	_POOL_TAP5@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	addl	%edx, %edi
	andl	%esi, %edi
	movslq	%edi, %rsi
	xorl	(%rcx,%rsi,4), %eax
	movl	%eax, %esi
	sarl	$3, %esi
	andl	$7, %eax
	leaq	_random_mix_pool.twist(%rip), %rdi
	xorl	(%rdi,%rax,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @random_mix_pool.twist
_random_mix_pool.twist:
	.long	0                               ## 0x0
	.long	997073096                       ## 0x3b6e20c8
	.long	1994146192                      ## 0x76dc4190
	.long	1303535960                      ## 0x4db26158
	.long	3988292384                      ## 0xedb88320
	.long	3604390888                      ## 0xd6d6a3e8
	.long	2607071920                      ## 0x9b64c2b0
	.long	2685067896                      ## 0xa00ae278

	.comm	_MSG_EXCESSIVE,4,2              ## @MSG_EXCESSIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"random_mix_pool"

	.comm	_input_rotate,4,2               ## @input_rotate
	.comm	_pool_pos,4,2                   ## @pool_pos
	.comm	_POOL_WORDS_MASK,4,2            ## @POOL_WORDS_MASK
	.comm	_pool,8,3                       ## @pool
	.comm	_POOL_TAP1,4,2                  ## @POOL_TAP1
	.comm	_POOL_TAP2,4,2                  ## @POOL_TAP2
	.comm	_POOL_TAP3,4,2                  ## @POOL_TAP3
	.comm	_POOL_TAP4,4,2                  ## @POOL_TAP4
	.comm	_POOL_TAP5,4,2                  ## @POOL_TAP5
	.no_dead_strip	_random_mix_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function random_mix_pool
_random_mix_pool:                       ; @random_mix_pool
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MSG_EXCESSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_EXCESSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	mov	x3, x19
	bl	_wpa_hexdump_key
	cbz	x19, LBB0_3
; %bb.1:
Lloh5:
	adrp	x21, _input_rotate@GOTPAGE
Lloh6:
	ldr	x21, [x21, _input_rotate@GOTPAGEOFF]
Lloh7:
	adrp	x22, _pool_pos@GOTPAGE
Lloh8:
	ldr	x22, [x22, _pool_pos@GOTPAGEOFF]
Lloh9:
	adrp	x27, _POOL_TAP1@GOTPAGE
Lloh10:
	ldr	x27, [x27, _POOL_TAP1@GOTPAGEOFF]
Lloh11:
	adrp	x28, _POOL_TAP2@GOTPAGE
Lloh12:
	ldr	x28, [x28, _POOL_TAP2@GOTPAGEOFF]
Lloh13:
	adrp	x23, _POOL_TAP3@GOTPAGE
Lloh14:
	ldr	x23, [x23, _POOL_TAP3@GOTPAGEOFF]
Lloh15:
	adrp	x24, _POOL_TAP4@GOTPAGE
Lloh16:
	ldr	x24, [x24, _POOL_TAP4@GOTPAGEOFF]
Lloh17:
	adrp	x25, _random_mix_pool.twist@PAGE
Lloh18:
	add	x25, x25, _random_mix_pool.twist@PAGEOFF
Lloh19:
	adrp	x26, _POOL_TAP5@GOTPAGE
Lloh20:
	ldr	x26, [x26, _POOL_TAP5@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x19, x19, #1
	ldr	w0, [x20], #4
	ldr	w8, [x21]
	and	w1, w8, #0x1f
	bl	___ROL32
	ldr	w8, [x22]
	cmp	w8, #0
	mov	w9, #7
	mov	w10, #14
	csel	w9, w10, w9, eq
	ldr	w10, [x21]
	add	w9, w9, w10
	str	w9, [x21]
	sub	w8, w8, #1
Lloh21:
	adrp	x9, _POOL_WORDS_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _POOL_WORDS_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x22]
Lloh24:
	adrp	x10, _pool@GOTPAGE
Lloh25:
	ldr	x10, [x10, _pool@GOTPAGEOFF]
Lloh26:
	ldr	x10, [x10]
	sbfiz	x11, x8, #2, #32
	ldr	w12, [x10, x11]
	eor	w12, w12, w0
	ldr	w13, [x27]
	add	w13, w13, w8
	and	w13, w13, w9
	ldr	w13, [x10, w13, sxtw #2]
	eor	w12, w12, w13
	ldr	w13, [x28]
	add	w13, w13, w8
	and	w13, w13, w9
	ldr	w13, [x10, w13, sxtw #2]
	eor	w12, w12, w13
	ldr	w13, [x23]
	add	w13, w13, w8
	and	w13, w13, w9
	ldr	w13, [x10, w13, sxtw #2]
	eor	w12, w12, w13
	ldr	w13, [x24]
	add	w13, w13, w8
	and	w13, w13, w9
	ldr	w13, [x10, w13, sxtw #2]
	eor	w12, w12, w13
	ldr	w13, [x26]
	add	w8, w13, w8
	and	w8, w8, w9
	ldr	w8, [x10, w8, sxtw #2]
	eor	w8, w12, w8
	and	w9, w8, #0x7
	ldr	w9, [x25, w9, uxtw #2]
	eor	w8, w9, w8, asr #3
	str	w8, [x10, x11]
	cbnz	x19, LBB0_2
LBB0_3:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @random_mix_pool.twist
_random_mix_pool.twist:
	.long	0                               ; 0x0
	.long	997073096                       ; 0x3b6e20c8
	.long	1994146192                      ; 0x76dc4190
	.long	1303535960                      ; 0x4db26158
	.long	3988292384                      ; 0xedb88320
	.long	3604390888                      ; 0xd6d6a3e8
	.long	2607071920                      ; 0x9b64c2b0
	.long	2685067896                      ; 0xa00ae278

	.comm	_MSG_EXCESSIVE,4,2              ; @MSG_EXCESSIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"random_mix_pool"

	.comm	_input_rotate,4,2               ; @input_rotate
	.comm	_pool_pos,4,2                   ; @pool_pos
	.comm	_POOL_WORDS_MASK,4,2            ; @POOL_WORDS_MASK
	.comm	_pool,8,3                       ; @pool
	.comm	_POOL_TAP1,4,2                  ; @POOL_TAP1
	.comm	_POOL_TAP2,4,2                  ; @POOL_TAP2
	.comm	_POOL_TAP3,4,2                  ; @POOL_TAP3
	.comm	_POOL_TAP4,4,2                  ; @POOL_TAP4
	.comm	_POOL_TAP5,4,2                  ; @POOL_TAP5
	.no_dead_strip	_random_mix_pool
.subsections_via_symbols
