	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_sysfs_validate_mem
_qlcnic_sysfs_validate_mem:             ## @qlcnic_sysfs_validate_mem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_QLCNIC_DIAG_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	cmpq	$8, %rdx
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	andl	$7, %esi
	jne	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_DIAG_ENABLED,4,2        ## @QLCNIC_DIAG_ENABLED
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_qlcnic_sysfs_validate_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_sysfs_validate_mem
_qlcnic_sysfs_validate_mem:             ; @qlcnic_sysfs_validate_mem
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _QLCNIC_DIAG_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QLCNIC_DIAG_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	cmp	x2, #8
	b.ne	LBB0_4
; %bb.2:
	and	w8, w1, #0x7
	cbnz	w8, LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_DIAG_ENABLED,4,2        ; @QLCNIC_DIAG_ENABLED
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_qlcnic_sysfs_validate_mem
.subsections_via_symbols
