	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_cxt_set_pf_params          ## -- Begin function qed_cxt_set_pf_params
	.p2align	4, 0x90
_qed_cxt_set_pf_params:                 ## @qed_cxt_set_pf_params
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	xorl	%eax, %eax
	cmpq	$0, 56(%rdi)
	setne	%al
	leal	1(,%rax,4), %edx
	movq	_PROTOCOLID_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	callq	_qed_cxt_set_proto_cid_count
	movl	48(%rbx), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	leaq	32(%rbx), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_qed_rdma_set_pf_params
LBB0_3:
	movl	28(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.4:
	movq	_ETH_PF_PARAMS_VF_CONS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, 28(%rbx)
LBB0_5:
	movq	_PROTOCOLID_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%rbx), %edx
	movq	%rbx, %rdi
	callq	_qed_cxt_set_proto_cid_count
	movl	24(%rbx), %eax
	movq	40(%rbx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_17
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_18
LBB0_7:
	movl	4(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_14
## %bb.8:
	cmpl	$0, 8(%rbx)
	je	LBB0_14
## %bb.9:
	movq	_PROTOCOLID_ISCSI@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_qed_cxt_set_proto_cid_count
	movl	(%r15), %esi
	movq	_QED_CXT_ISCSI_TID_SEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%rbx), %r8d
	jmp	LBB0_13
LBB0_10:
	movl	12(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_15
## %bb.11:
	cmpl	$0, 16(%rbx)
	je	LBB0_15
## %bb.12:
	movq	_PROTOCOLID_FCOE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_qed_cxt_set_proto_cid_count
	movl	(%r15), %esi
	movq	_QED_CXT_FCOE_TID_SEG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %r8d
LBB0_13:
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movl	$1, %r9d
	callq	_qed_cxt_set_proto_tid_count
	jmp	LBB0_18
LBB0_14:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_16
LBB0_15:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
LBB0_16:
	callq	_DP_INFO
LBB0_17:
	xorl	%r14d, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_PROTOCOLID_CORE,4,2            ## @PROTOCOLID_CORE
	.comm	_ETH_PF_PARAMS_VF_CONS_DEFAULT,4,2 ## @ETH_PF_PARAMS_VF_CONS_DEFAULT
	.comm	_PROTOCOLID_ETH,4,2             ## @PROTOCOLID_ETH
	.comm	_PROTOCOLID_FCOE,4,2            ## @PROTOCOLID_FCOE
	.comm	_QED_CXT_FCOE_TID_SEG,4,2       ## @QED_CXT_FCOE_TID_SEG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fcoe personality used without setting params!\n"

	.comm	_PROTOCOLID_ISCSI,4,2           ## @PROTOCOLID_ISCSI
	.comm	_QED_CXT_ISCSI_TID_SEG,4,2      ## @QED_CXT_ISCSI_TID_SEG
L_.str.1:                               ## @.str.1
	.asciz	"Iscsi personality used without setting params!\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_cxt_set_pf_params          ; -- Begin function qed_cxt_set_pf_params
	.p2align	2
_qed_cxt_set_pf_params:                 ; @qed_cxt_set_pf_params
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #56]
	cmp	x8, #0
	mov	w8, #5
	csinc	w2, w8, wzr, ne
Lloh0:
	adrp	x8, _PROTOCOLID_CORE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROTOCOLID_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w3, #0
	bl	_qed_cxt_set_proto_cid_count
	ldr	w8, [x19, #48]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x1, x19, #32
	mov	x0, x19
	mov	x2, x20
	bl	_qed_rdma_set_pf_params
LBB0_3:
	ldr	w3, [x19, #28]
	cbnz	w3, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _ETH_PF_PARAMS_VF_CONS_DEFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ETH_PF_PARAMS_VF_CONS_DEFAULT@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	str	w3, [x19, #28]
LBB0_5:
Lloh8:
	adrp	x8, _PROTOCOLID_ETH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PROTOCOLID_ETH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x19, #20]
	mov	x0, x19
	bl	_qed_cxt_set_proto_cid_count
	mov	w0, #0
	ldr	w8, [x19, #24]
	ldr	x9, [x19, #40]
	str	w8, [x9]
	b	LBB0_18
LBB0_6:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_18
LBB0_7:
	ldr	w2, [x19, #4]
	cbz	w2, LBB0_14
; %bb.8:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_14
; %bb.9:
Lloh14:
	adrp	x20, _PROTOCOLID_ISCSI@GOTPAGE
Lloh15:
	ldr	x20, [x20, _PROTOCOLID_ISCSI@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_qed_cxt_set_proto_cid_count
	ldr	w1, [x20]
Lloh16:
	adrp	x8, _QED_CXT_ISCSI_TID_SEG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _QED_CXT_ISCSI_TID_SEG@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	ldr	w4, [x19, #8]
	b	LBB0_13
LBB0_10:
	ldr	w2, [x19, #12]
	cbz	w2, LBB0_15
; %bb.11:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_15
; %bb.12:
Lloh19:
	adrp	x20, _PROTOCOLID_FCOE@GOTPAGE
Lloh20:
	ldr	x20, [x20, _PROTOCOLID_FCOE@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w3, #0
	bl	_qed_cxt_set_proto_cid_count
	ldr	w1, [x20]
Lloh21:
	adrp	x8, _QED_CXT_FCOE_TID_SEG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _QED_CXT_FCOE_TID_SEG@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	ldr	w4, [x19, #16]
LBB0_13:
	mov	x0, x19
	mov	w3, #0
	mov	w5, #1
	bl	_qed_cxt_set_proto_tid_count
	b	LBB0_17
LBB0_14:
	ldr	w0, [x19]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:
	ldr	w0, [x19]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
LBB0_16:
	bl	_DP_INFO
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_PROTOCOLID_CORE,4,2            ; @PROTOCOLID_CORE
	.comm	_ETH_PF_PARAMS_VF_CONS_DEFAULT,4,2 ; @ETH_PF_PARAMS_VF_CONS_DEFAULT
	.comm	_PROTOCOLID_ETH,4,2             ; @PROTOCOLID_ETH
	.comm	_PROTOCOLID_FCOE,4,2            ; @PROTOCOLID_FCOE
	.comm	_QED_CXT_FCOE_TID_SEG,4,2       ; @QED_CXT_FCOE_TID_SEG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fcoe personality used without setting params!\n"

	.comm	_PROTOCOLID_ISCSI,4,2           ; @PROTOCOLID_ISCSI
	.comm	_QED_CXT_ISCSI_TID_SEG,4,2      ; @QED_CXT_ISCSI_TID_SEG
l_.str.1:                               ; @.str.1
	.asciz	"Iscsi personality used without setting params!\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
