	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_disable_rcfw_channel ## -- Begin function bnxt_qplib_disable_rcfw_channel
	.p2align	4, 0x90
_bnxt_qplib_disable_rcfw_channel:       ## @bnxt_qplib_disable_rcfw_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	$1, %esi
	callq	_bnxt_qplib_rcfw_stop_irq
	movq	32(%rbx), %rdi
	callq	_iounmap
	movq	24(%rbx), %rdi
	callq	_iounmap
	movl	40(%rbx), %edi
	movq	(%rbx), %rsi
	callq	_find_first_bit
	cmpq	(%rbx), %rax
	je	LBB0_2
## %bb.1:
	movq	48(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_dev_err
LBB0_2:
	movl	40(%rbx), %edi
	callq	_kfree
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disabling RCFW with pending cmd-bit %lx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_disable_rcfw_channel ; -- Begin function bnxt_qplib_disable_rcfw_channel
	.p2align	2
_bnxt_qplib_disable_rcfw_channel:       ; @bnxt_qplib_disable_rcfw_channel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #1
	bl	_bnxt_qplib_rcfw_stop_irq
	ldr	x0, [x19, #32]
	bl	_iounmap
	ldr	x0, [x19, #24]
	bl	_iounmap
	ldr	w0, [x19, #40]
	ldr	x1, [x19]
	bl	_find_first_bit
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	x0, [x19, #48]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_2:
	ldr	w0, [x19, #40]
	bl	_kfree
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19]
	str	xzr, [x19, #32]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disabling RCFW with pending cmd-bit %lx\n"

.subsections_via_symbols
