	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_rmw_crb_reg
_qlcnic_83xx_rmw_crb_reg:               ## @qlcnic_83xx_rmw_crb_reg
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r14d
	movq	%rdi, %r15
	movl	$0, -28(%rbp)
	movslq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %edx
	jmp	LBB0_3
LBB0_2:
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	callq	_QLCRD32
	movl	%eax, %edx
	movl	-28(%rbp), %eax
	movq	_EIO@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_4
LBB0_3:
	andl	4(%rbx), %edx
	movb	8(%rbx), %cl
	shll	%cl, %edx
	movb	12(%rbx), %cl
	sarl	%cl, %edx
	orl	16(%rbx), %edx
	xorl	20(%rbx), %edx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_qlcnic_83xx_wrt_reg_indirect
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_qlcnic_83xx_rmw_crb_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_rmw_crb_reg
_qlcnic_83xx_rmw_crb_reg:               ; @qlcnic_83xx_rmw_crb_reg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x20, x0
	str	wzr, [sp, #12]
	ldrsw	x8, [x3]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x9, [x20]
	ldr	x9, [x9]
	ldr	w0, [x9, x8, lsl #2]
	b	LBB0_3
LBB0_2:
	add	x2, sp, #12
	mov	x0, x20
	bl	_QLCRD32
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _EIO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmn	w8, w9
	b.eq	LBB0_4
LBB0_3:
	ldp	w8, w9, [x21, #4]
	and	w8, w8, w0
	lsl	w8, w8, w9
	ldp	w9, w10, [x21, #12]
	asr	w8, w8, w9
	orr	w8, w8, w10
	ldr	w9, [x21, #20]
	eor	w2, w8, w9
	mov	x0, x20
	mov	x1, x19
	bl	_qlcnic_83xx_wrt_reg_indirect
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_qlcnic_83xx_rmw_crb_reg
.subsections_via_symbols
