	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __unload_reps_special_vport
___unload_reps_special_vport:           ## @__unload_reps_special_vport
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_mlx5_ecpf_vport_exists
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MLX5_VPORT_ECPF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlx5_eswitch_get_rep
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	___esw_offloads_unload_rep
LBB0_2:
	movl	(%rbx), %edi
	callq	_mlx5_core_is_ecpf_esw_manager
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_MLX5_VPORT_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlx5_eswitch_get_rep
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	___esw_offloads_unload_rep
LBB0_4:
	movq	_MLX5_VPORT_UPLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mlx5_eswitch_get_rep
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	___esw_offloads_unload_rep      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_VPORT_ECPF,4,2            ## @MLX5_VPORT_ECPF
	.comm	_MLX5_VPORT_PF,4,2              ## @MLX5_VPORT_PF
	.comm	_MLX5_VPORT_UPLINK,4,2          ## @MLX5_VPORT_UPLINK
	.no_dead_strip	___unload_reps_special_vport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __unload_reps_special_vport
___unload_reps_special_vport:           ; @__unload_reps_special_vport
	.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, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_mlx5_ecpf_vport_exists
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MLX5_VPORT_ECPF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_VPORT_ECPF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	___esw_offloads_unload_rep
LBB0_2:
	ldr	w0, [x20]
	bl	_mlx5_core_is_ecpf_esw_manager
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _MLX5_VPORT_PF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_VPORT_PF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	___esw_offloads_unload_rep
LBB0_4:
Lloh6:
	adrp	x8, _MLX5_VPORT_UPLINK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5_VPORT_UPLINK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_mlx5_eswitch_get_rep
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___esw_offloads_unload_rep
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_VPORT_ECPF,4,2            ; @MLX5_VPORT_ECPF
	.comm	_MLX5_VPORT_PF,4,2              ; @MLX5_VPORT_PF
	.comm	_MLX5_VPORT_UPLINK,4,2          ; @MLX5_VPORT_UPLINK
	.no_dead_strip	___unload_reps_special_vport
.subsections_via_symbols
