	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function socfpga_a10_fpga_encrypted
_socfpga_a10_fpga_encrypted:            ## @socfpga_a10_fpga_encrypted
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RBF_ENCRYPTION_MODE_OFFSET@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	leaq	1(%rcx), %rax
	cmpq	%rsi, %rax
	jbe	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	testb	$12, (%rdi,%rcx,4)
	setne	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RBF_ENCRYPTION_MODE_OFFSET,4,2 ## @RBF_ENCRYPTION_MODE_OFFSET
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_socfpga_a10_fpga_encrypted
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function socfpga_a10_fpga_encrypted
_socfpga_a10_fpga_encrypted:            ; @socfpga_a10_fpga_encrypted
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RBF_ENCRYPTION_MODE_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RBF_ENCRYPTION_MODE_OFFSET@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x9, x8, #1
	cmp	x9, x1
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	ldr	w8, [x0, x8, lsl #2]
	tst	w8, #0xc
	cset	w0, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RBF_ENCRYPTION_MODE_OFFSET,4,2 ; @RBF_ENCRYPTION_MODE_OFFSET
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_socfpga_a10_fpga_encrypted
.subsections_via_symbols
