	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_re_dev_probe
_bnxt_re_dev_probe:                     ## @bnxt_re_dev_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rcx
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	movq	_BNXT_EN_FLAG_ROCE_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_9
## %bb.5:
	movq	(%rdi), %rax
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_dev_hold
	jmp	LBB0_2
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_9:
	addq	$8, %rdi
	movq	_ROCE_DRV_MODULE_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BNXT_EN_FLAG_ROCE_CAP,4,2      ## @BNXT_EN_FLAG_ROCE_CAP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: probe error: RoCE is not supported on this device"

	.comm	_ROCE_DRV_MODULE_NAME,4,2       ## @ROCE_DRV_MODULE_NAME
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_bnxt_re_dev_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_re_dev_probe
_bnxt_re_dev_probe:                     ; @bnxt_re_dev_probe
	.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
	bl	_netdev_priv
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.1:
	mov	x0, x19
	blr	x8
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	w9, [x20]
Lloh0:
	adrp	x10, _BNXT_EN_FLAG_ROCE_CAP@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BNXT_EN_FLAG_ROCE_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.5:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	bl	_dev_hold
	b	LBB0_2
LBB0_7:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_9:
	add	x0, x8, #8
Lloh5:
	adrp	x8, _ROCE_DRV_MODULE_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ROCE_DRV_MODULE_NAME@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
LBB0_10:
Lloh10:
	adrp	x8, _ENODEV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BNXT_EN_FLAG_ROCE_CAP,4,2      ; @BNXT_EN_FLAG_ROCE_CAP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: probe error: RoCE is not supported on this device"

	.comm	_ROCE_DRV_MODULE_NAME,4,2       ; @ROCE_DRV_MODULE_NAME
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_bnxt_re_dev_probe
.subsections_via_symbols
