	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_pf_update_tunn_cfg      ## -- Begin function qed_sp_pf_update_tunn_cfg
	.p2align	4, 0x90
_qed_sp_pf_update_tunn_cfg:             ## @qed_sp_pf_update_tunn_cfg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	(%rdi), %rdi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_vf_pf_tunnel_param_update  ## TAILCALL
LBB0_1:
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_qed_spq_get_cid
	movl	%eax, -52(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -56(%rbp)
	movl	%r13d, -72(%rbp)
	movq	%r12, -64(%rbp)
	movq	_COMMON_RAMROD_PF_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PROTOCOLID_COMMON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	leaq	-72(%rbp), %r8
	callq	_qed_sp_init_request
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_qed_tunn_set_pf_update_params
	movq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_qed_spq_post
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qed_set_hw_tunn_mode_port
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_COMMON_RAMROD_PF_UPDATE,4,2    ## @COMMON_RAMROD_PF_UPDATE
	.comm	_PROTOCOLID_COMMON,4,2          ## @PROTOCOLID_COMMON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_sp_pf_update_tunn_cfg      ; -- Begin function qed_sp_pf_update_tunn_cfg
	.p2align	2
_qed_sp_pf_update_tunn_cfg:             ; @qed_sp_pf_update_tunn_cfg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp, #24]
	ldr	x0, [x0]
	bl	_IS_VF
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_qed_vf_pf_tunnel_param_update
LBB0_2:
	cbz	x21, LBB0_6
; %bb.3:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x0, x20
	bl	_qed_spq_get_cid
	ldr	w8, [x20, #8]
	stp	w8, w0, [sp, #16]
	str	w23, [sp]
	str	x22, [sp, #8]
Lloh0:
	adrp	x8, _COMMON_RAMROD_PF_UPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMMON_RAMROD_PF_UPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _PROTOCOLID_COMMON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PROTOCOLID_COMMON@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #24
	mov	x4, sp
	mov	x0, x20
	bl	_qed_sp_init_request
	cbnz	w0, LBB0_7
; %bb.4:
	ldr	x2, [sp, #24]
	mov	x0, x20
	mov	x1, x21
	bl	_qed_tunn_set_pf_update_params
	ldr	x1, [sp, #24]
	mov	x0, x20
	mov	x2, #0
	bl	_qed_spq_post
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	x2, [x20]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_set_hw_tunn_mode_port
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_COMMON_RAMROD_PF_UPDATE,4,2    ; @COMMON_RAMROD_PF_UPDATE
	.comm	_PROTOCOLID_COMMON,4,2          ; @PROTOCOLID_COMMON
.subsections_via_symbols
