	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunxi_nfc_randomizer_step
_sunxi_nfc_randomizer_step:             ## @sunxi_nfc_randomizer_step
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edi, %eax
	andl	$32767, %eax                    ## imm = 0x7FFF
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	leal	-1(%rsi), %r8d
	movl	%esi, %r9d
	andl	$3, %r9d
	je	LBB0_5
## %bb.2:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	shrl	%edx
	xorl	%edx, %edi
	andl	$1, %edi
	shll	$14, %edi
	movl	%edi, %eax
	orl	%edx, %eax
	incl	%ecx
	movl	%eax, %edi
	cmpl	%ecx, %r9d
	jne	LBB0_3
## %bb.4:
	subl	%ecx, %esi
	movl	%eax, %edi
LBB0_5:
	cmpl	$3, %r8d
	jb	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	shrl	%eax
	xorl	%eax, %edi
	andl	$1, %edi
	shll	$14, %edi
	orl	%eax, %edi
	shrl	%edi
	xorl	%edi, %eax
	andl	$1, %eax
	shll	$14, %eax
	orl	%edi, %eax
	shrl	%eax
	xorl	%eax, %edi
	andl	$1, %edi
	shll	$14, %edi
	orl	%eax, %edi
	shrl	%edi
	xorl	%edi, %eax
	andl	$1, %eax
	shll	$14, %eax
	orl	%edi, %eax
	movl	%eax, %edi
	addl	$-4, %esi
	jne	LBB0_6
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sunxi_nfc_randomizer_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunxi_nfc_randomizer_step
_sunxi_nfc_randomizer_step:             ; @sunxi_nfc_randomizer_step
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	and	w0, w0, #0x7fff
	cbz	w1, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w9, w0, #1
	eor	w8, w9, w8
	ubfiz	w8, w8, #14, #1
	orr	w0, w8, w9
	mov	x8, x0
	subs	w1, w1, #1
	b.ne	LBB0_1
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sunxi_nfc_randomizer_step
.subsections_via_symbols
