	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_ulp_probe                 ## -- Begin function bnxt_ulp_probe
	.p2align	4, 0x90
_bnxt_ulp_probe:                        ## @bnxt_ulp_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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	_bnxt_en_ops_tbl@GOTPCREL(%rip), %rcx
	movq	%rcx, 24(%rax)
	movl	(%rbx), %ecx
	movq	_BNXT_FLAG_ROCEV1_CAP@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	movq	_BNXT_EN_FLAG_ROCEV1_CAP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, 16(%rax)
LBB0_4:
	movq	_BNXT_FLAG_ROCEV2_CAP@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
## %bb.5:
	movq	_BNXT_EN_FLAG_ROCEV2_CAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 16(%rax)
LBB0_6:
	movq	%r14, 8(%rax)
	movl	16(%rbx), %ecx
	movl	%ecx, (%rax)
	movq	%rax, 8(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bnxt_en_ops_tbl,4,2            ## @bnxt_en_ops_tbl
	.comm	_BNXT_FLAG_ROCEV1_CAP,4,2       ## @BNXT_FLAG_ROCEV1_CAP
	.comm	_BNXT_EN_FLAG_ROCEV1_CAP,4,2    ## @BNXT_EN_FLAG_ROCEV1_CAP
	.comm	_BNXT_FLAG_ROCEV2_CAP,4,2       ## @BNXT_FLAG_ROCEV2_CAP
	.comm	_BNXT_EN_FLAG_ROCEV2_CAP,4,2    ## @BNXT_EN_FLAG_ROCEV2_CAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_ulp_probe                 ; -- Begin function bnxt_ulp_probe
	.p2align	2
_bnxt_ulp_probe:                        ; @bnxt_ulp_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
	mov	x20, x0
	ldr	x0, [x0, #8]
	cbnz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _bnxt_en_ops_tbl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bnxt_en_ops_tbl@GOTPAGEOFF]
	str	x8, [x0, #24]
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _BNXT_FLAG_ROCEV1_CAP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BNXT_FLAG_ROCEV1_CAP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x9, _BNXT_EN_FLAG_ROCEV1_CAP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BNXT_EN_FLAG_ROCEV1_CAP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	ldr	w10, [x0, #16]
	orr	w9, w10, w9
	str	w9, [x0, #16]
LBB0_4:
Lloh11:
	adrp	x9, _BNXT_FLAG_ROCEV2_CAP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BNXT_FLAG_ROCEV2_CAP@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh14:
	adrp	x8, _BNXT_EN_FLAG_ROCEV2_CAP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNXT_EN_FLAG_ROCEV2_CAP@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x0, #16]
	orr	w8, w9, w8
	str	w8, [x0, #16]
LBB0_6:
	str	x19, [x0, #8]
	ldr	w8, [x20, #16]
	str	w8, [x0]
	str	x0, [x20, #8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bnxt_en_ops_tbl,4,2            ; @bnxt_en_ops_tbl
	.comm	_BNXT_FLAG_ROCEV1_CAP,4,2       ; @BNXT_FLAG_ROCEV1_CAP
	.comm	_BNXT_EN_FLAG_ROCEV1_CAP,4,2    ; @BNXT_EN_FLAG_ROCEV1_CAP
	.comm	_BNXT_FLAG_ROCEV2_CAP,4,2       ; @BNXT_FLAG_ROCEV2_CAP
	.comm	_BNXT_EN_FLAG_ROCEV2_CAP,4,2    ; @BNXT_EN_FLAG_ROCEV2_CAP
.subsections_via_symbols
